HARPO  5.1.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Attributes
HarpoDBRow Class Reference

#include <HarpoDB.h>

Public Member Functions

 HarpoDBRow ()
 
virtual ~HarpoDBRow ()
 
void list ()
 list all fields with values More...
 
Bool_t Lookup (const TString field)
 Lookup filed exist. More...
 
Bool_t GetVal (const TString field, TString &val)
 Return value of existing field in Tstring. More...
 
Bool_t SetVal (const TString field, TString val)
 
Bool_t SetVal (const TString field, Long_t val)
 
Bool_t SetVal (const TString field, Double_t val)
 
dbFieldsGetFields ()
 
void SetFields (dbFields f)
 
void Erase (const TString &field)
 
Long_t GetNrun ()
 Get method for run number of this record. More...
 
void SetRun (Long_t r)
 

Private Attributes

Long_t run
 
dbFields fields
 

Detailed Description

Class which hold one db row with information for give run

Definition at line 24 of file HarpoDB.h.

Constructor & Destructor Documentation

HarpoDBRow::HarpoDBRow ( )
inline

Definition at line 27 of file HarpoDB.h.

virtual HarpoDBRow::~HarpoDBRow ( )
inlinevirtual

Definition at line 28 of file HarpoDB.h.

Member Function Documentation

void HarpoDBRow::Erase ( const TString &  field)
inline

Definition at line 50 of file HarpoDB.h.

dbFields& HarpoDBRow::GetFields ( )
inline

Definition at line 45 of file HarpoDB.h.

Here is the caller graph for this function:

Long_t HarpoDBRow::GetNrun ( )
inline

Get method for run number of this record.

Definition at line 53 of file HarpoDB.h.

Here is the caller graph for this function:

Bool_t HarpoDBRow::GetVal ( const TString  field,
TString &  val 
)

Return value of existing field in Tstring.

Definition at line 311 of file HarpoDB.cxx.

Here is the caller graph for this function:

void HarpoDBRow::list ( )

list all fields with values

Definition at line 274 of file HarpoDB.cxx.

Here is the caller graph for this function:

Bool_t HarpoDBRow::Lookup ( const TString  field)

Lookup filed exist.

Definition at line 299 of file HarpoDB.cxx.

Here is the caller graph for this function:

void HarpoDBRow::SetFields ( dbFields  f)

Definition at line 345 of file HarpoDB.cxx.

Here is the caller graph for this function:

void HarpoDBRow::SetRun ( Long_t  r)
inline

Definition at line 54 of file HarpoDB.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Bool_t HarpoDBRow::SetVal ( const TString  field,
TString  val 
)

Definition at line 322 of file HarpoDB.cxx.

Here is the caller graph for this function:

Bool_t HarpoDBRow::SetVal ( const TString  field,
Long_t  val 
)

Definition at line 332 of file HarpoDB.cxx.

Bool_t HarpoDBRow::SetVal ( const TString  field,
Double_t  val 
)

Definition at line 338 of file HarpoDB.cxx.

Field Documentation

dbFields HarpoDBRow::fields
private

Definition at line 59 of file HarpoDB.h.

Long_t HarpoDBRow::run
private

Definition at line 58 of file HarpoDB.h.


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