![]() |
Pothos
0.6.0-g9da168ef
The Pothos dataflow programming software suite
|
#include <ArchiveEntry.hpp>

Public Member Functions | |
| 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... | |
| virtual void | save (OStreamArchiver &ar, const void *t) const =0 |
| Save a pointer to the archive in a derived class. More... | |
| virtual void * | load (IStreamArchiver &ar) const =0 |
| Load a pointer from the archive in a derived class. 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... | |
Static Public Member Functions | |
| 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... | |
Base class for an archive entry. Stores and ID and overloads for polymorphic support.
| Pothos::Archive::ArchiveEntry::ArchiveEntry | ( | const std::type_info & | type, |
| const std::string & | id | ||
| ) |
Create and register an entry given the type and unique ID.
|
virtual |
Virtual destructor for derived type classes.
|
static |
Lookup the entry given the type info or throw if not found.
|
static |
Lookup the entry given the unique id or throw if not found.
|
static |
Lookup the entry given the the id hash or throw if not found.
|
inline |
Get a reproducible hash for this entry.
|
inline |
Get the associated unique ID.
|
pure virtual |
Load a pointer from the archive in a derived class.
Implemented in Pothos::Archive::ArchiveEntryT< T >.
|
pure virtual |
Save a pointer to the archive in a derived class.
Implemented in Pothos::Archive::ArchiveEntryT< T >.
1.8.13