#include <group.h>
Public Member Functions | |
virtual | ~rpt_value_group () |
Static Public Member Functions | |
static rpt_value::pointer | create () |
Protected Member Functions | |
const char * | name () const |
bool | is_a_struct () const |
rpt_value::pointer | lookup (const rpt_value::pointer &rhs, bool) const |
rpt_value::pointer | keys () const |
rpt_value::pointer | count () const |
const char * | type_of () const |
Private Member Functions | |
rpt_value_group () | |
rpt_value_group (const rpt_value_group &) | |
rpt_value_group & | operator= (const rpt_value_group &) |
Definition at line 29 of file group.h.
virtual rpt_value_group::~rpt_value_group | ( | ) | [virtual] |
The destructor.
rpt_value_group::rpt_value_group | ( | ) | [private] |
The default constructor. It is private on purpose, use the "create" class method instead.
rpt_value_group::rpt_value_group | ( | const rpt_value_group & | ) | [private] |
The copy constructor. Do not use.
static rpt_value::pointer rpt_value_group::create | ( | ) | [static] |
The create class method is used to create new dynamically allocated instances of this class.
const char* rpt_value_group::name | ( | ) | const [protected, virtual] |
The name method is used to obtain the name of the type of the value.
Implements rpt_value.
bool rpt_value_group::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_group::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.
rpt_value::pointer rpt_value_group::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_group::count | ( | ) | const [protected, virtual] |
The count method is used to count the number of elements of an associative array.
Reimplemented from rpt_value.
const char* rpt_value_group::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_group& rpt_value_group::operator= | ( | const rpt_value_group & | ) | [private] |
The assignment operator. Do not use.