Array of fixed‐size records backed by a BinaryStream.
Synopsis
Declared in <llvm/Support/BinaryStreamArray.h>
template<typename T>
class FixedStreamArray;
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.
Type Aliases
Name |
Description |
Iterator over the elements in this array. |
Member Functions
Name |
Description |
|
Constructors |
Copy‐assign a FixedStreamArray. |
|
Return a const reference to the last element. |
|
Return an iterator to the first element. |
|
Return true if the array contains no elements. |
|
Return an iterator past the last element. |
|
Return a const reference to the first element. |
|
Return the BinaryStreamRef backing this array. |
|
Return a const reference to the element at |
|
Return the number of elements in the array. |
|
Return true if this array refers to the same stream as |
|
Return true if this array does not refer to the same stream as |
Friends
Name |
Description |
Random‐access iterator over the elements of a FixedStreamArray. |
Created with MrDocs