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

alltype< _T > Class Template Reference
[Classes and types for external use]

The templated alltype class. More...

#include <vdbl_alltype.h>

Inheritance diagram for alltype< _T >:

Inheritance graph
[legend]
Collaboration diagram for alltype< _T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef _Base::cont_type cont_type
 the type of the internally stored data


Public Methods

const std::type_info & get_type () const
const cont_typecontent () const
bool operator== (const _Self &p)

Detailed Description

template<class _T>
class alltype< _T >

This class is used to hold data of arbitrary types. It is manly used as return value.

Data stored in this class has to provide a copy constructor, an assignment operator.

Finaly, it would be useful if the stored type has a '<<'operator.

Definition at line 611 of file vdbl_alltype.h.


Member Function Documentation

const cont_type& _VDBL_alltype< _T >::content   const [inline, inherited]
 

This method returns a const reference to the stored data

Definition at line 139 of file vdbl_alltype.h.

const std::type_info& _VDBL_alltype< _T >::get_type   const [inline, inherited]
 

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.

bool _VDBL_alltype< _T >::operator== const _Self &    p [inline, inherited]
 

The standard comparison operators are mainly used for expressions and selectors.

Definition at line 160 of file vdbl_alltype.h.


The documentation for this class was generated from the following file:
Generated on Tue Nov 4 01:29:36 2003 for Vienna Database Library by doxygen1.2.18