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