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

uesqlc::TString Class Reference

SQL type string. More...

#include <string.hh>

Inheritance diagram for uesqlc::TString:

uesqlc::IType uesqlc::TIdentifier List of all members.

Public Types

typedef mpcl::text::TString::size_type size_type
 Import this type.


Public Methods

 TString (const TString &rkySTRING)
 Builds a new instance from another instance.

 TString (const char *pkcVALUE, size_type zLENGTH)
 TString (const char *pkcVALUE)
void set (const char *pkcVALUE)
void set (const std::string &rkyVALUE)
mpcl::text::TString get (void) const

Detailed Description

SQL type string.

Definition at line 38 of file string.hh.


Constructor & Destructor Documentation

uesqlc::TString::TString const char *    pkcVALUE,
size_type    zLENGTH
[inline]
 

Extends the parent constructor with support for NULL strings.

Parameters:
pkcVALUE  Source string.
zLENGTH  Source string length.

Definition at line 90 of file string.hh.

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

uesqlc::TString::TString const char *    pkcVALUE [inline]
 

Extends the parent constructor with support for NULL strings.

Parameters:
pkcVALUE  Source string.
Exceptions:
TExceptionEL_Constraint  If source string is NULL.

Definition at line 106 of file string.hh.

References uesqlc::IType::setNull().


Member Function Documentation

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

Returns a string.

Returns:
The result of converting this instance to string.

Implements uesqlc::IType.

Reimplemented in uesqlc::TIdentifier.

Definition at line 205 of file string.hh.

References uesqlc::IType::isNull().

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

Assigns value rkyVALUE.

Parameters:
rkyVALUE  Source value.

Definition at line 188 of file string.hh.

References uesqlc::IType::setNull().

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

Assigns value pkcVALUE. If pkcVALUE is null, then the instance is null.

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

Implements uesqlc::IType.

Definition at line 170 of file string.hh.

References uesqlc::IType::setNull().


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