Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members  

Dv::Util::Env::ABox Class Reference

An ABox contains a vector<Env*> array . More...

#include <env.h>

Inherits Dv::Util::Env::Box.

List of all members.

Public Types

typedef std::vector< Env * > Vector

Public Methods

iteratorbegin () const throw (Exception)
iteratorend () const throw (Exception)
 ABox (size_t size)
 Constructor.

 ~ABox ()
size_t size () const
Envoperator[] (int i) throw (Exception)
const Envoperator() (int i) const throw (Exception)


Detailed Description

An ABox contains a vector<Env*> array .


Member Typedef Documentation

typedef std::vector<Env*> Dv::Util::Env::ABox::Vector
 


Constructor & Destructor Documentation

Dv::Util::Env::ABox::ABox size_t    size
 

Constructor.

Parameters:
size  elements will be allocated, initialized to 0.

Dv::Util::Env::ABox::~ABox  
 


Member Function Documentation

iterator* Dv::Util::Env::ABox::begin   const throw (Exception) [inline, virtual]
 

Returns:
iterator pointing to first element (or end()) of container box.
Exceptions:
Exception  if not a map or array box.

Reimplemented from Dv::Util::Env::Box.

iterator* Dv::Util::Env::ABox::end   const throw (Exception) [inline, virtual]
 

Returns:
iterator pointing past the last element of a container box.
Exceptions:
Exception  if not a map or array box.

Reimplemented from Dv::Util::Env::Box.

size_t Dv::Util::Env::ABox::size   const [inline]
 

Env* Dv::Util::Env::ABox::operator[] int    i throw (Exception) [virtual]
 

Returns:
non-const pointer to environment corresponding to index i in ABox.
Parameters:
i  index to use
Exceptions:
Exception  if not an ABox.

Reimplemented from Dv::Util::Env::Box.

const Env* Dv::Util::Env::ABox::operator() int    i const throw (Exception) [virtual]
 

Returns:
const pointer to environment corresponding to index i in ABox.
Parameters:
i  index to use
Exceptions:
Exception  if not an ABox.

Reimplemented from Dv::Util::Env::Box.


The documentation for this class was generated from the following file:
dvenv-0.2.2 [20 October, 2002]