Make your own free website on Tripod.com
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

Elements Class Reference

#include <element.h>

List of all members.

Public Methods

void Add (Element *e)
 ~Elements ()

Private Types

typedef std::vector< Element * > TV

Private Attributes

TV v

Friends

class ComplexElement


Member Typedef Documentation

typedef std::vector<Element*> Elements::TV [private]
 

Definition at line 39 of file element.h.


Constructor & Destructor Documentation

Elements::~Elements  
 

Definition at line 43 of file element.h.

References v.

00044 {
00045         for(TV::iterator i=v.begin(); i != v.end(); ++i)
00046                 delete (*i);
00047 }


Member Function Documentation

void Elements::Add Element   e
 

Definition at line 49 of file element.h.

References v.

Referenced by addElement(), and createElements().

00050 {
00051         v.push_back(e);
00052 }


Friends And Related Function Documentation

friend class ComplexElement [friend]
 

Definition at line 38 of file element.h.


Member Data Documentation

TV Elements::v [private]
 

Definition at line 40 of file element.h.

Referenced by Add(), and ~Elements().


The documentation for this class was generated from the following file:
Generated on Mon Jan 13 22:20:36 2003 for perdr by doxygen1.2.15