#include <list.h>
Public Member Functions | |
virtual | ~rpt_value_list () |
rpt_value_list () | |
void | append (const rpt_value::pointer &vp) |
size_t | size () const |
rpt_value::pointer | nth (size_t n) const |
Static Public Member Functions | |
static rpt_value::pointer | create () |
Protected Member Functions | |
const char * | name () const |
rpt_value::pointer | undefer () const |
rpt_value::pointer | lookup (const rpt_value::pointer &rhs, bool lvalue) const |
rpt_value::pointer | keys () const |
rpt_value::pointer | count () const |
Private Member Functions | |
rpt_value_list (const rpt_value_list &) | |
rpt_value_list & | operator= (const rpt_value_list &) |
Private Attributes | |
size_t | length |
size_t | max |
rpt_value::pointer * | item |
Definition at line 29 of file list.h.
virtual rpt_value_list::~rpt_value_list | ( | ) | [virtual] |
The destructor.
rpt_value_list::rpt_value_list | ( | ) |
The constructor.
rpt_value_list::rpt_value_list | ( | const rpt_value_list & | ) | [private] |
The copy constructor. Do not use.
static rpt_value::pointer rpt_value_list::create | ( | ) | [static] |
The create class method may be used to create new dynamically allocated instances of this class.
void rpt_value_list::append | ( | const rpt_value::pointer & | vp | ) |
The append mthod may be used to append another value to the end of the list of values held.
size_t rpt_value_list::size | ( | ) | const [inline] |
rpt_value::pointer rpt_value_list::nth | ( | size_t | n | ) | const |
The nth method may be used to obtain the n-th value in the list.
const char* rpt_value_list::name | ( | ) | const [protected, virtual] |
The name method is used to obtain the name of the type of the value.
Implements rpt_value.
rpt_value::pointer rpt_value_list::undefer | ( | ) | const [protected] |
rpt_value::pointer rpt_value_list::lookup | ( | const rpt_value::pointer & | rhs, | |
bool | lvalue | |||
) | const [protected] |
rpt_value::pointer rpt_value_list::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_list::count | ( | ) | const [protected, virtual] |
The count method is used to count the number of elements of an associative array.
Reimplemented from rpt_value.
rpt_value_list& rpt_value_list::operator= | ( | const rpt_value_list & | ) | [private] |
The assignment operator. Do not use.
size_t rpt_value_list::length [private] |
size_t rpt_value_list::max [private] |
rpt_value::pointer* rpt_value_list::item [private] |