HDK
|
#include <GEO_Detail.h>
Public Types | |
typedef Parent::const_iterator | const_iterator |
typedef Parent::iterator | iterator |
typedef Parent::size_type | size_type |
Public Types inherited from UT_Map< UT_StringHolder, ITEM_T > | |
typedef hboost::unordered_map < UT_StringHolder, ITEM_T, hboost::hash< UT_StringHolder > , std::equal_to < UT_StringHolder > > | Base |
typedef Base::key_type | key_type |
typedef Base::mapped_type | mapped_type |
typedef Base::value_type | value_type |
typedef Base::hasher | hasher |
typedef Base::key_equal | key_equal |
typedef Base::iterator | iterator |
typedef Base::const_iterator | const_iterator |
typedef hboost::hash < UT_StringHolder > | Hasher |
typedef std::equal_to < UT_StringHolder > | Equal |
using | const_key_iterator = partial_iterator_base< const_iterator, const key_type, deref_pair_first< const_iterator, const key_type >> |
using | mapped_iterator = partial_iterator_base< iterator, mapped_type, deref_pair_second< iterator, mapped_type >> |
using | const_mapped_iterator = partial_iterator_base< const_iterator, const mapped_type, deref_pair_second< const_iterator, const mapped_type >> |
Public Member Functions | |
iterator | erase (const_iterator pos) |
iterator | erase (const_iterator first, const_iterator last) |
SYS_FORCE_INLINE ITEM_T | get (const UT_StringRef &key, const ITEM_T &defval) const |
Public Member Functions inherited from UT_Map< UT_StringHolder, ITEM_T > | |
UT_Map (const Hasher &hf=Hasher(), const Equal &eql=Equal()) | |
UT_Map (InputIt first, InputIt last, const Hasher &hf=Hasher(), const Equal &eql=Equal()) | |
UT_Map (std::initializer_list< value_type > init_list) | |
int64 | getMemoryUsage (bool inclusive) const |
bool | contains (const key_type &key) const |
Returns true if a value with the key is contained in the map. More... | |
ITEM_T | get (const key_type &key, const ITEM_T &defval) const |
void | clear () |
UT_IteratorRange < const_key_iterator > | key_range () const |
UT_IteratorRange< mapped_iterator > | mapped_range () |
UT_IteratorRange < const_mapped_iterator > | mapped_range () const |
UT_StringMap is a simple specialization of a UT_Map that has UT_StringHolder as its key type which allows C strings to be used. If you know that a string will not be destroyed during the map's lifetime, UTmakeUnsafeRef can be used to insert a shallow reference.
Definition at line 53 of file GEO_Detail.h.
typedef Parent::const_iterator UT_StringMap< T >::const_iterator |
Definition at line 51 of file UT_StringMap.h.
typedef Parent::iterator UT_StringMap< T >::iterator |
Definition at line 52 of file UT_StringMap.h.
typedef Parent::size_type UT_StringMap< T >::size_type |
Definition at line 53 of file UT_StringMap.h.
|
inline |
Definition at line 58 of file UT_StringMap.h.
|
inline |
Definition at line 59 of file UT_StringMap.h.
|
inline |
Definition at line 64 of file UT_StringMap.h.