13#ifndef POOL_DBOPTION_H
14#define POOL_DBOPTION_H 1
69 template <
class T>
DbOption(
const std::string& nam,
70 const std::string& opt,
75 DbOption(
const std::string& nam,
const std::string& opt=
"");
Description: Definition of the generic column in a (relational) Database.
std::string m_name
Option name identifier.
Value m_value
Buffer holding option value.
DbStatus _setValue(T value)
Set the option value.
const std::string & name() const
Access to column name.
DbColumn::Type m_type
Option data type.
DbStatus _getValue(T &value) const
Set the option value.
DbStatus i_setValue(const std::type_info &typ, const void *value)
Set the option value.
std::string typeName() const
Access to OS independent type name.
DbStatus setValue(DbColumn::Type typ, const void *value)
Set the option value.
const std::string & option() const
Access to column name.
std::string m_opt
Optional identifier.
DbStatus getValue(DbColumn::Type typ, void *value) const
Set the option value.
DbColumn::Type type() const
Integer type identifier.
DbOption(const std::string &nam, const std::string &opt="")
Initializing constructor with type definition.
virtual ~DbOption()
Default copy constructor Standard destructor.
DbStatus i_getValue(const std::type_info &typ, void *value) const
Set the option value.
DbOption(const std::string &nam, const std::string &opt, T value)
Initializing constructor.
This class is highly inspired by the error code distribution system as it is used in DEC/VMS or MS/WN...
Description: Definition an option value.