Pothos
0.7.0-gf7fbae99
The Pothos dataflow programming software suite
|
#include <ArchiveEntry.hpp>
Public Member Functions | |
ArchiveEntryT (const std::string &id) | |
void | save (OStreamArchiver &ar, const void *t) const |
Save a pointer to the archive in a derived class. More... | |
void * | load (IStreamArchiver &ar) const |
Load a pointer from the archive in a derived class. More... | |
Public Member Functions inherited from Pothos::Archive::ArchiveEntry | |
ArchiveEntry (const std::type_info &type, const std::string &id) | |
Create and register an entry given the type and unique ID. More... | |
virtual | ~ArchiveEntry (void) |
Virtual destructor for derived type classes. More... | |
const std::string & | getId (void) const |
Get the associated unique ID. More... | |
const unsigned long long & | getHash (void) const |
Get a reproducible hash for this entry. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Pothos::Archive::ArchiveEntry | |
static const ArchiveEntry & | find (const std::type_info &type) |
Lookup the entry given the type info or throw if not found. More... | |
static const ArchiveEntry & | find (const std::string &id) |
Lookup the entry given the unique id or throw if not found. More... | |
static const ArchiveEntry & | find (const unsigned long long &hash) |
Lookup the entry given the the id hash or throw if not found. More... | |
Archive entry for specific types. When instantiated, the library can save, create, and load this type.
Pothos::Archive::ArchiveEntryT< T >::ArchiveEntryT | ( | const std::string & | id | ) |
|
virtual |
Load a pointer from the archive in a derived class.
Implements Pothos::Archive::ArchiveEntry.
|
virtual |
Save a pointer to the archive in a derived class.
Implements Pothos::Archive::ArchiveEntry.