Classes | Defines
contrib/mul/mbl/mbl_cloneables_factory.h File Reference

A general factory pattern. More...

#include <vcl_map.h>
#include <vcl_memory.h>
#include <vcl_string.h>
#include <vcl_sstream.h>
#include <mbl/mbl_exception.h>
#include <mbl/mbl_cloneable_ptr.h>

Go to the source code of this file.

Classes

class  mbl_cloneables_factory< BASE >
 A general factory pattern. More...

Defines

#define MBL_CLONEABLES_FACTORY_INSTANTIATE(T)

Detailed Description

A general factory pattern.

Author:
Ian Scott.

Definition in file mbl_cloneables_factory.h.


Define Documentation

#define MBL_CLONEABLES_FACTORY_INSTANTIATE (   T)
Value:
template <class BASE > \
vcl_auto_ptr<VCL_DISAPPEARING_TYPENAME mbl_cloneables_factory<BASE >::MAP > \
  mbl_cloneables_factory<BASE >::objects_ =  \
    vcl_auto_ptr<VCL_DISAPPEARING_TYPENAME mbl_cloneables_factory<BASE >::MAP >(0); \
template class mbl_cloneables_factory< T >

Definition at line 106 of file mbl_cloneables_factory.h.