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 19 of file CalibrationCategory.h.

Member Typedef Documentation

◆ DOMElement

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

Definition at line 21 of file CalibrationCategory.h.

◆ Input

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

Definition at line 22 of file CalibrationCategory.h.

Constructor & Destructor Documentation

◆ CalibrationCategory()

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

Definition at line 47 of file CalibrationCategory.h.

47 {}

◆ ~CalibrationCategory()

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

Definition at line 50 of file CalibrationCategory.h.

50 {}

Member Function Documentation

◆ dump()

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

Definition at line 43 of file CalibrationCategory.h.

43 {}

◆ match()

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

Should returun true if the CI input match that category

◆ name()

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

Definition at line 33 of file CalibrationCategory.h.

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

33 { return "BaseCalibrationCategory"; } //Set it to pure virtual?

◆ readFromDOM()

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

Read category parameters from XML

◆ saveToDOM()

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

Save category parameters to XML