HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HParamObj Class Reference

#include <hparamlist.h>

Inheritance diagram for HParamObj:
Collaboration diagram for HParamObj:

Public Member Functions

 HParamObj (const Text_t *name="")
 
 HParamObj (HParamObj &)
 
 HParamObj (const Text_t *, Int_t)
 
 HParamObj (const Text_t *, UInt_t)
 
 HParamObj (const Text_t *, Float_t)
 
 HParamObj (const Text_t *, Double_t)
 
 HParamObj (const Text_t *, const Int_t *, const Int_t)
 
 HParamObj (const Text_t *, const UInt_t *, const Int_t)
 
 HParamObj (const Text_t *, const Float_t *, const Int_t)
 
 HParamObj (const Text_t *, const Double_t *, const Int_t)
 
 HParamObj (const Text_t *, const Text_t *)
 
 HParamObj (const Text_t *, const Char_t *, const Int_t)
 
 HParamObj (const Text_t *, const UChar_t *, const Int_t)
 
 ~HParamObj ()
 
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)
 
void printHexData (UInt_t *, 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
 

Detailed Description

Definition at line 14 of file hparamlist.h.

Constructor & Destructor Documentation

HParamObj::HParamObj ( const Text_t *  name = "")
HParamObj::HParamObj ( const Text_t *  name,
Int_t  value 
)

Definition at line 122 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

HParamObj::HParamObj ( const Text_t *  name,
UInt_t  value 
)

Definition at line 131 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

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

Definition at line 140 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

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

Definition at line 149 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

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

Definition at line 158 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

HParamObj::HParamObj ( const Text_t *  name,
const UInt_t *  value,
const Int_t  nValues 
)

Definition at line 167 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

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

Definition at line 176 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

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

Definition at line 185 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

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

Definition at line 194 of file hparamlist.cc.

References arraySize, paramValue, and setParamType().

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

Definition at line 203 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

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

Definition at line 212 of file hparamlist.cc.

References arraySize, bytesPerValue, paramValue, and setParamType().

HParamObj::~HParamObj ( )

Definition at line 221 of file hparamlist.cc.

References paramValue, and streamerInfo.

Member Function Documentation

Int_t HParamObj::getBytesPerValue ( )
inline

Definition at line 48 of file hparamlist.h.

References bytesPerValue.

Referenced by HParamObj().

Int_t HParamObj::getClassVersion ( )
inline

Definition at line 49 of file hparamlist.h.

References classVersion.

Referenced by HParamList::fillObject(), and HParamObj().

Int_t HParamObj::getLength ( )
inline
Int_t HParamObj::getNumParams ( )
const char* HParamObj::getParamType ( )
inline
UChar_t* HParamObj::getParamValue ( )
inline
UChar_t* HParamObj::getStreamerInfo ( )
inline

Definition at line 52 of file hparamlist.h.

References streamerInfo.

Referenced by HParamList::fillObject(), and HParamObj().

Int_t HParamObj::getStreamerInfoSize ( )
inline

Definition at line 53 of file hparamlist.h.

References streamerInfoSize.

Referenced by HParamList::fillObject(), and HParamObj().

Bool_t HParamObj::isBasicType ( )
inline

Definition at line 46 of file hparamlist.h.

References basicType.

Referenced by HParamObj(), and HCondParAsciiFileIo::writeCond().

void HParamObj::print ( void  )

Definition at line 322 of file hparamlist.cc.

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

Referenced by HParamList::print().

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

Definition at line 361 of file hparamlist.cc.

Referenced by print().

void HParamObj::printHexData ( UInt_t *  val,
Int_t  nParams 
)
protected

Definition at line 380 of file hparamlist.cc.

Referenced by print().

void HParamObj::setClassVersion ( const Int_t  v)
inline

Definition at line 42 of file hparamlist.h.

Referenced by HParamList::addObject().

UChar_t * HParamObj::setLength ( Int_t  l)

Definition at line 275 of file hparamlist.cc.

References arraySize, and paramValue.

Referenced by HCondParAsciiFileIo::readCond().

void HParamObj::setParamType ( const Text_t *  t)
void HParamObj::setParamValue ( UChar_t *  value,
const Int_t  length 
)

Definition at line 287 of file hparamlist.cc.

References arraySize, and paramValue.

Referenced by HParamList::addObject().

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

Definition at line 306 of file hparamlist.cc.

References streamerInfo, and streamerInfoSize.

Referenced by HParamList::addObject().

UChar_t * HParamObj::setStreamerInfoSize ( Int_t  l)

Definition at line 294 of file hparamlist.cc.

References streamerInfo, and streamerInfoSize.

Member Data Documentation

Int_t HParamObj::arraySize
protected

Definition at line 17 of file hparamlist.h.

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

Bool_t HParamObj::basicType
protected

Definition at line 19 of file hparamlist.h.

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

Int_t HParamObj::bytesPerValue
protected

Definition at line 20 of file hparamlist.h.

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

Int_t HParamObj::classVersion
protected

Definition at line 21 of file hparamlist.h.

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

TString HParamObj::paramType
protected

Definition at line 18 of file hparamlist.h.

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

UChar_t* HParamObj::paramValue
protected

Definition at line 16 of file hparamlist.h.

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

UChar_t* HParamObj::streamerInfo
protected
Int_t HParamObj::streamerInfoSize
protected

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