Home | History | Annotate | Download | only in util

Lines Matching defs:IndexValue

106   // IndexValue pairs: exposed in SparseArray::iterator.
107 class IndexValue;
109 typedef IndexValue value_type;
110 typedef typename vector<IndexValue>::iterator iterator;
111 typedef typename vector<IndexValue>::const_iterator const_iterator;
113 inline const IndexValue& iv(int i) const;
157 static bool less(const IndexValue& a, const IndexValue& b);
226 vector<IndexValue> dense_;
235 // IndexValue pairs: exposed in SparseArray::iterator.
237 class SparseArray<Value>::IndexValue {
243 IndexValue() {}
244 IndexValue(int index, const Value& value) : second(value), index_(index) {}
258 const typename SparseArray<Value>::IndexValue&
444 template<typename Value> bool SparseArray<Value>::less(const IndexValue& a,
445 const IndexValue& b) {