SheafSystem  0.0.0.0
factory_2.h File Reference

Interface for class factory_2. More...

#include "SheafSystem/sheaf_dll_spec.h"
#include "SheafSystem/std_iostream.h"
#include "SheafSystem/std_map.h"
#include "SheafSystem/std_string.h"

Go to the source code of this file.

Classes

class  sheaf::rc_ptr< T >
 Reference-counted pointer to object of type T. T must be an implementation of concept class rc_any. More...
 
class  sheaf::factory_2< T, R >
 A factory for instanting descendants of an abstract type T, given the class name of the descendant. Requires: virtual const string& T::class_name() the actual (descendant) class name of the prototype. virtual R T::clone() virtual default constructor virtual R T::clone(S& xarg) virtual constructor. More...
 
class  sheaf::factory_2< T, R >
 A factory for instanting descendants of an abstract type T, given the class name of the descendant. Requires: virtual const string& T::class_name() the actual (descendant) class name of the prototype. virtual R T::clone() virtual default constructor virtual R T::clone(S& xarg) virtual constructor. More...
 

Namespaces

 sheaf
 Namespace for the sheaves component of the sheaf system.
 

Functions

template<typename T , typename R >
ostream & sheaf::operator<< (ostream &xos, const factory_2< T, R > &xf)
 Inserts factory_2& xf in stream xos. More...
 

Detailed Description

Interface for class factory_2.

Definition in file factory_2.h.