|
Aegis
4.25.D505
|
#include <pconf.h>
Public Member Functions | |
| virtual | ~rpt_value_pconf () |
Static Public Member Functions | |
| static rpt_value::pointer | create (const change::pointer &cp) |
Protected Member Functions | |
| const char * | name () const |
| const char * | type_of () const |
| bool | is_a_struct () const |
| rpt_value::pointer | lookup (const rpt_value::pointer &rhs, bool lvalue) const |
| rpt_value::pointer | keys () const |
| rpt_value::pointer | count () const |
| rpt_value::pointer | undefer_or_null () const |
Private Member Functions | |
| rpt_value_pconf (const change::pointer &cp) | |
| void | grab () const |
| rpt_value_pconf () | |
| rpt_value_pconf (const rpt_value_pconf &) | |
| rpt_value_pconf & | operator= (const rpt_value_pconf &) |
Private Attributes | |
| change::pointer | cp |
| rpt_value::pointer | value |
The rpt_value_pconf class is used to represent a deferred valie of a project's configuration data (aegis.conf file).
| virtual rpt_value_pconf::~rpt_value_pconf | ( | ) | [virtual] |
The destructor.
| rpt_value_pconf::rpt_value_pconf | ( | const change::pointer & | cp | ) | [private] |
The constructor. It is private on purpose, use the "create" class method instead.
| cp | The change to use to access the project config data. |
| rpt_value_pconf::rpt_value_pconf | ( | ) | [private] |
The default constructor. Do not use.
| rpt_value_pconf::rpt_value_pconf | ( | const rpt_value_pconf & | ) | [private] |
The copy constructor. Do not use.
| rpt_value::pointer rpt_value_pconf::count | ( | ) | const [protected, virtual] |
The count method is used to count the number of elements of an associative array.
Reimplemented from rpt_value.
| static rpt_value::pointer rpt_value_pconf::create | ( | const change::pointer & | cp | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
| cp | The change to use to access the project config data. |
| void rpt_value_pconf::grab | ( | ) | const [private] |
The grab method is used to read in and convert the meta data.
| bool rpt_value_pconf::is_a_struct | ( | ) | const [protected, virtual] |
The is_a_struct method may be used to determine whether or not the value is a struct (or associative array). Superficially, this should be simple, but it is complicated by things like deferred project and change states.
Reimplemented from rpt_value.
| rpt_value::pointer rpt_value_pconf::keys | ( | ) | const [protected, virtual] |
The keys method is used to obtain a list of keys of an associative array.
Reimplemented from rpt_value.
| rpt_value::pointer rpt_value_pconf::lookup | ( | const rpt_value::pointer & | rhs, |
| bool | lvalue | ||
| ) | const [protected, virtual] |
The lookup method is used to index an associate array, or locate a member within a struct.
| rhs | The member name, or array index |
| lvalue | The result is to be used of an l-value |
Reimplemented from rpt_value.
| const char* rpt_value_pconf::name | ( | ) | const [protected, virtual] |
The name method is used to obtain the name of the type of the value.
Implements rpt_value.
| rpt_value_pconf& rpt_value_pconf::operator= | ( | const rpt_value_pconf & | ) | [private] |
The assignment operator. Do not use.
| const char* rpt_value_pconf::type_of | ( | ) | const [protected, virtual] |
The type_of method is used to obtain the name of the type of the value. It differs from the name method in that it resolves references and deferred values.
Reimplemented from rpt_value.
| rpt_value::pointer rpt_value_pconf::undefer_or_null | ( | ) | const [protected, virtual] |
The undefer_or_null method is used to evaluate a deferred value, if necessary, or return NULL if it is not possible or not necessary. This NULL is used by the undefer class method to return the unchanged value if no conversion is possible.
Reimplemented from rpt_value.
change::pointer rpt_value_pconf::cp [private] |
rpt_value::pointer rpt_value_pconf::value [mutable, private] |
1.7.6.1