14 #ifndef EGGMORPHLIST_H 15 #define EGGMORPHLIST_H 28 template<
class MorphType>
31 typedef epvector<MorphType> Morphs;
34 typedef typename Morphs::iterator iterator;
35 typedef typename Morphs::const_iterator const_iterator;
36 typedef typename Morphs::size_type size_type;
48 INLINE iterator begin();
49 INLINE const_iterator begin()
const;
50 INLINE iterator end();
51 INLINE const_iterator end()
const;
53 INLINE size_type size()
const;
54 INLINE
bool empty()
const;
56 std::pair<iterator, bool>
insert(
const MorphType &value);
59 void write(std::ostream &out,
int indent_level,
60 const std::string &tag,
int num_dimensions)
const;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
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 l...
void clear()
Empties the list of morphs.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A collection of <Dxyz>'s or <Duv>'s or some such.
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.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.