#include <vdbl_row.h>
Public Member Functions | |
_VDBL_row () | |
_VDBL_row (const _VDBL_row &__r) | |
virtual | ~_VDBL_row () |
const _VDBL_col & | get_col (const _VDBL_colid &_id, bool &error) const |
_VDBL_col & | get_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) |
Definition at line 54 of file vdbl_row.h.
_VDBL_row::_VDBL_row | ( | ) | [inline] |
standard constructor which optionally initializes the global ACL entry
Definition at line 67 of file vdbl_row.h.
_VDBL_row::_VDBL_row | ( | const _VDBL_row & | __r | ) | [inline] |
copy constructor
Definition at line 71 of file vdbl_row.h.
virtual _VDBL_row::~_VDBL_row | ( | ) | [inline, virtual] |
standard destructor
Definition at line 75 of file vdbl_row.h.
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 149 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 103 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 82 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 122 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 132 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 166 of file vdbl_row.h.