Panda3D
|
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. | |
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. | |
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. | |
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.
typedef Morphs::const_iterator EggMorphList< MorphType >::const_iterator |
Definition at line 35 of file eggMorphList.h.
typedef Morphs::iterator EggMorphList< MorphType >::iterator |
Definition at line 34 of file eggMorphList.h.
typedef Morphs::size_type EggMorphList< MorphType >::size_type |
Definition at line 36 of file eggMorphList.h.
|
inline |
Definition at line 18 of file eggMorphList.I.
|
inline |
Definition at line 26 of file eggMorphList.I.
|
inline |
Definition at line 45 of file eggMorphList.I.
|
inline |
Definition at line 100 of file eggMorphList.I.
|
inline |
Definition at line 109 of file eggMorphList.I.
|
inline |
Empties the list of morphs.
Definition at line 182 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 82 of file eggMorphList.I.
Referenced by EggAttributes::compare_to(), EggVertex::compare_to(), EggAttributes::matches_color(), and EggAttributes::matches_normal().
|
inline |
Definition at line 145 of file eggMorphList.I.
|
inline |
Definition at line 118 of file eggMorphList.I.
|
inline |
Definition at line 127 of file eggMorphList.I.
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 158 of file eggMorphList.I.
|
inline |
Definition at line 62 of file eggMorphList.I.
|
inline |
Definition at line 71 of file eggMorphList.I.
|
inline |
Definition at line 36 of file eggMorphList.I.
|
inline |
Definition at line 53 of file eggMorphList.I.
|
inline |
Definition at line 136 of file eggMorphList.I.
void EggMorphList< MorphType >::write | ( | std::ostream & | out, |
int | indent_level, | ||
const std::string & | tag, | ||
int | num_dimensions ) const |
Definition at line 191 of file eggMorphList.I.