13#ifndef POOL_DBOPTION_H
14#define POOL_DBOPTION_H 1
18#include "GaudiKernel/StatusCode.h"
64 StatusCode
i_setValue(
const std::type_info& typ,
const void* value);
66 StatusCode
i_getValue(
const std::type_info& typ,
void* value)
const;
70 template <
class T>
DbOption(
const std::string& nam,
71 const std::string& opt,
76 DbOption(
const std::string& nam,
const std::string& opt=
"");
90 template<
class T> StatusCode
_getValue(T& value)
const
Description: Definition of the generic column in a (relational) Database.
std::string m_name
Option name identifier.
Value m_value
Buffer holding option value.
const std::string & name() const
Access to column name.
StatusCode i_setValue(const std::type_info &typ, const void *value)
Set the option value.
StatusCode i_getValue(const std::type_info &typ, void *value) const
Set the option value.
StatusCode _getValue(T &value) const
Set the option value.
StatusCode _setValue(T value)
Set the option value.
DbColumn::Type m_type
Option data type.
StatusCode setValue(DbColumn::Type typ, const void *value)
Set the option value.
std::string typeName() const
Access to OS independent type name.
StatusCode getValue(DbColumn::Type typ, void *value) const
Set the option value.
const std::string & option() const
Access to column name.
std::string m_opt
Optional identifier.
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.
DbOption(const std::string &nam, const std::string &opt, T value)
Initializing constructor.
Description: Definition an option value.