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 Member Functions

 row ()
 row (const row &__r)
 row (const _Base &__r)
rowoperator= (const row &_x)
rowoperator= (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 180 of file vdbl_row.h.


Constructor & Destructor Documentation

row::row (  )  [inline]

standard constructor

Definition at line 191 of file vdbl_row.h.

row::row ( const row __r  )  [inline]

copy constructor

Definition at line 195 of file vdbl_row.h.

row::row ( const _Base __r  )  [inline]

copy constructor from internal class

Definition at line 199 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 149 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 103 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 82 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 122 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 132 of file vdbl_row.h.

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

assignment operator from internal class

Definition at line 212 of file vdbl_row.h.

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

assignment operator

Definition at line 204 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 166 of file vdbl_row.h.


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

Generated on Tue Feb 9 14:59:55 2010 for Vienna Database Library by  doxygen 1.5.8