|  | FlowEngine 8.011
    Photogrammetry Software Development Kit | 
#include <CommonDef.h>
| Public Member Functions | |
| const T * | begin () const | 
| ConstBuffer ()=default | |
| ConstBuffer (const std::vector< T > &v) | |
| ConstBuffer (const T *d, Size s) | |
| template<std::size_t N> | |
| ConstBuffer (const T(&fixedSizeArray)[N]) | |
| ConstBuffer (std::vector< T > &&v)=delete | |
| const T * | end () const | 
| operator bool () const | |
| const T & | operator[] (std::size_t index) const | 
| Public Attributes | |
| Size | count = 0 | 
| const T * | data = nullptr | 
Holds a (non mutable) non_owning pointer and a count Used to marshal memory buffers as arguments in a safely manner.
| 
 | default | 
Creates an empty buffer.
| 
 | inline | 
Creates a const buffer with a const pointer and a size.
| 
 | inline | 
Implicit conversion from a fixed-size array.
| 
 | inline | 
Implicit conversion from a std::vector.
| 
 | delete | 
Prohibits implicit conversion from a temporary std::vector.
| 
 | inline | 
Iteration support.
| 
 | inline | 
Iteration support.
| 
 | inlineexplicit | 
Evaluates to true if this buffer holds valid data, false otherwise.
| 
 | inline | 
Indexed access.
| Size FlowEngine::ConstBuffer< T >::count = 0 | 
Number of elements the pointer points to.
| const T* FlowEngine::ConstBuffer< T >::data = nullptr | 
Pointer to the (immutable) data.