CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.

Referenced by cuy.divideElement::__init__(), cuy.plotElement::__init__(), cuy.additionElement::__init__(), cuy.superimposeElement::__init__(), and cuy.graphElement::__init__().

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

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

Save category parameters to XML