class UnitList Unit descriptor list
| | iterator Iterator to traverse the unit list |
| | const_iterator Const iterator to traverse the unit list |
| | UnitList () Default constructor |
| | ~UnitList () Destructor |
| | UnitList (const UnitList& list) Copy constructor: owner ship of units will be transferred |
| | operator= (const UnitList& list) Copy operator: owner ship of units will be transferred |
| | Size () const Size of list |
| | Add (Unit* unit) Add an element to list; unit is adopted |
| | Find (const char* unit) const Find an element by name |
| | Clear () Clear list |
| | begin () Beginning of list |
| | end () End of list (returns the sentinel) |
| | begin () const Beginning of list |
| | end () const End of list (returns the sentinel) |
| | fList List of unit descriptors; the last descriptor in the list is a sentinel and has to be zero! |
| | fLen Length of list |
| | fSize Size of list |
| | Allocate (int size) Allocate space for list |
Describes a list of unit descriptors.
int fLen
int fSize
virtual bool Allocate(int size)
typedef Unit* const* iterator
typedef const Unit* const* const_iterator
UnitList()
virtual ~UnitList()
UnitList(const UnitList& list)
UnitList& operator= (const UnitList& list)
virtual int Size() const
virtual bool Add(Unit* unit)
virtual const Unit* Find(const char* unit) const
virtual void Clear()
virtual iterator begin()
virtual iterator end()
virtual const_iterator begin() const
virtual const_iterator end() const
alphabetic index hierarchy of classes
Please send questions and comments to zweizig_j@ligo.caltech.edu
generated by doc++