|
RcuConf::SingleValue Class Reference |
Public Types | |
typedef std::list< SingleValue * > | List |
Public Member Functions | |
SingleValue (int config, int param, int address, int value) | |
virtual | ~SingleValue () |
virtual void | Print () const |
virtual bool | Insert (RcuDb::Server &s) |
int | Values () const |
void | Set (int v) |
Static Public Member Functions | |
bool | Create (RcuDb::Server &s) |
bool | Drop (RcuDb::Server &s) |
bool | Select (List &l, RcuDb::Server &s, const RcuDb::Sql &cond) |
bool | Select (List &l, RcuDb::Server &s, const Config &c, const Parameter &p, int addr=-1) |
bool | Select (List &l, RcuDb::Server &s, int c, int p, int addr=-1) |
Static Public Attributes | |
const std::string | fgName |
Protected Member Functions | |
SingleValue (RcuDb::Row &row) | |
Protected Attributes | |
int | fValue |
Friends | |
class | Value |
|
Type of List of addresss.
Reimplemented from RcuConf::Value. Definition at line 71 of file SingleValue.h. |
|
User constructor.
Definition at line 60 of file SingleValue.h. References fValue. Referenced by Select(). |
|
Destructor.
Definition at line 68 of file SingleValue.h. |
|
Construct from a row.
Definition at line 38 of file SingleValue.cxx. References fValue. |
|
Create a table for these objects.
Definition at line 83 of file SingleValue.cxx. References fgName. |
|
Delete table for these objects.
Definition at line 97 of file SingleValue.cxx. References fgName. |
|
Insert this object into the database.
Implements RcuConf::Table.
Definition at line 54 of file SingleValue.cxx. References fgName, fValue, RcuConf::Value::fVersion, List, RcuConf::Table::MakeId(), Select(), and RcuConf::Value::ValueInsert(). |
|
Print to standard out.
Reimplemented from RcuConf::Value.
Definition at line 46 of file SingleValue.cxx. References fValue. |
|
Query the database for objects of this type.
Definition at line 132 of file SingleValue.cxx. References fgName, List, and SingleValue(). |
|
Query the database for objects of this type.
Definition at line 122 of file SingleValue.cxx. References RcuConf::Table::Id(), RcuConf::Parameter::IsBlob(), List, and Select(). |
|
Query the database for objects of this type.
Definition at line 104 of file SingleValue.cxx. References fgName, List, and SingleValue(). |
|
Definition at line 119 of file SingleValue.h. References fValue. Referenced by RcuConf::BusComponent::DoRead(), and RcuConf::Rcu::Read(). |
|
Definition at line 117 of file SingleValue.h. References fValue. Referenced by RcuConf::BusComponent::DoWrite(), and RcuConf::Rcu::Write(). |
|
Base class is a friend.
Definition at line 129 of file SingleValue.h. |
|
Table name.
|
|
Value of the parameter encoded as a single integer.
Definition at line 127 of file SingleValue.h. Referenced by Insert(), Print(), Set(), SingleValue(), and Values(). |
Top of page | Last update Fri Apr 27 01:54:16 2007 |
Copyright © 2004 Christian Holm | Created by DoxyGen 1.3.5 |