#include <vdbl_alltype.h>
Inheritance diagram for _VDBL_alltype< _R >:
Public Types | |
typedef _R | cont_type |
The type this object holds. | |
Public Methods | |
_VDBL_alltype () | |
_VDBL_alltype (const cont_type &_p) | |
_VDBL_alltype (cont_type *_p) | |
virtual | ~_VDBL_alltype () |
const std::type_info & | get_type () const |
const cont_type & | content () const |
void | operator= (const void *p) |
void | operator= (const cont_type *p) |
bool | operator== (const _Self &p) |
bool | operator!= (const _Self &p) |
Definition at line 90 of file vdbl_alltype.h.
|
This is the empty constructor which produces an empty all_type Definition at line 110 of file vdbl_alltype.h. |
|
The standard copy constructor allocates a new data member. Note, that valid data members must provide a copy constructor. Definition at line 116 of file vdbl_alltype.h. |
|
this constructor is for direct setting of ALREADY allocated values! ONLY use this constructor with pointers whose contents have been allocated using new! This constructor is merely used VDBL internal. Definition at line 123 of file vdbl_alltype.h. |
|
The destructor removes the allocated data to prevent memory leaks. Definition at line 128 of file vdbl_alltype.h. |
|
This method returns a const reference to the stored data Definition at line 139 of file vdbl_alltype.h. |
|
This member function is used for run-time type checking. It returns the @typeid of the @cont_type. Definition at line 134 of file vdbl_alltype.h. |
|
The standard comparison operators are mainly used for expressions and selectors. Definition at line 163 of file vdbl_alltype.h. |
|
The assignment operators can take either pointers to the @cont_type or void pointers. Anyway, the data passed is copied and reallocated. So it is safe to use or destroy the data passed after the assignment operator has been called. Definition at line 151 of file vdbl_alltype.h. |
|
The assignment operators can take either pointers to the @cont_type or void pointers. Anyway, the data passed is copied and reallocated. So it is safe to use or destroy the data passed after the assignment operator has been called. Definition at line 148 of file vdbl_alltype.h. |
|
The standard comparison operators are mainly used for expressions and selectors. Definition at line 160 of file vdbl_alltype.h. |