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 51 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 46 of file plugins.hh.



typelib
Author(s): Sylvain Joyeux/sylvain.joyeux@m4x.org
autogenerated on Mon Sep 14 2015 15:08:18