#include <vdbl_col.h>
Collaboration diagram for _VDBL_col:
Public Methods | |
_VDBL_col () | |
generic constructor | |
_VDBL_col (const _VDBL_col &__c) | |
copy constructor - using copy constructor overloading of the base class | |
_VDBL_col (__VDBL_colbase *__p) | |
template<class _RR> | _VDBL_col (const _RR &_c) |
virtual | ~_VDBL_col () |
standard destructor | |
void | setcontext (const context *_c, const _VDBL_row *_r) |
set the context for value retrieval | |
template<class _R> void | set (_VDBL_colbase< _R > *_p) |
template<class _R> void | get (_R &c) const |
template<class _R> void | def (_R &d) const |
template<class _R> void | get_ptr (_R const *&c) const |
template<class _R> void | get_copy (_R *&p) const |
template<class _R> void | def_copy (_R *&p) const |
void | get_copy (_VDBL_alltype_base *&v) const |
void | def_copy (_VDBL_alltype_base *&d) const |
const std::type_info & | return_type_id () const |
const __VDBL_colbase * | get_ptr_to_val () const |
Friends | |
std::ostream & | operator<< (std::ostream &o, const _VDBL_col &c) |
_VDBL_col
is the generic column class. It contains the actual data, and columns of this type are stored in rows. The copy constructor and operator<< are overloaded using the virtual functions defined in the __VDBL_colbase
and afterwards in the _VDBL_colbase<_T>
classes.
This is the third and final step in constructing columns of arbitrary type.
Definition at line 241 of file vdbl_col.h.
|
direct constructor - handle with care, no implicit copying is done, the destructor, however, will try to delete __p. This is mostly used VDBL internal. If you want to use it, you should KNOW WHAT YOU ARE DOING! Definition at line 260 of file vdbl_col.h. |
|
This is a generic type independent constructor. It produces a column of type _RR. The column data is copied, so it is save to destroy the Definition at line 365 of file vdbl_col.h. |
|
This function stores a copy of the column default value into Definition at line 379 of file vdbl_col.h. |
|
This version of Definition at line 396 of file vdbl_col.h. |
|
This function returns a pointer to a copy of the column's default value. The copy of the value is allocated by Definition at line 390 of file vdbl_col.h. |
|
This function stores a copy of the column value into Definition at line 376 of file vdbl_col.h. |
|
This version of Definition at line 393 of file vdbl_col.h. |
|
This function returns a pointer to a copy of the column's value. The copy of the value is allocated by Definition at line 386 of file vdbl_col.h. |
|
This function sets Definition at line 382 of file vdbl_col.h. |
|
This function is needed for the operator<< for columns of type Definition at line 348 of file vdbl_col.h. |
|
This function returns the Definition at line 341 of file vdbl_col.h. |
|
This function sets the data to the pointer passed. This is a direct set operation - handle with care, no implicit copying is done. The destructor, however, will try to delete __p. This is mostly used VDBL internal. If you want to use it, you should KNOW WHAT YOU ARE DOING! Definition at line 284 of file vdbl_col.h. |
|
The print operation for generic columns. This implicitely calls operator<< for the columns type. So it is necessary that this operator is indeed defined. Definition at line 359 of file vdbl_col.h. |