Xyce
6.1
|
The analysis factory template defines an interface for analysis type testing and analysis creation. More...
#include <N_ANP_Factory.h>
Public Member Functions | |
Factory () | |
Constructor. More... | |
virtual | ~Factory () |
Destructor. More... | |
virtual const std::type_info & | type () const =0 |
Defines the interface to get the type info of the analysis created by the factory. More... | |
template<class U > | |
bool | isType () const |
Returns true if the analysis type of the factory matches class U. More... | |
virtual AnalysisBase * | create () const =0 |
Creates the analysis object. More... | |
Private Member Functions | |
Factory (const Factory &) | |
not copyable More... | |
Factory & | operator= (const Factory &) |
not assignable More... | |
The analysis factory template defines an interface for analysis type testing and analysis creation.
Definition at line 80 of file N_ANP_Factory.h.
|
inline |
Constructor.
Definition at line 94 of file N_ANP_Factory.h.
|
inlinevirtual |
Destructor.
Definition at line 108 of file N_ANP_Factory.h.
|
private |
not copyable
|
pure virtual |
Creates the analysis object.
|
inline |
Returns true if the analysis type of the factory matches class U.
U | Analysis class type to test |
Definition at line 144 of file N_ANP_Factory.h.
|
private |
not assignable
|
pure virtual |
Defines the interface to get the type info of the analysis created by the factory.