Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

row Class Reference
[Classes and types for external use]

class implementing table rows More...

#include <vdbl_row.h>

Inheritance diagram for row:

Inheritance graph
[legend]
Collaboration diagram for row:

Collaboration graph
[legend]
List of all members.

Public Methods

 row ()
 row (const row &__r)
 row (const _Base &__r)
row & operator= (const row &_x)
row & operator= (const _Base &_x)
const _VDBL_colget_col (const _VDBL_colid &_id, bool &error) const
_VDBL_colget_col (const _VDBL_colid &_id, bool &error)
bool has_col (const _VDBL_colid &_id) const
bool insert (const _VDBL_colid &_id, const _VDBL_col &_col)
bool drop (const _VDBL_colid &_id)
void update (const _VDBL_colid &_id, const _VDBL_col &_col)

Detailed Description

This class implements the rows of a table

Definition at line 179 of file vdbl_row.h.


Constructor & Destructor Documentation

row::row   [inline]
 

standard constructor

Definition at line 190 of file vdbl_row.h.

row::row const row &    __r [inline]
 

copy constructor

Definition at line 194 of file vdbl_row.h.

row::row const _Base &    __r [inline]
 

copy constructor from internal class

Definition at line 198 of file vdbl_row.h.


Member Function Documentation

bool _VDBL_row::drop const _VDBL_colid   _id [inline, inherited]
 

remove the column with id _id from this row. Return true if erasing was successful, and false if the column does not exist.

Definition at line 148 of file vdbl_row.h.

_VDBL_col& _VDBL_row::get_col const _VDBL_colid   _id,
bool &    error
[inline, inherited]
 

get a reference to the column with id _id. If the column existed, error will be false, otherwise error will be true.

Definition at line 102 of file vdbl_row.h.

const _VDBL_col& _VDBL_row::get_col const _VDBL_colid   _id,
bool &    error
const [inline, inherited]
 

get a const reference to the column with id _id. If the column existed, error will be false, otherwise error will be true.

Definition at line 81 of file vdbl_row.h.

bool _VDBL_row::has_col const _VDBL_colid   _id const [inline, inherited]
 

return whether a column with id _id exists in this row.

Definition at line 121 of file vdbl_row.h.

bool _VDBL_row::insert const _VDBL_colid   _id,
const _VDBL_col   _col
[inline, inherited]
 

insert the new column _col with id _id in this row. If this id exists, return false, otherwise return true.

Definition at line 131 of file vdbl_row.h.

row& row::operator= const _Base &    _x [inline]
 

assignment operator from internal class

Definition at line 211 of file vdbl_row.h.

row& row::operator= const row &    _x [inline]
 

assignment operator

Definition at line 203 of file vdbl_row.h.

void _VDBL_row::update const _VDBL_colid   _id,
const _VDBL_col   _col
[inline, inherited]
 

update the column with id _id with the value _col. If the column does not yet exist, insert it. Otherwise, change its value.

Definition at line 165 of file vdbl_row.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:29:41 2003 for Vienna Database Library by doxygen1.2.18