/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Classes | Public Member Functions | Private Member Functions | Private Attributes
DbiConfigSet Class Reference

#include <DbiConfigSet.h>

Inheritance diagram for DbiConfigSet:
Inheritance graph
[legend]
Collaboration diagram for DbiConfigSet:
Collaboration graph
[legend]

List of all members.

Classes

struct  Param

Public Member Functions

 DbiConfigSet ()
virtual ~DbiConfigSet ()
virtual DbiTableRowCreateTableRow () const
Int_t GetAggregateNo () const
UInt_t GetNumParams () const
string GetParamName (UInt_t parNo) const
DbiFieldType GetParamType (UInt_t parNo) const
string GetParamValue (UInt_t parNo) const
DbiFieldType GetParamType (const std::string &name) const
string GetParamValue (const std::string &name) const
void Clear (const Option_t *="")
void PushBack (const string &name, const string &value, const DbiFieldType &type)
void SetAggregateNo (Int_t aggNo)
virtual void Fill (DbiResultSet &rs, const DbiValidityRec *vrec)
virtual void Store (DbiOutRowStream &ors, const DbiValidityRec *vrec) const
virtual std::string name () const
virtual size_t size () const
virtual Bool_t CanFixOrdering () const
virtual Bool_t CanL2Cache () const
virtual std::string GetExtraCondition () const
DbiResultGetOwner () const
virtual UInt_t GetIndex (UInt_t defIndex) const
void SetOwner (DbiResult *owner)
virtual bool CreateDatabaseTables (Int_t db_no=0, const char *tablename="default")
 Function to create the database tables.
virtual std::string GetDatabaseLayout ()
 Function to lay out the database table columns, used by CreateDatabaseTables.

Private Member Functions

 DbiConfigSet (const DbiConfigSet &from)

Private Attributes

std::vector< Param * > fParams
std::map< std::string, Param * > fParamMap
Int_t fAggregateNo
 Aggregate number or:-.

Detailed Description

Id:
DbiConfigSet.h,v 1.10 2006/08/08 10:51:32 west Exp

Definition at line 40 of file DbiConfigSet.h.


Constructor & Destructor Documentation

DbiConfigSet::DbiConfigSet ( ) [inline]

Definition at line 46 of file DbiConfigSet.h.

: fAggregateNo(-2) { };
virtual DbiConfigSet::~DbiConfigSet ( ) [virtual]
DbiConfigSet::DbiConfigSet ( const DbiConfigSet from) [private]

Member Function Documentation

virtual DbiTableRow* DbiConfigSet::CreateTableRow ( ) const [inline, virtual]

Implements DbiTableRow.

Definition at line 51 of file DbiConfigSet.h.

                                              { 
                                              return new DbiConfigSet; }
Int_t DbiConfigSet::GetAggregateNo ( ) const [inline, virtual]

Reimplemented from DbiTableRow.

Definition at line 53 of file DbiConfigSet.h.

{ return fAggregateNo; }
UInt_t DbiConfigSet::GetNumParams ( ) const [inline]

Definition at line 54 of file DbiConfigSet.h.

{ return fParams.size(); }
string DbiConfigSet::GetParamName ( UInt_t  parNo) const
DbiFieldType DbiConfigSet::GetParamType ( UInt_t  parNo) const
string DbiConfigSet::GetParamValue ( UInt_t  parNo) const
DbiFieldType DbiConfigSet::GetParamType ( const std::string &  name) const
string DbiConfigSet::GetParamValue ( const std::string &  name) const
void DbiConfigSet::Clear ( const Option_t *  = "") [inline]

Definition at line 64 of file DbiConfigSet.h.

{ fParams.clear(); }
void DbiConfigSet::PushBack ( const string &  name,
const string &  value,
const DbiFieldType type 
)
void DbiConfigSet::SetAggregateNo ( Int_t  aggNo) [inline]

Definition at line 68 of file DbiConfigSet.h.

{ fAggregateNo = aggNo; }
virtual void DbiConfigSet::Fill ( DbiResultSet rs,
const DbiValidityRec vrec 
) [virtual]

Implements DbiTableRow.

virtual void DbiConfigSet::Store ( DbiOutRowStream ors,
const DbiValidityRec vrec 
) const [virtual]

Reimplemented from DbiTableRow.

virtual std::string DbiTableRow::name ( ) const [virtual, inherited]
virtual size_t DbiTableRow::size ( ) const [virtual, inherited]
virtual Bool_t DbiTableRow::CanFixOrdering ( ) const [inline, virtual, inherited]

Definition at line 62 of file DbiTableRow.h.

{ return kFALSE; }
virtual Bool_t DbiTableRow::CanL2Cache ( ) const [inline, virtual, inherited]

Definition at line 63 of file DbiTableRow.h.

{ return kFALSE; }
virtual std::string DbiTableRow::GetExtraCondition ( ) const [inline, virtual, inherited]

Definition at line 64 of file DbiTableRow.h.

{ return std::string(""); }
DbiResult* DbiTableRow::GetOwner ( ) const [inline, inherited]

Definition at line 66 of file DbiTableRow.h.

{ return fOwner; }
virtual UInt_t DbiTableRow::GetIndex ( UInt_t  defIndex) const [inline, virtual, inherited]

Definition at line 68 of file DbiTableRow.h.

{return defIndex;}
void DbiTableRow::SetOwner ( DbiResult owner) [inline, inherited]

Definition at line 71 of file DbiTableRow.h.

{fOwner = owner;}
virtual bool DbiTableRow::CreateDatabaseTables ( Int_t  db_no = 0,
const char *  tablename = "default" 
) [virtual, inherited]

Function to create the database tables.

virtual std::string DbiTableRow::GetDatabaseLayout ( ) [virtual, inherited]

Function to lay out the database table columns, used by CreateDatabaseTables.

Reimplemented in DbiLogEntry.


Member Data Documentation

std::vector<Param*> DbiConfigSet::fParams [private]

Definition at line 100 of file DbiConfigSet.h.

std::map<std::string,Param*> DbiConfigSet::fParamMap [private]

Definition at line 101 of file DbiConfigSet.h.

Int_t DbiConfigSet::fAggregateNo [private]

Aggregate number or:-.

-1 Non-aggregated data or multiple aggregates -2 undefined aggregates

Definition at line 106 of file DbiConfigSet.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:56:45 for DatabaseInterface by doxygen 1.7.4