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

EggMorphList< MorphType > Class Template Reference

A collection of 's or 's or some such. More...

#include <eggMorphList.h>

List of all members.

Public Types

typedef TYPENAME Morphs::iterator iterator
typedef TYPENAME Morphs::const_iterator const_iterator
typedef TYPENAME Morphs::size_type size_type

Public Member Functions

 EggMorphList ()
 EggMorphList (const EggMorphList< MorphType > &copy)
void operator= (const EggMorphList< MorphType > &copy)
 ~EggMorphList ()
bool operator== (const EggMorphList< MorphType > &other) const
bool operator!= (const EggMorphList< MorphType > &other) const
bool operator< (const EggMorphList< MorphType > &other) const
iterator begin ()
const_iterator begin () const
iterator end ()
const_iterator end () const
size_type size () const
bool empty () const
pair< iterator, bool > insert (const MorphType &value)
 This is similar to the insert() interface for sets, except it does not guarantee that the resulting list is sorted.

void clear ()
 Empties the list of morphs.

void write (ostream &out, int indent_level) const

Private Types

typedef pvector< MorphType > Morphs

Private Attributes

Morphs _morphs


Detailed Description

template<class MorphType>
class EggMorphList< MorphType >

A collection of 's or 's or some such.

Definition at line 41 of file eggMorphList.h.


Member Typedef Documentation

template<class MorphType>
typedef TYPENAME Morphs::const_iterator EggMorphList< MorphType >::const_iterator
 

Definition at line 47 of file eggMorphList.h.

Referenced by EggMorphList< MorphType >::insert().

template<class MorphType>
typedef TYPENAME Morphs::iterator EggMorphList< MorphType >::iterator
 

Definition at line 46 of file eggMorphList.h.

template<class MorphType>
typedef pvector<MorphType> EggMorphList< MorphType >::Morphs [private]
 

Definition at line 43 of file eggMorphList.h.

template<class MorphType>
typedef TYPENAME Morphs::size_type EggMorphList< MorphType >::size_type
 

Definition at line 48 of file eggMorphList.h.


Constructor & Destructor Documentation

template<class MorphType>
EggMorphList< MorphType >::EggMorphList  )  [inline]
 

Definition at line 32 of file eggMorphList.I.

References INLINE.

template<class MorphType>
EggMorphList< MorphType >::EggMorphList const EggMorphList< MorphType > &  copy  )  [inline]
 

Definition at line 44 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs, and INLINE.

template<class MorphType>
EggMorphList< MorphType >::~EggMorphList  )  [inline]
 

Definition at line 71 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs.


Member Function Documentation

template<class MorphType>
TYPENAME EggMorphList< MorphType >::const_iterator EggMorphList< MorphType >::begin  )  const [inline]
 

Definition at line 135 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs, INLINE, and TYPENAME.

template<class MorphType>
TYPENAME EggMorphList< MorphType >::iterator EggMorphList< MorphType >::begin  )  [inline]
 

Definition at line 122 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs, INLINE, and TYPENAME.

template<class MorphType>
void EggMorphList< MorphType >::clear  )  [inline]
 

Empties the list of morphs.

Definition at line 242 of file eggMorphList.I.

template<class MorphType>
bool EggMorphList< MorphType >::empty  )  const [inline]
 

Definition at line 187 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs.

template<class MorphType>
TYPENAME EggMorphList< MorphType >::const_iterator EggMorphList< MorphType >::end  )  const [inline]
 

Definition at line 161 of file eggMorphList.I.

template<class MorphType>
TYPENAME EggMorphList< MorphType >::iterator EggMorphList< MorphType >::end  )  [inline]
 

Definition at line 148 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs.

template<class MorphType>
pair< TYPENAME EggMorphList< MorphType >::iterator, bool > EggMorphList< MorphType >::insert const MorphType &  value  ) 
 

This is similar to the insert() interface for sets, except it does not guarantee that the resulting list is sorted.

We have this member function so the EggMorphList resembles a set. It used to *be* a set, but we cannot export STL sets from a Windows DLL.

Definition at line 213 of file eggMorphList.I.

References EggMorphList< MorphType >::const_iterator.

template<class MorphType>
bool EggMorphList< MorphType >::operator!= const EggMorphList< MorphType > &  other  )  const [inline]
 

Definition at line 96 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs, INLINE, and TYPENAME.

template<class MorphType>
bool EggMorphList< MorphType >::operator< const EggMorphList< MorphType > &  other  )  const [inline]
 

Definition at line 109 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs, INLINE, and TYPENAME.

template<class MorphType>
void EggMorphList< MorphType >::operator= const EggMorphList< MorphType > &  copy  )  [inline]
 

Definition at line 58 of file eggMorphList.I.

References INLINE.

template<class MorphType>
bool EggMorphList< MorphType >::operator== const EggMorphList< MorphType > &  other  )  const [inline]
 

Definition at line 83 of file eggMorphList.I.

template<class MorphType>
TYPENAME EggMorphList< MorphType >::size_type EggMorphList< MorphType >::size  )  const [inline]
 

Definition at line 174 of file eggMorphList.I.

References EggMorphList< MorphType >::_morphs, and TYPENAME.

template<class MorphType>
void EggMorphList< MorphType >::write ostream &  out,
int  indent_level
const
 

Definition at line 255 of file eggMorphList.I.


Member Data Documentation

template<class MorphType>
Morphs EggMorphList< MorphType >::_morphs [private]
 

Definition at line 73 of file eggMorphList.h.

Referenced by EggMorphList< MorphType >::begin(), EggMorphList< MorphType >::EggMorphList(), EggMorphList< MorphType >::empty(), EggMorphList< MorphType >::end(), EggMorphList< MorphType >::operator!=(), EggMorphList< MorphType >::operator<(), EggMorphList< MorphType >::size(), and EggMorphList< MorphType >::~EggMorphList().


The documentation for this class was generated from the following files:
Generated on Fri May 2 00:50:07 2003 for Panda by doxygen1.3