Pothos  0.7.0-gf7fbae99
The Pothos dataflow programming software suite
Export.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
14 
20 #define POTHOS_CLASS_EXPORT_GUID(T, id) \
21  namespace Pothos { namespace Archive { \
22  template <> struct ArchiveEntryContainer<T> { \
23  static const ArchiveEntry &entry; \
24  }; \
25  const ArchiveEntry &ArchiveEntryContainer<T>::entry = \
26  ArchiveEntryT<T>(id) ; \
27  }}
28 
30 #define POTHOS_CLASS_EXPORT(T) POTHOS_CLASS_EXPORT_GUID(T, #T)
31 
32 namespace Pothos {
33 namespace Archive {
34 
35 template <typename T>
37 
38 } //namespace Archive
39 } //namespace Pothos
Definition: ArchiveEntry.hpp:20