class FixedStreamArray
Declaration
template <typename T>
class FixedStreamArray { /* full declaration omitted */ };
Description
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.
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:258
Templates
- T
Method Overview
- public FixedStreamArray<T>()
- public FixedStreamArray<T>(llvm::BinaryStreamRef Stream)
- public FixedStreamArray<T>(const FixedStreamArray<T> &)
- public const T & back() const
- public FixedStreamArrayIterator<T> begin() const
- public bool empty() const
- public FixedStreamArrayIterator<T> end() const
- public const T & front() const
- public llvm::BinaryStreamRef getUnderlyingStream() const
- public uint32_t size() const
Methods
¶FixedStreamArray<T>()
FixedStreamArray<T>()
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:264
¶FixedStreamArray<T>(llvm::BinaryStreamRef Stream)
FixedStreamArray<T>(llvm::BinaryStreamRef Stream)
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:265
Parameters
- llvm::BinaryStreamRef Stream
¶FixedStreamArray<T>(const FixedStreamArray<T>&)
FixedStreamArray<T>(const FixedStreamArray<T>&)
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:277
Parameters
- const FixedStreamArray<T>&
¶const T& back() const
const T& back() const
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:307
¶FixedStreamArrayIterator<T> begin() const
FixedStreamArrayIterator<T> begin() const
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:298
¶bool empty() const
bool empty() const
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:296
¶FixedStreamArrayIterator<T> end() const
FixedStreamArrayIterator<T> end() const
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:302
¶const T& front() const
const T& front() const
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:306
¶llvm::BinaryStreamRef getUnderlyingStream() const
llvm::BinaryStreamRef getUnderlyingStream() const
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:312
¶uint32_t size() const
uint32_t size() const
Declared at: llvm/include/llvm/Support/BinaryStreamArray.h:294