Core: Minor InVector changes

git-svn-id: svn://ultimatepp.org/upp/trunk@5864 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2013-02-26 19:12:03 +00:00
parent a22e3a4b85
commit 8fb02a3d20

View file

@ -454,6 +454,9 @@ public:
ConstIterator Begin() const { return iv.Begin(); }
ConstIterator End() const { return iv.End(); }
ConstIterator GetIter(int pos) const { return iv.GetIter(pos); }
const InVector<T>& GetKeys() { return iv; }
SortedIndex() {}
SortedIndex(const SortedIndex& s, int) : iv(s.iv, 1) {}
@ -513,7 +516,8 @@ public:
bool IsPicked() const { return value.IsPicked() || key.IsPicked(); }
const SortedIndex<K>& GetKeys() const { return key; }
const SortedIndex<K>& GetIndex() const { return key; }
const InVector<K>& GetKeys() const { return key.GetKeys(); }
const InVector<T>& GetValues() const { return value; }
SortedAMap() { SetSlave(); }