Pothos  0.5.0-ga4964040
The Pothos dataflow programming software suite
Classes | Namespaces | Macros
Export.hpp File Reference
#include <Pothos/Config.hpp>
#include <Pothos/Archive/ArchiveEntry.hpp>

Go to the source code of this file.

Classes

struct  Pothos::Archive::ArchiveEntryContainer< T >
 

Namespaces

 Pothos
 
 Pothos::Archive
 

Macros

#define POTHOS_CLASS_EXPORT_GUID(T, id)
 
#define POTHOS_CLASS_EXPORT(T)   POTHOS_CLASS_EXPORT_GUID(T, #T)
 Register archival functions using the stringified type as the ID. More...
 

Detailed Description

Serialization registration macros.

Macro Definition Documentation

#define POTHOS_CLASS_EXPORT (   T)    POTHOS_CLASS_EXPORT_GUID(T, #T)

Register archival functions using the stringified type as the ID.

#define POTHOS_CLASS_EXPORT_GUID (   T,
  id 
)
Value:
namespace Pothos { namespace Archive { \
template <> struct ArchiveEntryContainer<T> { \
static const ArchiveEntry &entry; \
}; \
const ArchiveEntry &ArchiveEntryContainer<T>::entry = \
ArchiveEntryT<T>(id) ; \
}}
Definition: ArchiveEntry.hpp:20

Register archival functions for a given class. A unique name is required with the class because the typeinfo name is not consistent across platforms.