CMS 3D CMS Logo

List of all members | Public Types | Public Member Functions | Protected Member Functions
CalibrationCategory< CI > Class Template Referenceabstract

#include <CalibrationCategory.h>

Public Types

typedef XERCES_CPP_NAMESPACE::DOMElement DOMElement
 
typedef CI Input
 

Public Member Functions

 CalibrationCategory ()
 
virtual bool match (const CI &calibrationInput) const =0
 
virtual std::string name ()
 
virtual ~CalibrationCategory ()
 

Protected Member Functions

virtual void dump ()
 
virtual void readFromDOM (DOMElement *dom)=0
 
virtual void saveToDOM (DOMElement *dom)=0
 

Detailed Description

template<class CI>
class CalibrationCategory< CI >

This class defines a category. The class is templated on the CI (category input) To actually use that class you have to inherit from it and implement the pure virtual functions.

Definition at line 22 of file CalibrationCategory.h.

Member Typedef Documentation

template<class CI >
typedef XERCES_CPP_NAMESPACE::DOMElement CalibrationCategory< CI >::DOMElement

Definition at line 26 of file CalibrationCategory.h.

template<class CI >
typedef CI CalibrationCategory< CI >::Input

Definition at line 27 of file CalibrationCategory.h.

Constructor & Destructor Documentation

template<class CI >
CalibrationCategory< CI >::CalibrationCategory ( )

Definition at line 54 of file CalibrationCategory.h.

55 {
56 }
template<class CI >
CalibrationCategory< CI >::~CalibrationCategory ( )
virtual

Definition at line 58 of file CalibrationCategory.h.

59 {
60 }

Member Function Documentation

template<class CI >
virtual void CalibrationCategory< CI >::dump ( void  )
inlineprotectedvirtual

Definition at line 48 of file CalibrationCategory.h.

48 { }
template<class CI >
virtual bool CalibrationCategory< CI >::match ( const CI &  calibrationInput) const
pure virtual

Should returun true if the CI input match that category

template<class CI >
virtual std::string CalibrationCategory< CI >::name ( void  )
inlinevirtual

Definition at line 38 of file CalibrationCategory.h.

References CalibrationCategory< CI >::readFromDOM(), and CalibrationCategory< CI >::saveToDOM().

Referenced by config.CFG::__str__(), and validation.Sample::digest().

38 {return "BaseCalibrationCategory";} //Set it to pure virtual?
template<class CI >
virtual void CalibrationCategory< CI >::readFromDOM ( DOMElement dom)
protectedpure virtual

Read category parameters from XML

Referenced by CalibrationCategory< CI >::name().

template<class CI >
virtual void CalibrationCategory< CI >::saveToDOM ( DOMElement dom)
protectedpure virtual

Save category parameters to XML

Referenced by CalibrationCategory< CI >::name().