Lines Matching refs:COMPARE

59 template<class COMPARE>
63 typedef typename COMPARE::id_type element_t;
64 typedef typename COMPARE::key_type key_t;
90 typedef typename COMPARE::entity_base_type entity_t;
113 template<class COMPARE>
114 inline const typename SortedIds<COMPARE>::key_t &
115 SortedIds<COMPARE>::KeyOf_(element_t i_child) in KeyOf_()
117 return COMPARE::KeyOf_(COMPARE::EntityOf_(i_child)); in KeyOf_()
120 template<class COMPARE>
121 SortedIds<COMPARE>::SortedIds(std::size_t i_reserve) in SortedIds()
128 template<class COMPARE>
129 SortedIds<COMPARE>::~SortedIds() in ~SortedIds()
133 template<class COMPARE>
135 SortedIds<COMPARE>::Add(element_t i_elem) in Add()
141 template<class COMPARE>
142 inline typename SortedIds<COMPARE>::const_iterator
143 SortedIds<COMPARE>::Begin() const in Begin()
148 template<class COMPARE>
149 inline typename SortedIds<COMPARE>::const_iterator
150 SortedIds<COMPARE>::End() const in End()
155 template<class COMPARE>
156 typename SortedIds<COMPARE>::element_t
157 SortedIds<COMPARE>::Search(const key_t & i_key) const in Search()
161 return ret != aData.end() AND NOT COMPARE::Lesser_(i_key, KeyOf_(*ret)) in Search()
166 template<class COMPARE>
167 typename SortedIds<COMPARE>::search_result_t
168 SortedIds<COMPARE>::SearchAll(const key_t & i_key) const in SearchAll()
175 AND NOT COMPARE::Lesser_(i_key, KeyOf_(*r2)) ) in SearchAll()
183 template<class COMPARE>
184 inline typename SortedIds<COMPARE>::const_iterator
185 SortedIds<COMPARE>::LowerBound(const key_t & i_key) const in LowerBound()
192 template<class COMPARE>
193 inline typename SortedIds<COMPARE>::iterator
194 SortedIds<COMPARE>::LowerBound(const key_t & i_key) in LowerBound()
201 template<class COMPARE>
204 SortedIds<COMPARE>::impl_LowerBound_( ITER i_begin, in impl_LowerBound_()
215 if ( COMPARE::Lesser_(KeyOf_(*it), i_key) ) in impl_LowerBound_()