Aegis  4.25.D505
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
rpt_value_list Class Reference

#include <list.h>

Inheritance diagram for rpt_value_list:
rpt_value

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_listoperator= (const rpt_value_list &)

Private Attributes

size_t length
size_t max
rpt_value::pointeritem

Detailed Description

The rpt_value_list class is used to represent a value which consists of an ordered list of values.

Definition at line 29 of file list.h.


Constructor & Destructor Documentation

virtual rpt_value_list::~rpt_value_list ( ) [virtual]

The destructor.

The constructor.

The copy constructor. Do not use.


Member Function Documentation

The append mthod may be used to append another value to the end of the list of values held.

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.

The create class method may be used to create new dynamically allocated instances of this class.

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::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.

Parameters:
rhsThe member name, or array index
lvalueThe result is to be used of an l-value

Reimplemented from rpt_value.

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.

The nth method may be used to obtain the n-th value in the list.

rpt_value_list& rpt_value_list::operator= ( const rpt_value_list ) [private]

The assignment operator. Do not use.

size_t rpt_value_list::size ( void  ) const [inline]

The size method may be used to determine how many value are in the list.

Definition at line 59 of file list.h.


Field Documentation

The item instance variable is used to remember the base address of a dynamically allocated array of ppinters to values.

Definition at line 99 of file list.h.

size_t rpt_value_list::length [private]

The length instance variable is used to remember the amount of "item" used so far.

Definition at line 87 of file list.h.

size_t rpt_value_list::max [private]

The max instance variable is used to remember how large the "item" array was allocated.

Definition at line 93 of file list.h.


The documentation for this class was generated from the following file: