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

_VDBL_row Class Reference
[Classes and types for internal use]

row class More...

#include <vdbl_row.h>

Inheritance diagram for _VDBL_row:

Inheritance graph
[legend]
List of all members.

Public Methods

 _VDBL_row ()
 _VDBL_row (const _VDBL_row &__r)
virtual ~_VDBL_row ()
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 rows of a table as a map column id -> column

Definition at line 53 of file vdbl_row.h.


Constructor & Destructor Documentation

_VDBL_row::_VDBL_row   [inline]
 

standard constructor which optionally initializes the global ACL entry

Definition at line 66 of file vdbl_row.h.

_VDBL_row::_VDBL_row const _VDBL_row &    __r [inline]
 

copy constructor

Definition at line 70 of file vdbl_row.h.

virtual _VDBL_row::~_VDBL_row   [inline, virtual]
 

standard destructor

Definition at line 74 of file vdbl_row.h.


Member Function Documentation

bool _VDBL_row::drop const _VDBL_colid   _id [inline]
 

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]
 

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]
 

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]
 

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]
 

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.

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

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:26 2003 for Vienna Database Library by doxygen1.2.18