coco::dbt_row Class Reference
[Database Interface]

This type is used to hold one row in some table of the search database. More...

#include <dbbasic.h>

List of all members.

Public Member Functions

 dbt_row ()
template<class _TC >
 dbt_row (const std::string &nm, const _TC &cont)
template<class _TC >
 dbt_row (const char *nm, const _TC &cont)
 dbt_row (const dbt_row &dr)
 ~dbt_row ()
const _Base & row () const
_Base & row ()
template<class _TC >
void add (const std::string &nm, const _TC &cont)
template<class _TC >
void add (const char *nm, const _TC &cont)


Detailed Description

Variables of this type are used to assemble a row as a collection of column values for communication with the search database.

Definition at line 42 of file dbbasic.h.


Constructor & Destructor Documentation

coco::dbt_row::dbt_row (  )  [inline]

Standard Constructor

Definition at line 51 of file dbbasic.h.

template<class _TC >
coco::dbt_row::dbt_row ( const std::string &  nm,
const _TC &  cont 
) [inline]

Constructor initializing the dbt_row with one column of name nm containing cont.

Definition at line 55 of file dbbasic.h.

template<class _TC >
coco::dbt_row::dbt_row ( const char *  nm,
const _TC &  cont 
) [inline]

Constructor initializing the dbt_row with one column of name nm containing cont.

Definition at line 59 of file dbbasic.h.

coco::dbt_row::dbt_row ( const dbt_row dr  )  [inline]

Standard Copy Constructor

Definition at line 62 of file dbbasic.h.

coco::dbt_row::~dbt_row (  )  [inline]

Standard Destructor

Definition at line 65 of file dbbasic.h.


Member Function Documentation

template<class _TC >
void coco::dbt_row::add ( const char *  nm,
const _TC &  cont 
) [inline]

This method adds a new column with name nm containing cont.

Definition at line 89 of file dbbasic.h.

template<class _TC >
void coco::dbt_row::add ( const std::string &  nm,
const _TC &  cont 
) [inline]

This method adds a new column with name nm containing cont.

Definition at line 83 of file dbbasic.h.

_Base& coco::dbt_row::row (  )  [inline]

Return the row contents of the dbt_row.

Definition at line 71 of file dbbasic.h.

const _Base& coco::dbt_row::row (  )  const [inline]

Return the row contents of the dbt_row.

Definition at line 68 of file dbbasic.h.


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

Generated on Tue Feb 9 14:48:02 2010 for COCONUT API by  doxygen 1.5.8