#include <REROOT_FLSParam.h>
Public Member Functions | |
| REROOT_FLSParam (FLSPARAM_DEF *) | |
| REROOT_FLSParam () | |
| ~REROOT_FLSParam () | |
| virtual void | accept (REROOT_Visitor &v) |
| void | clear () |
| void | printEvent (std::ostream &) const |
| Int_t | ID () const |
| const Char_t * | Name () const |
| const Char_t * | Type () const |
| Float_t | Value () const |
| Int_t | IUsageSet () const |
Private Member Functions | |
| void | init () |
Private Attributes | |
| Int_t | m_ID |
| Char_t | m_Name [33] |
| Char_t | m_Type [5] |
| Float_t | m_Value |
| Int_t | m_IUsageSet |
Definition at line 16 of file REROOT_FLSParam.h.
| REROOT_FLSParam::REROOT_FLSParam | ( | FLSPARAM_DEF * | ) |
Definition at line 59 of file REROOT_FLSParam.cxx.
References init().
00060 { 00061 m_ID = nr->ID - 1; // C index 00062 m_Value = nr->Value; 00063 m_IUsageSet = nr->IUsageSet; 00064 00065 // Fill String objects for char vectors from FLSParam struct. 00066 Int_t i; // Keep this declaration here for scope outside for-loops. 00067 for (i=0; i<32; i++) { 00068 if (nr->Name[i]=='\0' || nr->Name[i]==' ') break; 00069 m_Name[i] = nr->Name[i]; 00070 } 00071 m_Name[i] = '\0'; 00072 for (i=0; i<4; i++) { 00073 if (nr->Type[i]=='\0' || nr->Type[i]==' ') break; 00074 m_Type[i] = nr->Type[i]; 00075 } 00076 m_Type[i] = '\0'; 00077 00078 init(); 00079 }
| REROOT_FLSParam::REROOT_FLSParam | ( | ) |
| REROOT_FLSParam::~REROOT_FLSParam | ( | ) |
| virtual void REROOT_FLSParam::accept | ( | REROOT_Visitor & | v | ) | [inline, virtual] |
Definition at line 32 of file REROOT_FLSParam.h.
References REROOT_Visitor::visit().
00032 { v.visit(this); }
| void REROOT_FLSParam::clear | ( | ) |
| Int_t REROOT_FLSParam::ID | ( | ) | const [inline] |
| void REROOT_FLSParam::init | ( | ) | [private] |
| Int_t REROOT_FLSParam::IUsageSet | ( | ) | const [inline] |
Definition at line 42 of file REROOT_FLSParam.h.
References m_IUsageSet.
00042 {return m_IUsageSet; } // IUsageSet
| const Char_t* REROOT_FLSParam::Name | ( | void | ) | const [inline] |
Definition at line 39 of file REROOT_FLSParam.h.
References m_Name.
00039 {return m_Name; } // Name[33]
| void REROOT_FLSParam::printEvent | ( | std::ostream & | ) | const |
| const Char_t* REROOT_FLSParam::Type | ( | ) | const [inline] |
Definition at line 40 of file REROOT_FLSParam.h.
References m_Type.
00040 {return m_Type; } // Type[5]
| Float_t REROOT_FLSParam::Value | ( | ) | const [inline] |
Definition at line 41 of file REROOT_FLSParam.h.
References m_Value.
00041 {return m_Value; } // Value
Int_t REROOT_FLSParam::m_ID [private] |
Int_t REROOT_FLSParam::m_IUsageSet [private] |
Char_t REROOT_FLSParam::m_Name[33] [private] |
Char_t REROOT_FLSParam::m_Type[5] [private] |
Float_t REROOT_FLSParam::m_Value [private] |
1.4.7