The main purpose of this class is to define a unique interface for all tariff objects without description.
See TariffObject about object ids."
Definition at line 380 of file tariffobject.h.
OSB_LIB::ToNameOnly::ToNameOnly | ( | ) | [protected] |
Default constructor.
virtual OSB_LIB::ToNameOnly::~ToNameOnly | ( | ) | [protected, pure virtual] |
Virtual empty destructor.
const std::string& OSB_LIB::ToNameOnly::name | ( | ) | const |
Name of tariff object.
long OSB_LIB::ToNameOnly::objVs | ( | ) | const [protected] |
Get object version.
ToNameOnly& OSB_LIB::ToNameOnly::operator= | ( | const ToNameOnly & | rhs | ) | [protected] |
Prevent assignment through base class.
void OSB_LIB::ToNameOnly::setName | ( | const std::string & | name | ) |
Set the name.
name | Name for tariff object. |
OsbException | if name is empty. | |
OsbException | if name is too long. |
std::string OSB_LIB::ToNameOnly::name_ [protected] |
long OSB_LIB::ToNameOnly::objVs_ [protected] |
Object version: set by the gateways during database operations.
Definition at line 412 of file tariffobject.h.