Xyce  6.1
Xyce::Analysis::Factory< void > Class Template Referenceabstract

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 AnalysisBasecreate () const =0
 Creates the analysis object. More...
 

Private Member Functions

 Factory (const Factory &)
 not copyable More...
 
Factoryoperator= (const Factory &)
 not assignable More...
 

Detailed Description

template<>
class Xyce::Analysis::Factory< void >

The analysis factory template defines an interface for analysis type testing and analysis creation.

Definition at line 80 of file N_ANP_Factory.h.

Constructor & Destructor Documentation

Xyce::Analysis::Factory< void >::Factory ( )
inline

Constructor.

Definition at line 94 of file N_ANP_Factory.h.

virtual Xyce::Analysis::Factory< void >::~Factory ( )
inlinevirtual

Destructor.

Definition at line 108 of file N_ANP_Factory.h.

Xyce::Analysis::Factory< void >::Factory ( const Factory< void > &  )
private

not copyable

Member Function Documentation

virtual AnalysisBase* Xyce::Analysis::Factory< void >::create ( ) const
pure virtual

Creates the analysis object.

Returns
the new analysis object
template<class U >
bool Xyce::Analysis::Factory< void >::isType ( ) const
inline

Returns true if the analysis type of the factory matches class U.

Parameters
UAnalysis class type to test
Returns
true if the analysis type of the factory matches class U

Definition at line 144 of file N_ANP_Factory.h.

Factory& Xyce::Analysis::Factory< void >::operator= ( const Factory< void > &  )
private

not assignable

virtual const std::type_info& Xyce::Analysis::Factory< void >::type ( ) const
pure virtual

Defines the interface to get the type info of the analysis created by the factory.

Returns
type info of the analysis that would be created.

The documentation for this class was generated from the following file: