fastcgi++
Public Member Functions | Public Attributes
ASql::Data::NullablePar Struct Reference

Base class to the Nullable template class. More...

#include <data.hpp>

Inheritance diagram for ASql::Data::NullablePar:
ASql::Data::Nullable< T > ASql::Data::NullableArray< T, size >

List of all members.

Public Member Functions

 NullablePar (bool _nullness)
virtual void * getVoid ()=0
 Retrieve a void pointer to the object contained in the class.

Public Attributes

bool nullness

Detailed Description

Base class to the Nullable template class.

This base class provides a polymorphic method of retrieving a void pointer to the contained object regardless of it's type along with it's nullness.

If nullness is true then the value is null.

Definition at line 83 of file data.hpp.


Constructor & Destructor Documentation

ASql::Data::NullablePar::NullablePar ( bool  _nullness)
inline

Definition at line 85 of file data.hpp.


Member Function Documentation

virtual void* ASql::Data::NullablePar::getVoid ( )
pure virtual

Retrieve a void pointer to the object contained in the class.

Returns:
Void pointer to the object contained in the class.

Implemented in ASql::Data::NullableArray< T, size >, and ASql::Data::Nullable< T >.


Member Data Documentation

bool ASql::Data::NullablePar::nullness

Definition at line 86 of file data.hpp.

Referenced by ASql::Data::Nullable< T >::operator=().


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