ug4
factory.h File Reference
#include <boost/static_assert.hpp>
#include <boost/mpl/for_each.hpp>
#include <boost/mpl/vector.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include "../boost_serialization.h"
#include "detail/register_type_pair_functor.h"

Go to the source code of this file.

Classes

struct  ug::Factory< TBase, TPairSeq >::ClassInfo
 
class  ug::Factory< TBase, TPairSeq >
 A factory class which creates instances given a class-name. More...
 

Namespaces

 ug
 the ug namespace
 
 ug::detail
 
 ug::detail::factory
 

Functions

template<class TBase , class TDerived >
TBase * ug::detail::factory::DerivedClassFactory ()
 used internally to construct derived classes of a given type More...