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.
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.
OSB_DB::OtlString::operator std::string | ( | ) | const |
Conversion to string.
A NULL value is translated into an empty string.