LLVM 20.0.0git
Classes | Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
llvm::object::ViewArray< T > Struct Template Reference

#include "llvm/Object/DXContainer.h"

Inheritance diagram for llvm::object::ViewArray< T >:
Inheritance graph
[legend]

Classes

struct  iterator
 

Public Types

using value_type = T
 

Public Member Functions

 ViewArray ()=default
 
 ViewArray (StringRef D, size_t S)
 
iterator begin () const
 
iterator end () const
 
size_t size () const
 
bool isEmpty () const
 

Static Public Member Functions

static constexpr uint32_t MaxStride ()
 

Public Attributes

StringRef Data
 
uint32_t Stride = sizeof(T)
 

Detailed Description

template<typename T>
struct llvm::object::ViewArray< T >

Definition at line 46 of file DXContainer.h.

Member Typedef Documentation

◆ value_type

template<typename T >
using llvm::object::ViewArray< T >::value_type = T

Definition at line 53 of file DXContainer.h.

Constructor & Destructor Documentation

◆ ViewArray() [1/2]

template<typename T >
llvm::object::ViewArray< T >::ViewArray ( )
default

◆ ViewArray() [2/2]

template<typename T >
llvm::object::ViewArray< T >::ViewArray ( StringRef  D,
size_t  S 
)
inline

Definition at line 51 of file DXContainer.h.

Member Function Documentation

◆ begin()

template<typename T >
iterator llvm::object::ViewArray< T >::begin ( ) const
inline

Definition at line 109 of file DXContainer.h.

References llvm::StringRef::begin(), and llvm::object::ViewArray< T >::Data.

◆ end()

template<typename T >
iterator llvm::object::ViewArray< T >::end ( ) const
inline

Definition at line 111 of file DXContainer.h.

References llvm::object::ViewArray< T >::Data, and llvm::StringRef::end().

◆ isEmpty()

template<typename T >
bool llvm::object::ViewArray< T >::isEmpty ( ) const
inline

Definition at line 115 of file DXContainer.h.

References llvm::object::ViewArray< T >::Data, and llvm::StringRef::empty().

◆ MaxStride()

template<typename T >
static constexpr uint32_t llvm::object::ViewArray< T >::MaxStride ( )
inlinestaticconstexpr

Definition at line 54 of file DXContainer.h.

Referenced by llvm::object::ViewArray< T >::iterator::operator*().

◆ size()

template<typename T >
size_t llvm::object::ViewArray< T >::size ( ) const
inline

Member Data Documentation

◆ Data

template<typename T >
StringRef llvm::object::ViewArray< T >::Data

◆ Stride

template<typename T >
uint32_t llvm::object::ViewArray< T >::Stride = sizeof(T)

The documentation for this struct was generated from the following file: