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.

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.


Member Function Documentation

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]

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

Definition at line 59 of file list.h.

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.


Field Documentation

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


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

Generated on Wed Mar 12 23:37:44 2008 for Aegis by  doxygen 1.5.5