ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TCS::Parameter Class Reference

#include <Parameter.h>

Collaboration diagram for TCS::Parameter:

Public Member Functions

 Parameter (const std::string &name, TCS::parType_t value)
 
 Parameter (const std::string &name, TCS::parType_t value, unsigned int selection)
 
 ~Parameter ()
 
const std::string & name () const
 
unsigned int selection () const
 
parType_t value () const
 
unsigned int position () const
 
parType_t defaultValue () const
 
bool isDefault () const
 
bool isExtended () const
 
parType_t operator() () const
 
const std::string & val () const
 
const std::string & defaultVal () const
 
unsigned int pos () const
 
const std::string & sel () const
 
void setName (const std::string &name)
 
void setSelection (parType_t selection)
 
void setValue (parType_t value)
 
void setPosition (parType_t position)
 
void setIsDefault (bool isDefault)
 
void setIsExtended (bool isExtended)
 
void setVal (const std::string &val)
 
void setPos (unsigned int pos)
 
void setSel (const std::string &sel)
 

Private Attributes

std::string m_name
 
parType_t m_value {0}
 
unsigned int m_position {0}
 
unsigned int m_selection {0}
 
parType_t m_defaultValue {0}
 
bool m_isDefault {true}
 
bool m_isExtended {false}
 
std::string m_val
 
unsigned int m_pos {0}
 
std::string m_sel
 
std::string m_defaultVal
 

Detailed Description

Definition at line 24 of file Parameter.h.

Constructor & Destructor Documentation

◆ Parameter() [1/2]

Parameter::Parameter ( const std::string &  name,
TCS::parType_t  value 
)

Definition at line 13 of file Parameter.cxx.

14  :
15  m_name(name),
16  m_value(value),
18  m_isExtended(false)
19 {}

◆ Parameter() [2/2]

TCS::Parameter::Parameter ( const std::string &  name,
TCS::parType_t  value,
unsigned int  selection 
)

◆ ~Parameter()

TCS::Parameter::~Parameter ( )
inline

Definition at line 30 of file Parameter.h.

30 {};

Member Function Documentation

◆ defaultVal()

const std::string& TCS::Parameter::defaultVal ( ) const
inline

Definition at line 44 of file Parameter.h.

44 { return m_defaultVal; }

◆ defaultValue()

parType_t TCS::Parameter::defaultValue ( ) const
inline

Definition at line 37 of file Parameter.h.

37 { return m_defaultValue; }

◆ isDefault()

bool TCS::Parameter::isDefault ( ) const
inline

Definition at line 38 of file Parameter.h.

38 { return m_isDefault; }

◆ isExtended()

bool TCS::Parameter::isExtended ( ) const
inline

Definition at line 39 of file Parameter.h.

39 { return m_isExtended; }

◆ name()

const std::string& TCS::Parameter::name ( ) const
inline

Definition at line 33 of file Parameter.h.

33 { return m_name; }

◆ operator()()

parType_t TCS::Parameter::operator() ( ) const
inline

Definition at line 40 of file Parameter.h.

40 { return m_value; }

◆ pos()

unsigned int TCS::Parameter::pos ( ) const
inline

Definition at line 45 of file Parameter.h.

45 { return m_pos; }

◆ position()

unsigned int TCS::Parameter::position ( ) const
inline

Definition at line 36 of file Parameter.h.

36 { return m_position; }

◆ sel()

const std::string& TCS::Parameter::sel ( ) const
inline

Definition at line 46 of file Parameter.h.

46 { return m_sel; }

◆ selection()

unsigned int TCS::Parameter::selection ( ) const
inline

Definition at line 34 of file Parameter.h.

34 { return m_selection; }

◆ setIsDefault()

void TCS::Parameter::setIsDefault ( bool  isDefault)
inline

Definition at line 53 of file Parameter.h.

◆ setIsExtended()

void TCS::Parameter::setIsExtended ( bool  isExtended)
inline

Definition at line 54 of file Parameter.h.

◆ setName()

void TCS::Parameter::setName ( const std::string &  name)
inline

Definition at line 49 of file Parameter.h.

49 { m_name = name; }

◆ setPos()

void TCS::Parameter::setPos ( unsigned int  pos)
inline

Definition at line 58 of file Parameter.h.

58 { m_pos = pos; }

◆ setPosition()

void TCS::Parameter::setPosition ( parType_t  position)
inline

Definition at line 52 of file Parameter.h.

52 { m_position = position; }

◆ setSel()

void TCS::Parameter::setSel ( const std::string &  sel)
inline

Definition at line 59 of file Parameter.h.

59 { m_sel = sel; }

◆ setSelection()

void TCS::Parameter::setSelection ( parType_t  selection)
inline

Definition at line 50 of file Parameter.h.

◆ setVal()

void TCS::Parameter::setVal ( const std::string &  val)
inline

Definition at line 57 of file Parameter.h.

57 { m_val = val; }

◆ setValue()

void TCS::Parameter::setValue ( parType_t  value)
inline

Definition at line 51 of file Parameter.h.

51 { m_value = value; m_isDefault = false; }

◆ val()

const std::string& TCS::Parameter::val ( ) const
inline

Definition at line 43 of file Parameter.h.

43 { return m_val; }

◆ value()

parType_t TCS::Parameter::value ( ) const
inline

Definition at line 35 of file Parameter.h.

35 { return m_value; }

Member Data Documentation

◆ m_defaultVal

std::string TCS::Parameter::m_defaultVal
private

Definition at line 75 of file Parameter.h.

◆ m_defaultValue

parType_t TCS::Parameter::m_defaultValue {0}
private

Definition at line 67 of file Parameter.h.

◆ m_isDefault

bool TCS::Parameter::m_isDefault {true}
private

Definition at line 68 of file Parameter.h.

◆ m_isExtended

bool TCS::Parameter::m_isExtended {false}
private

Definition at line 69 of file Parameter.h.

◆ m_name

std::string TCS::Parameter::m_name
private

Definition at line 63 of file Parameter.h.

◆ m_pos

unsigned int TCS::Parameter::m_pos {0}
private

Definition at line 73 of file Parameter.h.

◆ m_position

unsigned int TCS::Parameter::m_position {0}
private

Definition at line 65 of file Parameter.h.

◆ m_sel

std::string TCS::Parameter::m_sel
private

Definition at line 74 of file Parameter.h.

◆ m_selection

unsigned int TCS::Parameter::m_selection {0}
private

Definition at line 66 of file Parameter.h.

◆ m_val

std::string TCS::Parameter::m_val
private

Definition at line 72 of file Parameter.h.

◆ m_value

parType_t TCS::Parameter::m_value {0}
private

Definition at line 64 of file Parameter.h.


The documentation for this class was generated from the following files:
TCS::Parameter::m_defaultValue
parType_t m_defaultValue
Definition: Parameter.h:67
TCS::Parameter::m_sel
std::string m_sel
Definition: Parameter.h:74
TCS::Parameter::m_position
unsigned int m_position
Definition: Parameter.h:65
TCS::Parameter::m_isExtended
bool m_isExtended
Definition: Parameter.h:69
TCS::Parameter::name
const std::string & name() const
Definition: Parameter.h:33
TCS::Parameter::m_defaultVal
std::string m_defaultVal
Definition: Parameter.h:75
TCS::Parameter::m_selection
unsigned int m_selection
Definition: Parameter.h:66
TCS::Parameter::m_name
std::string m_name
Definition: Parameter.h:63
TCS::Parameter::val
const std::string & val() const
Definition: Parameter.h:43
TCS::Parameter::selection
unsigned int selection() const
Definition: Parameter.h:34
TCS::Parameter::sel
const std::string & sel() const
Definition: Parameter.h:46
TCS::Parameter::m_value
parType_t m_value
Definition: Parameter.h:64
TCS::Parameter::pos
unsigned int pos() const
Definition: Parameter.h:45
TCS::Parameter::isDefault
bool isDefault() const
Definition: Parameter.h:38
TCS::Parameter::m_isDefault
bool m_isDefault
Definition: Parameter.h:68
TCS::Parameter::position
unsigned int position() const
Definition: Parameter.h:36
TCS::Parameter::isExtended
bool isExtended() const
Definition: Parameter.h:39
TCS::Parameter::m_val
std::string m_val
Definition: Parameter.h:72
TCS::Parameter::m_pos
unsigned int m_pos
Definition: Parameter.h:73
TCS::Parameter::value
parType_t value() const
Definition: Parameter.h:35