#include <Blob.h>
Public Member Functions | |
| Blob () | |
| Blob (const std::vector< unsigned char > &value) | |
| Blob (const void *pValue, size_t len) | |
| BROKEN_INLINE_HINT Blob & | operator= (const Blob &right) |
| bool | operator== (const Blob &right) const |
| const std::vector< unsigned char > & | get () const |
| operator const std::vector< unsigned char > & () const | |
This class exists because the serialization/deserialization of std::vector<unsigned char> is not recommended for large quantities of data even though this is a natural representation of a large quantity of data. XML representations of this class are not generally human readable. This class does not provide a set() function and that is by design. The StringUtilities::toDisplayString() and StringUtilities::fromDisplayString() specializations of this class are not guaranteed to return useful information.
Definition at line 26 of file Blob.h.
| Blob::Blob | ( | ) |
Construct a default object.
The value returned from get() will be an empty vector. This constructor shouldn't normally be used; you should use the constructor that takes an initial value. This constructor is provided because in order to allow this type inside a DataVariant, a default constructor is required.
| Blob::Blob | ( | const std::vector< unsigned char > & | value | ) | [explicit] |
| Blob::Blob | ( | const void * | pValue, | |
| size_t | len | |||
| ) | [explicit] |
| bool Blob::operator== | ( | const Blob & | right | ) | const |
| const std::vector<unsigned char>& Blob::get | ( | ) | const |
| Blob::operator const std::vector< unsigned char > & | ( | ) | const |