REROOT_FLSParam Class Reference

#include <REROOT_FLSParam.h>

List of all members.

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


Detailed Description

Definition at line 16 of file REROOT_FLSParam.h.


Constructor & Destructor Documentation

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 (  ) 

Definition at line 81 of file REROOT_FLSParam.cxx.

00082 {
00083 }

REROOT_FLSParam::~REROOT_FLSParam (  ) 

Definition at line 89 of file REROOT_FLSParam.cxx.

00090 {
00091 }


Member Function Documentation

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 (  ) 

Definition at line 93 of file REROOT_FLSParam.cxx.

00094 {
00095 }

Int_t REROOT_FLSParam::ID (  )  const [inline]

Definition at line 38 of file REROOT_FLSParam.h.

References m_ID.

00038 {return m_ID;  }                   // ID

void REROOT_FLSParam::init (  )  [private]

Definition at line 85 of file REROOT_FLSParam.cxx.

00086 {
00087 }

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

Definition at line 97 of file REROOT_FLSParam.cxx.

00098 {
00099   pstream << "======================= FLSParam =====================\n";
00100 }

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


Member Data Documentation

Int_t REROOT_FLSParam::m_ID [private]

Definition at line 19 of file REROOT_FLSParam.h.

Referenced by ID().

Int_t REROOT_FLSParam::m_IUsageSet [private]

Definition at line 23 of file REROOT_FLSParam.h.

Referenced by IUsageSet().

Char_t REROOT_FLSParam::m_Name[33] [private]

Definition at line 20 of file REROOT_FLSParam.h.

Referenced by Name().

Char_t REROOT_FLSParam::m_Type[5] [private]

Definition at line 21 of file REROOT_FLSParam.h.

Referenced by Type().

Float_t REROOT_FLSParam::m_Value [private]

Definition at line 22 of file REROOT_FLSParam.h.

Referenced by Value().


The documentation for this class was generated from the following files:
Generated on Mon Nov 10 00:56:24 2014 for loon by  doxygen 1.4.7