#include <Pt/Db/Blob.h>
Default blob implementation using new and delete.
Inherits IBlob.
|
|
virtual void | assign (const char *data, std::size_t len) |
| | Copies len bytes from data into this blob.
|
|
virtual IBlob * | create () const |
| | Creates a new implementation of the same type.
|
|
virtual void | destroy () |
| | Destroys an instance created by create().
|
|
std::size_t | size () const |
| | Returns the size of the blob data.
|
|
const char * | data () const |
| | Returns a pointer to the blob data, or 0 if empty.
|
|
bool | operator== (const IBlob &other) const |
| | Returns true if both instances contain the same data.
|