Classes | Namespaces | Defines
plugins.hh File Reference
#include <boost/type_traits/is_base_and_derived.hpp>
#include <boost/mpl/if.hpp>
Include dependency graph for plugins.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Typelib::GenericIOPlugin< Type >
struct  Typelib::plugin_traits< Type >
class  Typelib::TypeDefinitionPlugin

Namespaces

namespace  Typelib

Defines

#define TYPELIB_REGISTER_IO1(name, klass1)
#define TYPELIB_REGISTER_IO2(name, klass1, klass2)

Define Documentation

#define TYPELIB_REGISTER_IO1 (   name,
  klass1 
)
Value:
extern "C" void registerPlugins(Typelib::PluginManager& manager) {\
    manager.add(new Typelib::GenericIOPlugin<klass1>(#name)); \
}

Definition at line 52 of file plugins.hh.

#define TYPELIB_REGISTER_IO2 (   name,
  klass1,
  klass2 
)
Value:
extern "C" void registerPlugins(Typelib::PluginManager& manager) {\
    manager.add(new Typelib::GenericIOPlugin<klass1>(#name)); \
    manager.add(new Typelib::GenericIOPlugin<klass2>(#name)); \
}

Definition at line 47 of file plugins.hh.



typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Sat Jun 8 2019 18:49:22