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

CdbRooNTupleSimpleImplR< E > Class Template Reference

An implementation of a base class for persistent n-tuples. More...

Inheritance diagram for CdbRooNTupleSimpleImplR< E >:

CdbRooNTupleR< E > CdbRooNTupleBaseR CdbRooObjectR List of all members.

Public Member Functions

 CdbRooNTupleSimpleImplR ()
 Default constructor.

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

virtual ~CdbRooNTupleSimpleImplR ()
 Destructor.

virtual UInt_t rows () const
 Get the number of rows in the tuple.

virtual CdbStatus get_row (std::vector< E > &theRow, const UInt_t theNumber) const
 Get a row at a specified position.

virtual CdbStatus append_row (const std::vector< E > &theRow)
 Append a row by the end of an existing list.


Detailed Description

template<class E>
class CdbRooNTupleSimpleImplR< E >

An implementation of a base class for persistent n-tuples.

This implementation uses the STD vector class for internal storing of n-tuple elements.

See also:
CdbRooNTupleBaseR

CdbRooNTupleR

Definition at line 18 of file CdbRooNTupleSimpleImplR.rdl.


Constructor & Destructor Documentation

template<class E>
CdbRooNTupleSimpleImplR< E >::CdbRooNTupleSimpleImplR  
 

Default constructor.

Is useless, but it's required by the ROOT I/O streamers. Any attempts to use an object constructed in this way would result in the corresponding errors reported.

Definition at line 19 of file CdbRooNTupleSimpleImplR.cc.

template<class E>
CdbRooNTupleSimpleImplR< E >::CdbRooNTupleSimpleImplR UInt_t    theNumberOfColumns,
const std::string &    theName,
const std::string &    theDescription,
const std::vector< std::string > &    theColumnNames
 

Constructor.

See also:
CdbRooNTupleBaseR::CdbRooNTupleBaseR

CdbRooNTupleR::CdbRooNTupleR

Definition at line 24 of file CdbRooNTupleSimpleImplR.cc.

template<class E>
CdbRooNTupleSimpleImplR< E >::~CdbRooNTupleSimpleImplR   [virtual]
 

Destructor.

Definition at line 35 of file CdbRooNTupleSimpleImplR.cc.


Member Function Documentation

template<class E>
CdbStatus CdbRooNTupleSimpleImplR< E >::append_row const std::vector< E > &    theRow [virtual]
 

Append a row by the end of an existing list.

Implements a virtual method defined in the base class.

See also:
CdbRooNTupleR::append_row

Implements CdbRooNTupleR< E >.

Definition at line 52 of file CdbRooNTupleSimpleImplR.cc.

References CdbRooNTupleBaseR::columns(), CdbStatus::IllegalParameters, and CdbStatus::Success.

template<class E>
CdbStatus CdbRooNTupleSimpleImplR< E >::get_row std::vector< E > &    theRow,
const UInt_t    theNumber
const [virtual]
 

Get a row at a specified position.

Implements a virtual method defined in the base class.

See also:
CdbRooNTupleR::get_row

Implements CdbRooNTupleR< E >.

Definition at line 40 of file CdbRooNTupleSimpleImplR.cc.

References CdbStatus::NotFound, CdbRooNTupleSimpleImplR< E >::rows(), and CdbStatus::Success.

template<class E>
virtual UInt_t CdbRooNTupleSimpleImplR< E >::rows   const [inline, virtual]
 

Get the number of rows in the tuple.

Implements a virtual method defined in the base class.

See also:
CdbRooNTupleR::rows

Implements CdbRooNTupleR< E >.

Definition at line 49 of file CdbRooNTupleSimpleImplR.rdl.

Referenced by CdbRooNTupleSimpleImplR< E >::get_row().


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