mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-07 22:03:42 -06:00
Core: Minor InVector changes
git-svn-id: svn://ultimatepp.org/upp/trunk@5864 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
a22e3a4b85
commit
8fb02a3d20
1 changed files with 5 additions and 1 deletions
|
|
@ -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(); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue