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

_VDBL_mixtype Class Reference
[Classes and types for internal use]

mixed type More...

#include <vdbl_alltype.h>

Collaboration diagram for _VDBL_mixtype:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~_VDBL_mixtype ()
 destructor

 _VDBL_mixtype (const _VDBL_mixtype &__a)
 copy constructor

_VDBL_mixtype & operator= (const _VDBL_mixtype &__a)
 assignment operator

_VDBL_mixtype & clear ()
 deallocate all data and reset the mixtype to its empty state

bool is_vector () const
 returns whether the mixtype stores a vector

bool empty () const
 returns whether the mixtype is empty

 _VDBL_mixtype ()
 _VDBL_mixtype (bool __x)
 _VDBL_mixtype (int __x)
 _VDBL_mixtype (double __x)
 _VDBL_mixtype (unsigned int __x)
 _VDBL_mixtype (_VDBL_date __x)
 _VDBL_mixtype (_VDBL_dateinterval __x)
 _VDBL_mixtype (const char *__cp)
 _VDBL_mixtype (const std::string &__x)
 _VDBL_mixtype (const std::vector< bool > &__x)
 _VDBL_mixtype (const std::vector< int > &__x)
 _VDBL_mixtype (const std::vector< double > &__x)
 _VDBL_mixtype (const std::vector< unsigned int > &__x)
_VDBL_mixtype & operator= (bool __x)
_VDBL_mixtype & operator= (int __x)
_VDBL_mixtype & operator= (double __x)
_VDBL_mixtype & operator= (unsigned int __x)
_VDBL_mixtype & operator= (const _VDBL_date &__x)
_VDBL_mixtype & operator= (const _VDBL_dateinterval &__x)
_VDBL_mixtype & operator= (const std::string &__x)
_VDBL_mixtype & operator= (const char *__x)
_VDBL_mixtype & operator= (const std::vector< bool > &__x)
_VDBL_mixtype & operator= (const std::vector< int > &__x)
_VDBL_mixtype & operator= (const std::vector< double > &__x)
_VDBL_mixtype & operator= (const std::vector< unsigned int > &__x)
bool nb () const
int nn () const
double nd () const
unsigned int nu () const
_VDBL_date dt () const
_VDBL_dateinterval di () const
std::string & s () const
std::vector< bool > & b () const
std::vector< int > & n () const
std::vector< double > & d () const
std::vector< unsigned int > & u () const

Detailed Description

This is an alternative definition of something like an all_type. It has a useful copy constructor and could be used as column type. The class can hold data of several basic types: Data is allocated and destroyed automatically.

Definition at line 316 of file vdbl_alltype.h.


Constructor & Destructor Documentation

_VDBL_mixtype::_VDBL_mixtype   [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 418 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype bool    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 419 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype int    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 421 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype double    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 423 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype unsigned int    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 425 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype _VDBL_date    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 427 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype _VDBL_dateinterval    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 429 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype const char *    __cp [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 431 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype const std::string &    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 433 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype const std::vector< bool > &    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 435 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype const std::vector< int > &    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 437 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype const std::vector< double > &    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 439 of file vdbl_alltype.h.

_VDBL_mixtype::_VDBL_mixtype const std::vector< unsigned int > &    __x [inline]
 

For every type which can be stored there exists a constructor. The constructor without arguments produces an empty _VDBL_mixtype, and a const char * argument is stored as a string.

Definition at line 442 of file vdbl_alltype.h.


Member Function Documentation

std::vector<bool>& _VDBL_mixtype::b   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 558 of file vdbl_alltype.h.

std::vector<double>& _VDBL_mixtype::d   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 560 of file vdbl_alltype.h.

_VDBL_dateinterval _VDBL_mixtype::di   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 556 of file vdbl_alltype.h.

_VDBL_date _VDBL_mixtype::dt   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 555 of file vdbl_alltype.h.

std::vector<int>& _VDBL_mixtype::n   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 559 of file vdbl_alltype.h.

bool _VDBL_mixtype::nb   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 551 of file vdbl_alltype.h.

double _VDBL_mixtype::nd   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 553 of file vdbl_alltype.h.

int _VDBL_mixtype::nn   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 552 of file vdbl_alltype.h.

unsigned int _VDBL_mixtype::nu   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 554 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const std::vector< unsigned int > &    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 520 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const std::vector< double > &    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 514 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const std::vector< int > &    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 508 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const std::vector< bool > &    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 502 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const char *    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 496 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const std::string &    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 490 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const _VDBL_dateinterval   __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 485 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= const _VDBL_date   __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 480 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= unsigned int    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 475 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= double    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 470 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= int    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 465 of file vdbl_alltype.h.

_VDBL_mixtype& _VDBL_mixtype::operator= bool    __x [inline]
 

For every type which can be stored there exists an assignment operator, and a const char * argument is stored as a string.

Definition at line 460 of file vdbl_alltype.h.

std::string& _VDBL_mixtype::s   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 557 of file vdbl_alltype.h.

std::vector<unsigned int>& _VDBL_mixtype::u   const [inline]
 

Retrieve the value of the appropriate type. Note, that no internal type checking is done, whatsoever. So you should have a good idea what is stored in the mixtype, if you want to call one of the retrieval routines.

Definition at line 561 of file vdbl_alltype.h.


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