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

uesqlc::TInteger Class Reference

SQL type INTEGER. More...

#include <integer.hh>

Inheritance diagram for uesqlc::TInteger:

uesqlc::IType List of all members.

Public Methods

 TInteger (void)
 Builds a new instance.

 TInteger (const TInteger &rktINTEGER)
 Builds a new instance from another instance.

void set (const char *pkcVALUE)
void set (const std::string &rkyVALUE)
mpcl::text::TString get (void) const
 operator long int (void) const
 Returns the long integer value.


Detailed Description

SQL type INTEGER.

Definition at line 37 of file integer.hh.


Member Function Documentation

mpcl::text::TString uesqlc::TInteger::get void    const [inline, virtual]
 

Returns a string.

Returns:
The result of converting this instance to string.

Implements uesqlc::IType.

Definition at line 137 of file integer.hh.

References mpcl::text::Format(), and uesqlc::IType::isNull().

void uesqlc::TInteger::set const std::string &    rkyVALUE [inline]
 

Assigns value rkyVALUE. If rkyVALUE is empty, then the instance is null.

Precondition:
( rkyVALUE.empty() ) => isNull()
Parameters:
rkyVALUE  Source value.

Definition at line 121 of file integer.hh.

References set().

void uesqlc::TInteger::set const char *    pkcVALUE [inline, virtual]
 

Assigns value pkcVALUE. If pkcVALUE is null or points to a zero length string, then the instance is null.

Precondition:
( !pkcVALUE || !*pkcVALUE ) => isNull()
Parameters:
pkcVALUE  Source value.

Implements uesqlc::IType.

Definition at line 106 of file integer.hh.

References uesqlc::IType::isNull(), and uesqlc::IType::setNull().

Referenced by set().


The documentation for this class was generated from the following file:
Generated on Mon Oct 13 02:40:12 2003 for UESQLC by doxygen1.2.18