OSB_DB::OtlString Class Reference

Inheritance diagram for OSB_DB::OtlString:

Inheritance graph
[legend]
Collaboration diagram for OSB_DB::OtlString:

Collaboration graph
[legend]
List of all members.

Detailed Description

Interface class between nullable database strings and std::string.

OtlString extends otl_value<> for std::string.
This makes it easy to use nullable character columns in database transaction.

Definition at line 136 of file otl.h.

Public Member Functions

Constructors to retain otl_value<T> functionality.

Constructor & Destructor Documentation

OSB_DB::OtlString::OtlString (  ) 

Default constructor.

OSB_DB::OtlString::OtlString ( const otl_null &  rhs  ) 

Conversion from otl_null.

OSB_DB::OtlString::OtlString ( const std::string &  rhs  )  [explicit]

Conversion from string.

An empty string is mapped to NULL.


Member Function Documentation

OSB_DB::OtlString::operator std::string (  )  const

Conversion to string.

A NULL value is translated into an empty string.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:08:58 2006 for OSB Library by  doxygen 1.4.7