ad_map_access
|
Serializer for files with CRC32. More...
#include <ad/map/serialize/SerializerFileCRC32.hpp>
Public Member Functions | |
SerializerFileCRC32 (bool store) | |
Public Member Functions inherited from ad::map::serialize::Serializer | |
Serializer (bool store, bool calc_checksum) | |
bool | open (std::string const &config, size_t &version_major, size_t &version_minor) |
bool | close () |
Public Member Functions inherited from ad::map::serialize::ISerializer | |
ISerializer (bool store) | |
bool | isStoring () const |
template<typename T > | |
bool | serialize (T &x) |
bool | serialize (SerializeableMagic const &magic) |
template<typename T , typename SerializeBaseType , SerializeableMagic magic> | |
bool | serializeGeneratedType (T &x) |
template<typename T > | |
bool | serializeVector (std::vector< T > &x) |
template<typename T > | |
bool | serializeObjectVector (std::vector< T > &x, SerializeableMagic const &magic=SerializeableMagic::ObjectVectorType) |
template<typename T , typename U , typename Comp > | |
bool | serializeObjectMap (std::map< T, U, Comp > &x) |
template<typename T , typename U , typename Comp > | |
bool | serializeObjectPtrMap (std::map< T, std::shared_ptr< U >, Comp > &x) |
template<typename T , typename U , typename Comp > | |
bool | serializeObjectVecMap (std::map< T, std::vector< U >, Comp > &x) |
bool | setUseMagic (bool use_magic) |
Specifies if the every serialized block will be/is prefixed with object-specific magic number. This is application-wide setting. More... | |
bool | setUseEmbeddedPoints (bool useEmbeddedPoints) |
Specifies if the geometry points should be embedded within the objects or handled separately. More... | |
bool | useEmbeddedPoints () const |
retunrs the setting if embedded points should be used or not on serialization | |
bool | serializeEmptyObjectVec () |
Public Member Functions inherited from ad::map::serialize::StorageFile | |
const char * | getStorageType () override |
Public Member Functions inherited from ad::map::serialize::ChecksumCRC32 | |
const char * | getChecksumType () override |
Additional Inherited Members | |
Static Public Attributes inherited from ad::map::serialize::Serializer | |
static size_t | VERSION_MAJOR |
static size_t | VERSION_MINOR |
Protected Member Functions inherited from ad::map::serialize::IStorage | |
virtual bool | doWrite (const void *x, std::size_t bytes)=0 |
virtual bool | doRead (void *x, std::size_t bytes)=0 |
Protected Member Functions inherited from ad::map::serialize::StorageFile | |
bool | doOpenForRead (std::string const &config) override |
bool | doOpenForWrite (std::string const &config) override |
bool | doCloseForRead () override |
bool | doCloseForWrite () override |
bool | doWrite (const void *x, size_t bytes) override |
bool | doRead (void *x, size_t bytes) override |
Protected Member Functions inherited from ad::map::serialize::ChecksumCRC32 | |
void | initChecksum () override |
void | updateChecksum (const void *x, size_t bytes) override |
bool | writeChecksum () override |
bool | checksumOK () override |
Serializer for files with CRC32.