_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 Member Functions

virtual ~_VDBL_mixtype ()
 destructor
 _VDBL_mixtype (const _VDBL_mixtype &__a)
 copy constructor
_VDBL_mixtypeoperator= (const _VDBL_mixtype &__a)
 assignment operator
_VDBL_mixtypeclear ()
 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_mixtypeoperator= (bool __x)
_VDBL_mixtypeoperator= (int __x)
_VDBL_mixtypeoperator= (double __x)
_VDBL_mixtypeoperator= (unsigned int __x)
_VDBL_mixtypeoperator= (const _VDBL_date &__x)
_VDBL_mixtypeoperator= (const _VDBL_dateinterval &__x)
_VDBL_mixtypeoperator= (const std::string &__x)
_VDBL_mixtypeoperator= (const char *__x)
_VDBL_mixtypeoperator= (const std::vector< bool > &__x)
_VDBL_mixtypeoperator= (const std::vector< int > &__x)
_VDBL_mixtypeoperator= (const std::vector< double > &__x)
_VDBL_mixtypeoperator= (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 327 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 429 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 430 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 432 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 434 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 436 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 438 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 440 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 442 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 444 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 446 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 448 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 450 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 453 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 569 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 571 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 567 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 566 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 570 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 562 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 564 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 563 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 565 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 531 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 525 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 519 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 513 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 507 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 501 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 496 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 491 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 486 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 481 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 476 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 471 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 568 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 572 of file vdbl_alltype.h.


The documentation for this class was generated from the following file:

Generated on Tue Feb 9 14:59:37 2010 for Vienna Database Library by  doxygen 1.5.8