|
RcuConf::Value Class Reference |
Public Types | |
typedef std::list< Value * > | List |
Public Member Functions | |
Value (int config, int param, int address) | |
virtual | ~Value () |
virtual void | Print () const |
int | ConfigId () const |
int | ParamId () const |
int | AddressId () const |
int | Version () const |
Static Public Member Functions | |
bool | Select (List &r, RcuDb::Server &s, const std::string &table, const RcuDb::Sql &cond) |
bool | Select (List &r, RcuDb::Server &s, const std::string &table, int config, int param, int addr=-1) |
Protected Member Functions | |
RcuDb::Sql & | ValueInsert (RcuDb::Sql &sql) |
Value (RcuDb::Row &row) | |
Static Protected Member Functions | |
bool | Select (RcuDb::Result *&r, RcuDb::Server &s, const std::string &table, const RcuDb::Sql &cond) |
bool | Select (RcuDb::Result *&r, RcuDb::Server &s, const std::string &table, int config, int param, int addr=-1) |
RcuDb::Sql & | ValueCreate (RcuDb::Sql &sql) |
Protected Attributes | |
int | fConfigId |
int | fParamId |
int | fAddressId |
int | fVersion |
|
Type of a list of values.
Reimplemented in RcuConf::BlobValue, and RcuConf::SingleValue. Definition at line 71 of file Value.h. Referenced by Select(), and RcuConf::Configurator::Write(). |
|
User constructor.
Definition at line 57 of file Value.h. References fAddressId, fConfigId, fParamId, and fVersion. |
|
Destructor.
|
|
Construct from a row.
Definition at line 36 of file Value.cxx. References fAddressId, fConfigId, fParamId, and fVersion. |
|
Definition at line 81 of file Value.h. References fAddressId. Referenced by RcuConf::Address::Select(). |
|
Definition at line 77 of file Value.h. References fConfigId. |
|
Definition at line 79 of file Value.h. References fParamId. |
|
Print to standard out.
Reimplemented in RcuConf::BlobValue, and RcuConf::SingleValue. Definition at line 47 of file Value.cxx. References fAddressId, fConfigId, fParamId, and fVersion. |
|
Select some rows from a table table and return result in r.
Definition at line 143 of file Value.cxx. References Select(). |
|
Select some rows from a table table and return result in r.
|
|
Select some rows from a table table and return result in r.
|
|
Select some rows from a table table and return result in r.
Definition at line 58 of file Value.cxx. References List. Referenced by Select(). |
|
Create Value part of a create statement.
|
|
The value part of an insert.
Definition at line 163 of file Value.cxx. References fAddressId, fConfigId, fParamId, and fVersion. Referenced by RcuConf::SingleValue::Insert(), and RcuConf::BlobValue::Insert(). |
|
Definition at line 83 of file Value.h. References fVersion. |
|
Reference to address row.
Definition at line 152 of file Value.h. Referenced by AddressId(), Print(), Value(), and ValueInsert(). |
|
Reference to Value table.
Definition at line 148 of file Value.h. Referenced by ConfigId(), Print(), Value(), and ValueInsert(). |
|
Reference to Parameter table.
Definition at line 150 of file Value.h. Referenced by ParamId(), Print(), Value(), and ValueInsert(). |
|
Version number. Automatically updated. Definition at line 154 of file Value.h. Referenced by RcuConf::SingleValue::Insert(), RcuConf::BlobValue::Insert(), Print(), Value(), ValueInsert(), and Version(). |
Top of page | Last update Fri Apr 27 01:54:16 2007 |
Copyright © 2004 Christian Holm | Created by DoxyGen 1.3.5 |