EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairParamObj Class Reference

#include <EicRoot/blob/master/parbase/FairParamList.h>

+ Inheritance diagram for FairParamObj:
+ Collaboration diagram for FairParamObj:

Public Member Functions

 FairParamObj (const Text_t *name="")
 
 FairParamObj (FairParamObj &)
 
 FairParamObj (const Text_t *, Int_t)
 
 FairParamObj (const Text_t *, Float_t)
 
 FairParamObj (const Text_t *, Double_t)
 
 FairParamObj (const Text_t *, const Int_t *, const Int_t)
 
 FairParamObj (const Text_t *, const Float_t *, const Int_t)
 
 FairParamObj (const Text_t *, const Double_t *, const Int_t)
 
 FairParamObj (const Text_t *, const Text_t *)
 
 FairParamObj (const Text_t *, const Char_t *, const Int_t)
 
 FairParamObj (const Text_t *, const UChar_t *, const Int_t)
 
 ~FairParamObj ()
 
void setParamType (const Text_t *t)
 
UChar_t * setLength (Int_t l)
 
void setParamValue (UChar_t *, const Int_t)
 
void setClassVersion (const Int_t v)
 
UChar_t * setStreamerInfoSize (Int_t)
 
void setStreamerInfo (UChar_t *, const Int_t)
 
UChar_t * getParamValue ()
 
Bool_t isBasicType ()
 
const char * getParamType ()
 
Int_t getBytesPerValue ()
 
Int_t getClassVersion ()
 
Int_t getLength ()
 
Int_t getNumParams ()
 
UChar_t * getStreamerInfo ()
 
Int_t getStreamerInfoSize ()
 
void print ()
 

Protected Member Functions

template<class type >
void printData (type *, Int_t)
 

Protected Attributes

UChar_t * paramValue
 
Int_t arraySize
 
TString paramType
 
Bool_t basicType
 
Int_t bytesPerValue
 
Int_t classVersion
 
UChar_t * streamerInfo
 
Int_t streamerInfoSize
 

Private Member Functions

FairParamObjoperator= (const FairParamObj &)
 

Detailed Description

Definition at line 16 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 16 of file FairParamList.h

Constructor & Destructor Documentation

FairParamObj::FairParamObj ( const Text_t *  name = "")
FairParamObj::FairParamObj ( FairParamObj o)

Definition at line 101 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 101 of file FairParamList.cxx

References arraySize, getParamValue(), getStreamerInfo(), paramValue, streamerInfo, and streamerInfoSize.

+ Here is the call graph for this function:

FairParamObj::FairParamObj ( const Text_t *  name,
Int_t  value 
)

Definition at line 119 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 119 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
Float_t  value 
)

Definition at line 135 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 135 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
Double_t  value 
)

Definition at line 151 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 151 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
const Int_t *  value,
const Int_t  nValues 
)

Definition at line 167 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 167 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
const Float_t *  value,
const Int_t  nValues 
)

Definition at line 184 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 184 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
const Double_t *  value,
const Int_t  nValues 
)

Definition at line 200 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 200 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
const Text_t *  value 
)

Definition at line 216 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 216 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
const Char_t *  value,
const Int_t  nValues 
)

Definition at line 233 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 233 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::FairParamObj ( const Text_t *  name,
const UChar_t *  value,
const Int_t  nValues 
)

Definition at line 249 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 249 of file FairParamList.cxx

References arraySize, and paramValue.

FairParamObj::~FairParamObj ( )

Definition at line 264 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 264 of file FairParamList.cxx

References paramValue, and streamerInfo.

Member Function Documentation

Int_t FairParamObj::getBytesPerValue ( )
inline

Definition at line 49 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 49 of file FairParamList.h

References bytesPerValue.

Referenced by FairGenericParTSQLIo::writeSet().

+ Here is the caller graph for this function:

Int_t FairParamObj::getClassVersion ( )
inline

Definition at line 50 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 50 of file FairParamList.h

References classVersion.

Referenced by FairParamList::fillObject(), and FairGenericParTSQLIo::writeSet().

+ Here is the caller graph for this function:

Int_t FairParamObj::getLength ( )
inline

Definition at line 51 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 51 of file FairParamList.h

References arraySize.

Referenced by FairParamList::fill(), FairParamList::fillObject(), FairParamList::replace(), FairGenericParAsciiFileIo::writeGenericSet(), and FairGenericParTSQLIo::writeSet().

+ Here is the caller graph for this function:

Int_t FairParamObj::getNumParams ( )

Definition at line 356 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 356 of file FairParamList.cxx

References arraySize, basicType, bytesPerValue, and n.

Referenced by FairParamList::fill(), print(), FairParamList::replace(), FairGenericParAsciiFileIo::writeGenericSet(), and FairGenericParTSQLIo::writeSet().

+ Here is the caller graph for this function:

const char* FairParamObj::getParamType ( )
inline

Definition at line 48 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 48 of file FairParamList.h

References paramType.

Referenced by FairParamList::fill(), FairParamList::fillObject(), FairParamList::replace(), FairGenericParAsciiFileIo::writeGenericSet(), and FairGenericParTSQLIo::writeSet().

+ Here is the caller graph for this function:

UChar_t* FairParamObj::getParamValue ( )
inline

Definition at line 46 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 46 of file FairParamList.h

References paramValue.

Referenced by FairParamObj(), FairParamList::fill(), FairParamList::fillObject(), FairParamList::replace(), FairGenericParAsciiFileIo::writeGenericSet(), and FairGenericParTSQLIo::writeSet().

+ Here is the caller graph for this function:

UChar_t* FairParamObj::getStreamerInfo ( )
inline

Definition at line 53 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 53 of file FairParamList.h

References streamerInfo.

Referenced by FairParamObj(), and FairParamList::fillObject().

+ Here is the caller graph for this function:

Int_t FairParamObj::getStreamerInfoSize ( )
inline

Definition at line 54 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 54 of file FairParamList.h

References streamerInfoSize.

Referenced by FairParamList::fillObject().

+ Here is the caller graph for this function:

Bool_t FairParamObj::isBasicType ( )
inline

Definition at line 47 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 47 of file FairParamList.h

References basicType.

Referenced by FairGenericParAsciiFileIo::writeGenericSet(), and FairGenericParTSQLIo::writeSet().

+ Here is the caller graph for this function:

FairParamObj& FairParamObj::operator= ( const FairParamObj )
private
void FairParamObj::print ( )

Definition at line 366 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 366 of file FairParamList.cxx

References arraySize, classVersion, getNumParams(), paramType, paramValue, and printData().

Referenced by FairParamList::print(), and FairGenericParTSQLIo::writeSet().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<class type >
void FairParamObj::printData ( type *  val,
Int_t  nParams 
)
protected

Definition at line 403 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 403 of file FairParamList.cxx

References k.

Referenced by print().

+ Here is the caller graph for this function:

void FairParamObj::setClassVersion ( const Int_t  v)
inline

Definition at line 43 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 43 of file FairParamList.h

References classVersion, and v.

Referenced by FairParamList::addObject().

+ Here is the caller graph for this function:

UChar_t * FairParamObj::setLength ( Int_t  l)

Definition at line 314 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 314 of file FairParamList.cxx

References arraySize, and paramValue.

void FairParamObj::setParamType ( const Text_t *  t)

Definition at line 277 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 277 of file FairParamList.cxx

References basicType, bytesPerValue, classVersion, paramType, streamerInfo, streamerInfoSize, and t.

Referenced by FairParamList::addObject().

+ Here is the caller graph for this function:

void FairParamObj::setParamValue ( UChar_t *  value,
const Int_t  length 
)

Definition at line 327 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 327 of file FairParamList.cxx

References arraySize, G4BARRELHCAL::length, paramValue, and value.

Referenced by FairParamList::addObject().

+ Here is the caller graph for this function:

void FairParamObj::setStreamerInfo ( UChar_t *  array,
const Int_t  length 
)

Definition at line 348 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 348 of file FairParamList.cxx

References G4BARRELHCAL::length, streamerInfo, and streamerInfoSize.

Referenced by FairParamList::addObject().

+ Here is the caller graph for this function:

UChar_t * FairParamObj::setStreamerInfoSize ( Int_t  l)

Definition at line 335 of file FairParamList.cxx.

View newest version in sPHENIX GitHub at line 335 of file FairParamList.cxx

References streamerInfo, and streamerInfoSize.

Member Data Documentation

Int_t FairParamObj::arraySize
protected

Definition at line 20 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 20 of file FairParamList.h

Referenced by FairParamObj(), getLength(), getNumParams(), print(), setLength(), and setParamValue().

Bool_t FairParamObj::basicType
protected

Definition at line 22 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 22 of file FairParamList.h

Referenced by getNumParams(), isBasicType(), and setParamType().

Int_t FairParamObj::bytesPerValue
protected

Definition at line 23 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 23 of file FairParamList.h

Referenced by getBytesPerValue(), getNumParams(), and setParamType().

Int_t FairParamObj::classVersion
protected

Definition at line 24 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 24 of file FairParamList.h

Referenced by getClassVersion(), print(), setClassVersion(), and setParamType().

TString FairParamObj::paramType
protected

Definition at line 21 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 21 of file FairParamList.h

Referenced by getParamType(), print(), and setParamType().

UChar_t* FairParamObj::paramValue
protected

Definition at line 19 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 19 of file FairParamList.h

Referenced by FairParamObj(), getParamValue(), print(), setLength(), setParamValue(), and ~FairParamObj().

UChar_t* FairParamObj::streamerInfo
protected

Definition at line 25 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 25 of file FairParamList.h

Referenced by FairParamObj(), getStreamerInfo(), setParamType(), setStreamerInfo(), setStreamerInfoSize(), and ~FairParamObj().

Int_t FairParamObj::streamerInfoSize
protected

Definition at line 26 of file FairParamList.h.

View newest version in sPHENIX GitHub at line 26 of file FairParamList.h

Referenced by FairParamObj(), getStreamerInfoSize(), setParamType(), setStreamerInfo(), and setStreamerInfoSize().


The documentation for this class was generated from the following files: