#include <CdbNTupleSimpleImpl.hh>
Inheritance diagram for CdbNTupleSimpleImpl< T, NCOL >:

Public Member Functions | |
| virtual CdbNTuple< T, NCOL > * | clone () const |
| Make a ("deep") clone of a tuple. | |
| virtual unsigned int | rows () const |
| Get the current size (the number of rows) of n-tuple. | |
| virtual CdbStatus | set_rows (unsigned int theNewSize) |
| Resize the current size (the number of rows) of n-tuple. | |
| virtual CdbStatus | set_rows (unsigned int theNewSize, const T &thePrototype) |
| Resize the current size (the number of rows) of n-tuple using a prototype. | |
| virtual CdbStatus | append_row (const std::vector< T > &theRow) |
| Append a new row. | |
| virtual CdbStatus | insert_row (const std::vector< T > &theRow, unsigned int theRowNumber) |
| Insert a whole row of elements after the specified one. | |
| virtual CdbStatus | replace_row (const std::vector< T > &theRow, unsigned int theRowNumber) |
| Replace a whole row of elements at specified position. | |
| virtual CdbStatus | get_row (std::vector< T > &theRow, unsigned int theRowNumber) const |
| Get a whole row of elements. | |
| virtual CdbStatus | get_column (std::vector< T > &theColumn, unsigned int theColumnNumber) const |
| Get a whole column by its number. | |
| virtual CdbStatus | get_column (std::vector< T > &theColumn, const std::string &theColumnName) const |
| Get a whole column by its name. | |
| virtual CdbStatus | get_element (T &theValue, unsigned int theRowNumber, unsigned int theColumnNumber) const |
| Read an element (specify column by its number). | |
| virtual CdbStatus | get_element (T &theValue, unsigned int theRowNumber, const std::string &theColumnName) const |
| Read an element (specify column by its name). | |
| virtual CdbStatus | set_element (const T &theValue, unsigned int theRowNumber, unsigned int theColumnNumber) |
| Update a single an element (specify column by its number). | |
| virtual CdbStatus | set_element (const T &theValue, unsigned int theRowNumber, const std::string &theColumnName) |
| Update a single an element (specify column by its name). | |
| virtual CdbStatus | find_row (CdbItr< unsigned int > &theIterator, unsigned int theColumnNumber, const T &theValue) const |
| Find all rows whose elements at specified (by its number) column have this value. | |
| virtual CdbStatus | find_row (CdbItr< unsigned int > &theIterator, const std::string &theColumnName, const T &theValue) const |
| Find all rows whose elements at specified (by its name) column have this value. | |
| virtual CdbStatus | sort (const CdbNTupleIsLessComparator< T, NCOL > *theComparatorPtr) |
| Sort rows using specified comparator. | |
Protected Member Functions | |
| CdbNTupleSimpleImpl () | |
| The default constructor. | |
| CdbNTupleSimpleImpl (const std::string &theName, const std::string &theDescription) | |
| The constructor. | |
| CdbNTupleSimpleImpl (const std::vector< std::string > &theCollumnNames, const std::string &theName, const std::string &theDescription) | |
| The constructor. | |
| CdbNTupleSimpleImpl (const CdbNTupleSimpleImpl< T, NCOL > &theOther) | |
| The copy constructor. | |
| CdbNTupleSimpleImpl< T, NCOL > & | operator= (const CdbNTupleSimpleImpl< T, NCOL > &theOther) |
| The assignment operator. | |
| virtual | ~CdbNTupleSimpleImpl () |
| The destructor. | |
Friends | |
| class | CdbNTupleFactory< T, NCOL > |
This implementation stores n-tuple as an STL vector of rows.
Definition at line 21 of file CdbNTupleSimpleImpl.hh.
|
|||||||||
|
The default constructor.
Definition at line 239 of file CdbNTupleSimpleImpl.cc. |
|
||||||||||||||||
|
The constructor.
Definition at line 244 of file CdbNTupleSimpleImpl.cc. |
|
||||||||||||||||||||
|
The constructor.
Definition at line 251 of file CdbNTupleSimpleImpl.cc. |
|
||||||||||
|
The copy constructor. Copy the local context. Definition at line 260 of file CdbNTupleSimpleImpl.cc. |
|
|||||||||
|
The destructor.
Definition at line 266 of file CdbNTupleSimpleImpl.cc. |
|
||||||||||
|
Append a new row.
Implements CdbNTuple< T, NCOL >. Definition at line 316 of file CdbNTupleSimpleImpl.cc. References CdbStatus::Success. |
|
|||||||||
|
Make a ("deep") clone of a tuple.
Implements CdbNTuple< T, NCOL >. Definition at line 282 of file CdbNTupleSimpleImpl.cc. |
|
||||||||||||||||||||
|
Find all rows whose elements at specified (by its name) column have this value.
Definition at line 458 of file CdbNTupleSimpleImpl.cc. References CdbNTupleBase::column_number(), CdbNTupleSimpleImpl< T, NCOL >::find_row(), CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
||||||||||||||||||||
|
Find all rows whose elements at specified (by its number) column have this value.
Definition at line 444 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. Referenced by CdbNTupleSimpleImpl< T, NCOL >::find_row(). |
|
||||||||||||||||
|
Get a whole column by its name.
Implements CdbNTuple< T, NCOL >. Definition at line 376 of file CdbNTupleSimpleImpl.cc. References CdbNTupleBase::column_number(), CdbNTupleSimpleImpl< T, NCOL >::get_column(), CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
||||||||||||||||
|
Get a whole column by its number.
Implements CdbNTuple< T, NCOL >. Definition at line 362 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. Referenced by CdbNTupleSimpleImpl< T, NCOL >::get_column(). |
|
||||||||||||||||||||
|
Read an element (specify column by its name).
Implements CdbNTuple< T, NCOL >. Definition at line 402 of file CdbNTupleSimpleImpl.cc. References CdbNTupleBase::column_number(), CdbNTupleSimpleImpl< T, NCOL >::get_element(), CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
||||||||||||||||||||
|
Read an element (specify column by its number).
Implements CdbNTuple< T, NCOL >. Definition at line 388 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. Referenced by CdbNTupleSimpleImpl< T, NCOL >::get_element(). |
|
||||||||||||||||
|
Get a whole row of elements.
Implements CdbNTuple< T, NCOL >. Definition at line 350 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
||||||||||||||||
|
Insert a whole row of elements after the specified one.
Implements CdbNTuple< T, NCOL >. Definition at line 325 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
||||||||||
|
The assignment operator. Copy the local context. Definition at line 271 of file CdbNTupleSimpleImpl.cc. References CdbNTupleSimpleImpl< T, NCOL >::_data, and CdbNTuple< T, NCOL >::operator=(). |
|
||||||||||||||||
|
Replace a whole row of elements at specified position.
Implements CdbNTuple< T, NCOL >. Definition at line 338 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
|||||||||
|
Get the current size (the number of rows) of n-tuple.
Implements CdbNTuple< T, NCOL >. Definition at line 289 of file CdbNTupleSimpleImpl.cc. |
|
||||||||||||||||||||
|
Update a single an element (specify column by its name).
Implements CdbNTuple< T, NCOL >. Definition at line 430 of file CdbNTupleSimpleImpl.cc. References CdbNTupleBase::column_number(), CdbStatus::IllegalParameters, CdbNTupleSimpleImpl< T, NCOL >::set_element(), and CdbStatus::Success. |
|
||||||||||||||||||||
|
Update a single an element (specify column by its number).
Implements CdbNTuple< T, NCOL >. Definition at line 416 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. Referenced by CdbNTupleSimpleImpl< T, NCOL >::set_element(). |
|
||||||||||||||||
|
Resize the current size (the number of rows) of n-tuple using a prototype.
Implements CdbNTuple< T, NCOL >. Definition at line 305 of file CdbNTupleSimpleImpl.cc. References CdbStatus::Success. |
|
||||||||||
|
Resize the current size (the number of rows) of n-tuple.
Implements CdbNTuple< T, NCOL >. Definition at line 296 of file CdbNTupleSimpleImpl.cc. References CdbStatus::Success. |
|
||||||||||
|
Sort rows using specified comparator.
Implements CdbNTuple< T, NCOL >. Definition at line 520 of file CdbNTupleSimpleImpl.cc. References CdbStatus::IllegalParameters, and CdbStatus::Success. |
|
|||||
|
Definition at line 23 of file CdbNTupleSimpleImpl.hh. |
1.3-rc3