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

uesqlc::TReal Class Reference

SQL type REAL. More...

#include <real.hh>

Inheritance diagram for uesqlc::TReal:

uesqlc::IType List of all members.

Public Methods

 TReal (const TReal &rktREAL)
 Builds a new instance from another instance.

void set (const char *pkcVALUE)
void set (const std::string &rkyVALUE)
mpcl::text::TString get (void) const
mpcl::text::TString get (const char *pkcFORMAT) const
 operator long double (void) const
 Returns the SQL real value.


Detailed Description

SQL type REAL.

Definition at line 37 of file real.hh.


Member Function Documentation

mpcl::text::TString uesqlc::TReal::get const char *    pkcFORMAT const [inline]
 

Returns a string.

Parameters:
pkcFORMAT  Format string for converting from double to string.
Returns:
The result of converting this instance to string.
See also:
std::printf(), mpcl::Format().

Definition at line 143 of file real.hh.

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

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

Returns a string.

Returns:
The result of converting this instance to string.

Implements uesqlc::IType.

Definition at line 122 of file real.hh.

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

void uesqlc::TReal::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 106 of file real.hh.

References set().

void uesqlc::TReal::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 91 of file real.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