HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
UT_SortedStringMap< ITEM_T > Class Template Reference

Same as UT_StringMap, but keeps the strings in a sorted order. More...

#include <UT_StringMap.h>

+ Inheritance diagram for UT_SortedStringMap< ITEM_T >:

Public Types

typedef Parent::const_iterator const_iterator
 
typedef Parent::iterator iterator
 
typedef Parent::size_type size_type
 
- Public Types inherited from UT_SortedMap< UT_StringHolder, ITEM_T >
typedef std::map
< UT_StringHolder, ITEM_T,
std::less< UT_StringHolder > > 
Base
 
typedef Base::key_type key_type
 
typedef Base::mapped_type mapped_type
 
typedef Base::value_type value_type
 
typedef Base::key_compare key_compare
 
typedef Base::iterator iterator
 
typedef Base::const_iterator const_iterator
 
typedef std::less
< UT_StringHolder
LessThan
 
using key_iterator = partial_iterator_base< iterator, key_type, deref_pair_first< iterator, key_type >>
 
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

void erase (const_iterator pos)
 
void erase (const_iterator first, const_iterator last)
 
- Public Member Functions inherited from UT_SortedMap< UT_StringHolder, ITEM_T >
 UT_SortedMap ()
 
 UT_SortedMap (const LessThan &lt)
 
 UT_SortedMap (InputIt first, InputIt last)
 
 UT_SortedMap (InputIt first, InputIt last, const LessThan &lt)
 
 UT_SortedMap (std::initializer_list< value_type > init_list)
 
int64 getMemoryUsage (bool inclusive) const
 
bool contains (const key_type &key) const
 
UT_IteratorRange< key_iteratorkey_range ()
 
UT_IteratorRange
< const_key_iterator
key_range () const
 
UT_IteratorRange< mapped_iteratormapped_range ()
 
UT_IteratorRange
< const_mapped_iterator
mapped_range () const
 

Detailed Description

template<typename ITEM_T>
class UT_SortedStringMap< ITEM_T >

Same as UT_StringMap, but keeps the strings in a sorted order.

Definition at line 82 of file UT_StringMap.h.

Member Typedef Documentation

template<typename ITEM_T>
typedef Parent::const_iterator UT_SortedStringMap< ITEM_T >::const_iterator

Definition at line 87 of file UT_StringMap.h.

template<typename ITEM_T>
typedef Parent::iterator UT_SortedStringMap< ITEM_T >::iterator

Definition at line 88 of file UT_StringMap.h.

template<typename ITEM_T>
typedef Parent::size_type UT_SortedStringMap< ITEM_T >::size_type

Definition at line 89 of file UT_StringMap.h.

Member Function Documentation

template<typename ITEM_T>
void UT_SortedStringMap< ITEM_T >::erase ( const_iterator  pos)
inline

Definition at line 94 of file UT_StringMap.h.

template<typename ITEM_T>
void UT_SortedStringMap< ITEM_T >::erase ( const_iterator  first,
const_iterator  last 
)
inline

Definition at line 95 of file UT_StringMap.h.


The documentation for this class was generated from the following file: