LLVM: llvm::FixedStreamArray< T > Class Template Reference (original) (raw)
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length. More...
#include "[llvm/Support/BinaryStreamArray.h](BinaryStreamArray%5F8h%5Fsource.html)"
Inheritance diagram for llvm::FixedStreamArray< T >:
Public Member Functions | |
---|---|
FixedStreamArray ()=default | |
FixedStreamArray (BinaryStreamRef Stream) | |
bool | operator== (const FixedStreamArray< T > &Other) const |
bool | operator!= (const FixedStreamArray< T > &Other) const |
FixedStreamArray (const FixedStreamArray &)=default | |
FixedStreamArray & | operator= (const FixedStreamArray &)=default |
const T & | operator[] (uint32_t Index) const |
uint32_t | size () const |
bool | empty () const |
FixedStreamArrayIterator< T > | begin () const |
FixedStreamArrayIterator< T > | end () const |
const T & | front () const |
const T & | back () const |
BinaryStreamRef | getUnderlyingStream () const |
Detailed Description
template<typename T>
class llvm::FixedStreamArray< T >
FixedStreamArray is similar to VarStreamArray, except with each record having a fixed-length.
As with VarStreamArray, there is no upfront cost associated with building or copying a FixedStreamArray, as the memory for each element is not read from the backing stream until that element is iterated.
Definition at line 259 of file BinaryStreamArray.h.
Member Typedef Documentation
◆ Iterator
Constructor & Destructor Documentation
◆ FixedStreamArray() [2/3]
◆ FixedStreamArray() [3/3]
Member Function Documentation
◆ back()
◆ begin()
◆ empty()
◆ end()
◆ front()
◆ getUnderlyingStream()
◆ operator!=()
◆ operator=()
◆ operator==()
◆ operator[]()
◆ size()
Friends And Related Function Documentation
◆ FixedStreamArrayIterator< T >
The documentation for this class was generated from the following file:
- include/llvm/Support/BinaryStreamArray.h