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;
38 INLINE EggMorphList();
39 INLINE EggMorphList(
const EggMorphList<MorphType> ©);
40 INLINE
void operator = (
const EggMorphList<MorphType> ©);
41 INLINE ~EggMorphList();
43 INLINE
bool operator == (
const EggMorphList<MorphType> &other)
const;
44 INLINE
bool operator != (
const EggMorphList<MorphType> &other)
const;
45 INLINE
bool operator < (
const EggMorphList<MorphType> &other)
const;
46 int compare_to(
const EggMorphList<MorphType> &other,
double threshold)
const;
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;
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.
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...