#include <Object.hpp>
Public Member Functions | |
bool | operator== (const Object &other) |
bool | is_valid () const |
Object (const OID &_oid, const Blob &_blob) | |
Object (const std::tuple< persistent::version_t, uint64_t > _ver, const OID &_oid, const Blob &_blob) | |
Object (const uint64_t _oid, const char *const _b, const std::size_t _s) | |
Object (const std::tuple< persistent::version_t, uint64_t > _ver, const uint64_t _oid, const char *const _b, const std::size_t _s) | |
Object (Object &&other) | |
Object (const Object &other) | |
Object () | |
DEFAULT_SERIALIZATION_SUPPORT (Object, ver, oid, blob) | |
Public Member Functions inherited from mutils::ByteRepresentable | |
virtual std::size_t | to_bytes (char *v) const =0 |
Write this class's marshalled representation into the array found at v. More... | |
virtual void | post_object (const std::function< void(char const *const, std::size_t)> &) const =0 |
Pass a pointer to a buffer containing this class's marshalled representation into the function f. More... | |
virtual std::size_t | bytes_size () const =0 |
the size of the marshalled representation of this object. More... | |
virtual | ~ByteRepresentable () |
Public Attributes | |
std::tuple< persistent::version_t, uint64_t > | ver |
OID | oid |
Blob | blob |
Definition at line 73 of file Object.hpp.
Definition at line 95 of file Object.cpp.
objectstore::Object::Object | ( | const std::tuple< persistent::version_t, uint64_t > | _ver, |
const OID & | _oid, | ||
const Blob & | _blob | ||
) |
Definition at line 99 of file Object.cpp.
objectstore::Object::Object | ( | const uint64_t | _oid, |
const char *const | _b, | ||
const std::size_t | _s | ||
) |
Definition at line 102 of file Object.cpp.
objectstore::Object::Object | ( | const std::tuple< persistent::version_t, uint64_t > | _ver, |
const uint64_t | _oid, | ||
const char *const | _b, | ||
const std::size_t | _s | ||
) |
Definition at line 106 of file Object.cpp.
objectstore::Object::Object | ( | Object && | other | ) |
Definition at line 109 of file Object.cpp.
objectstore::Object::Object | ( | const Object & | other | ) |
Definition at line 113 of file Object.cpp.
objectstore::Object::Object | ( | ) |
Definition at line 117 of file Object.cpp.
bool objectstore::Object::is_valid | ( | ) | const |
Definition at line 90 of file Object.cpp.
bool objectstore::Object::operator== | ( | const Object & | other | ) |
Definition at line 86 of file Object.cpp.
Blob objectstore::Object::blob |
Definition at line 77 of file Object.hpp.
OID objectstore::Object::oid |
Definition at line 76 of file Object.hpp.
|
mutable |
Definition at line 75 of file Object.hpp.