Add functionality for Collections to get underlying items.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
74ac2dbbc3
commit
72b545f5e3
|
@ -78,6 +78,9 @@ namespace Arbutils::Collections {
|
||||||
|
|
||||||
iterator end() { return _map.end(); }
|
iterator end() { return _map.end(); }
|
||||||
const_iterator end() const { return _map.end(); }
|
const_iterator end() const { return _map.end(); }
|
||||||
|
|
||||||
|
const std::unordered_map<KeyT, ValueT>& GetStdMap() const { return _map; }
|
||||||
|
std::unordered_map<KeyT, ValueT>& GetStdMap() { return _map; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -78,6 +78,9 @@ namespace Arbutils::Collections {
|
||||||
const_iterator end() const { return _vector.end(); }
|
const_iterator end() const { return _vector.end(); }
|
||||||
|
|
||||||
const ValueT* RawData() const { return _vector.data(); }
|
const ValueT* RawData() const { return _vector.data(); }
|
||||||
|
|
||||||
|
const std::vector<ValueT>& GetStdList() const { return _vector; }
|
||||||
|
std::vector<ValueT>& GetStdList() { return _vector; }
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue