A collection of <Dxyz>'s or <Duv>'s or some such. More...
#include "eggMorphList.h"
Public Types | |
typedef Morphs::const_iterator | const_iterator |
typedef Morphs::iterator | iterator |
typedef Morphs::size_type | size_type |
Public Member Functions | |
EggMorphList (const EggMorphList< MorphType > ©) | |
iterator | begin () |
const_iterator | begin () const |
void | clear () |
Empties the list of morphs. More... | |
int | compare_to (const EggMorphList< MorphType > &other, double threshold) const |
compare_to() compares a different space than the operator methods, which only check the morph's name. More... | |
bool | empty () const |
iterator | end () |
const_iterator | end () const |
std::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. More... | |
bool | operator != (const EggMorphList< MorphType > &other) const |
bool | operator< (const EggMorphList< MorphType > &other) const |
void | operator= (const EggMorphList< MorphType > ©) |
bool | operator== (const EggMorphList< MorphType > &other) const |
size_type | size () const |
void | write (std::ostream &out, int indent_level, const std::string &tag, int num_dimensions) const |
A collection of <Dxyz>'s or <Duv>'s or some such.
Definition at line 29 of file eggMorphList.h.
|
inline |
Empties the list of morphs.
Definition at line 183 of file eggMorphList.I.
int EggMorphList< MorphType >::compare_to | ( | const EggMorphList< MorphType > & | other, |
double | threshold | ||
) | const |
compare_to() compares a different space than the operator methods, which only check the morph's name.
compare_to() compares the name and the value as well.
Definition at line 83 of file eggMorphList.I.
Referenced by EggAttributes::matches_color(), and EggAttributes::matches_normal().
std::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 159 of file eggMorphList.I.