![]()  | 
  
    FlowEngine 8.011
    
   Photogrammetry Software Development Kit 
   | 
 
#include <CommonDef.h>
Public Member Functions | |
| T * | begin () | 
| Buffer ()=default | |
| Buffer (std::vector< T > &&v)=delete | |
| Buffer (std::vector< T > &v) | |
| Buffer (T *d, Size s) | |
| template<std::size_t N> | |
| Buffer (T(&fixedSizeArray)[N]) | |
| T * | end () | 
| operator bool () const | |
| T & | operator[] (std::size_t index) | 
| const T & | operator[] (std::size_t index) const | 
Public Attributes | |
| Size | count = 0 | 
| T * | data = nullptr | 
Holds a (mutable) non_owning pointer and a size Used to marshal memory buffers as arguments in a safely manner.
      
  | 
  default | 
Represents an empty buffer.
      
  | 
  inline | 
Construct a buffer from a (mutable) 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.
      
  | 
  inline | 
Indexed access.
| Size FlowEngine::Buffer< T >::count = 0 | 
Number of elements the pointer points to.
| T* FlowEngine::Buffer< T >::data = nullptr | 
Pointer to the (mutable) data.