#include <tntdb/impl/blob.h>

Public Member Functions | |
| virtual void | assign (const char *data, std::size_t len) |
| Assign data of a given length. | |
| virtual char * | reserve (std::size_t len, bool shrink) |
| Makes sure, the buffer has at least len bytes. | |
| virtual IBlob * | create () const |
| Create a value implementation. | |
| virtual void | destroy () |
| Destroy a value implementation. | |
Static Public Member Functions | |
| static BlobImpl * | emptyInstance () |
Protected Member Functions | |
| BlobImpl (int) | |
| virtual void assign | ( | const char * | data, | |
| std::size_t | len | |||
| ) | [virtual] |
The len bytes of the data pointed to by data are copied to this blob.
Implements IBlob.
| virtual IBlob* create | ( | ) | const [virtual] |
Returns a pointer to a implementation class derived from IBlob. IBlob::destroy must be implemented accordingly to destroy this instance.
Implements IBlob.
| virtual void destroy | ( | ) | [virtual] |
Destroys an instance previously created by the IBlob::create.
Implements IBlob.