|
RcuConf::Parameter Class Reference |
Public Types | |
typedef std::list< Parameter * > | List |
enum | Where { kRcu, kBc, kAltro, kInvalid } |
Public Member Functions | |
Parameter (const std::string &name, Where dest, bool isBlob, unsigned int mask) | |
virtual | ~Parameter () |
virtual void | Print () const |
virtual bool | Insert (RcuDb::Server &s) |
const std::string & | Name () const |
Where | Destination () const |
bool | IsBlob () const |
unsigned int | Mask () const |
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, Where w, const std::string &name=std::string()) |
Static Public Attributes | |
const std::string | fgName |
Protected Member Functions | |
Parameter (RcuDb::Row &row) | |
Protected Attributes | |
std::string | fName |
Where | fDestination |
bool | fIsBlob |
unsigned int | fMask |
|
Type of List of parameters.
Definition at line 80 of file Parameter.h. |
|
Types of destinations.
Definition at line 52 of file Parameter.h. Referenced by Destination(). |
|
User constructor.
Definition at line 68 of file Parameter.h. References fDestination, fIsBlob, fMask, and fName. Referenced by Select(). |
|
Destructor.
Definition at line 78 of file Parameter.h. |
|
Construct from a row.
Definition at line 61 of file Parameter.cxx. References fDestination, fIsBlob, fMask, and fName. |
|
Create a table for these objects.
Definition at line 116 of file Parameter.cxx. References fgName. |
|
Definition at line 111 of file Parameter.h. References fDestination, and Where. |
|
Delete table for these objects.
Definition at line 132 of file Parameter.cxx. References fgName. |
|
Insert this object into the database.
Implements RcuConf::Table. Definition at line 83 of file Parameter.cxx. References fDestination, fgName, RcuConf::Table::fId, fIsBlob, fMask, fName, List, RcuConf::Table::MakeId(), and Select(). Referenced by RcuConf::Component::Create(). |
|
Definition at line 113 of file Parameter.h. References fIsBlob. Referenced by RcuConf::BusComponent::DoRead(), RcuConf::BusComponent::DoWrite(), RcuConf::Rcu::Read(), RcuConf::SingleValue::Select(), RcuConf::BlobValue::Select(), RcuConf::Rcu::Write(), and RcuConf::Configurator::Write(). |
|
Definition at line 115 of file Parameter.h. References fMask. |
|
Definition at line 109 of file Parameter.h. References fName. Referenced by RcuConf::BusComponent::DoRead(), RcuConf::BusComponent::DoWrite(), RcuConf::Rcu::Read(), RcuConf::Rcu::Write(), and RcuConf::Configurator::Write(). |
|
Print to standard out.
Definition at line 72 of file Parameter.cxx. References fDestination, fIsBlob, fMask, and fName. |
|
Query the database for objects of this type.
Definition at line 163 of file Parameter.cxx. |
|
Query the database for objects of this type.
Definition at line 139 of file Parameter.cxx. References fgName, List, and Parameter(). |
|
Destination.
Definition at line 126 of file Parameter.h. Referenced by Destination(), Insert(), Parameter(), and Print(). |
|
Table name.
|
|
Whether this has BLOB value.
Definition at line 128 of file Parameter.h. Referenced by Insert(), IsBlob(), Parameter(), and Print(). |
|
Bit mask used for comparisions.
Definition at line 130 of file Parameter.h. Referenced by Insert(), Mask(), Parameter(), and Print(). |
|
Name of this parameter.
Definition at line 124 of file Parameter.h. Referenced by Insert(), Name(), Parameter(), and Print(). |
Top of page | Last update Fri Apr 27 01:54:16 2007 |
Copyright © 2004 Christian Holm | Created by DoxyGen 1.3.5 |