Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

CdbBdbNTupleBaseP Class Reference

An abstract base class for persistent n-tuples. More...

Inheritance diagram for CdbBdbNTupleBaseP:

CdbBdbNTupleP< E > CdbBdbNTupleP< ooVString > CdbBdbNTupleSimpleImplP< E > CdbBdbNTupleSimpleImplP_ooVString List of all members.

Public Member Functions

virtual ~CdbBdbNTupleBaseP ()
 Destructor.

d_ULong columns () const
 Get the number of columns.

std::string name () const
 Get the name.

std::string description () const
 Get the description.

void column_names (std::vector< std::string > &theColumnNames) const
 Get column names.


Protected Member Functions

 CdbBdbNTupleBaseP (d_ULong theNumberOfColumns, const std::string &theName, const std::string &theDescription, const std::vector< std::string > &theColumnNames)
 Constructor.


Detailed Description

An abstract base class for persistent n-tuples.

This class carries the configuration and metadata information about specific n-tuples. This information includes:

RESTRICTIONS:

(1) Columns are numbered beginning from 0.

(2) The number of columns passed to the constructor(s) of the class must be greater than 0. Otherwise an assertion in the constructor(s) would be imminent.

Definition at line 32 of file CdbBdbNTupleBaseP.ddl.


Constructor & Destructor Documentation

CdbBdbNTupleBaseP::CdbBdbNTupleBaseP d_ULong    theNumberOfColumns,
const std::string &    theName,
const std::string &    theDescription,
const std::vector< std::string > &    theColumnNames
[protected]
 

Constructor.

All parameters are required

Definition at line 91 of file CdbBdbNTupleBaseP.cc.

CdbBdbNTupleBaseP::~CdbBdbNTupleBaseP   [virtual]
 

Destructor.

Definition at line 105 of file CdbBdbNTupleBaseP.cc.


Member Function Documentation

void CdbBdbNTupleBaseP::column_names std::vector< std::string > &    theColumnNames const
 

Get column names.

Definition at line 128 of file CdbBdbNTupleBaseP.cc.

d_ULong CdbBdbNTupleBaseP::columns   const
 

Get the number of columns.

Definition at line 110 of file CdbBdbNTupleBaseP.cc.

Referenced by CdbBdbNTupleSimpleImplP_ooVString::append_row(), CdbBdbNTupleSimpleImplP< E >::append_row(), CdbBdbNTupleSimpleImplP_ooVString::get_row(), CdbBdbNTupleSimpleImplP< E >::get_row(), CdbBdbNTupleSimpleImplP_ooVString::repack(), and CdbBdbNTupleSimpleImplP< E >::repack().

std::string CdbBdbNTupleBaseP::description   const
 

Get the description.

Definition at line 122 of file CdbBdbNTupleBaseP.cc.

std::string CdbBdbNTupleBaseP::name   const
 

Get the name.

Definition at line 116 of file CdbBdbNTupleBaseP.cc.


The documentation for this class was generated from the following files:
Generated on Mon Dec 5 18:22:17 2005 for CDB by doxygen1.3-rc3