![]() |
FlowEngine 8.011
Photogrammetry Software Development Kit
|
#include <CommonDef.h>
Public Member Functions | |
| ConstBuffer ()=default | |
| ConstBuffer (const char *data, Size count) | |
| ConstBuffer (const char *str) | |
| ConstBuffer (const std::string &str) | |
| ConstBuffer (const std::vector< char > &v) | |
| ConstBuffer (std::string &&str)=delete | |
| operator bool () const | |
Public Attributes | |
| Size | count = 0 |
| const char * | data = nullptr |
Specialization for a const buffer characters.
|
default |
Creates an empty string buffer.
|
inline |
Implicit conversion from a std::string.
|
delete |
Prohibits conversion from a temporary std::string.
|
inline |
Implicit conversion from a C string literal.
|
inline |
Construction from an arbitrary buffer and size.
|
inline |
Implicit conversion from a std::vector.
|
inlineexplicit |
Evaluates to true if this buffer holds valid data, false otherwise.
| Size FlowEngine::ConstBuffer< char >::count = 0 |
Number of elements the pointer points to.
| const char* FlowEngine::ConstBuffer< char >::data = nullptr |
Pointer to the const data.