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

look::LookNULLValue Class Reference

Class representing an NULL value (for talking to databases). More...

#include <lknullvalue.h>

Inheritance diagram for look::LookNULLValue::

look::LookTypeBase List of all members.

Public Methods

 LookNULLValue (long theColumnType=LookNULLValueID)
 Constructor.

 ~LookNULLValue (void)
 Destructor.

 LookNULLValue (const LookNULLValue &theOther)
 Copy constructor.

LookNULLValue& operator= (const LookNULLValue &theOther)
 Assignment.

LookTypeBaseGetNewCopy (void) const
 Get a new copy. More...

long GetTypeID (void) const
 Get Type ID. More...

long GetColumnType (void) const
 Get column type.

void SetColumnType (long theType)
 Set column type.


Protected Attributes

long itsColumnType
 Column type. More...


Detailed Description

Class representing an NULL value (for talking to databases).

It still needs to know what column type it is.


Member Function Documentation

LookTypeBase * look::LookNULLValue::GetNewCopy ( void ) const [virtual]
 

Get a new copy.

Virtual copy constructor, aka clone.

Returns:
A new copy of this. (You are responsible for deleting it).

Reimplemented from look::LookTypeBase.

long look::LookNULLValue::GetTypeID ( void ) const [virtual]
 

Get Type ID.

Pseudo-rtti, or isA.

Returns:
LookNULLValueID

Reimplemented from look::LookTypeBase.


Member Data Documentation

long look::LookNULLValue::itsColumnType [protected]
 

Column type.

This is the type ID (from GetTypeID) of the corresponsing non-null type.


The documentation for this class was generated from the following files:
Generated at Thu Jan 17 12:53:09 2002 for liblookdb by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001