TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Types | Public Member Functions | Static Public Member Functions | List of all members
CollectionTraitsMap< KEYT, VALT > Struct Template Reference
Inheritance diagram for CollectionTraitsMap< KEYT, VALT >:
map< KEYT::tValueType, VALT::tValueType >

Public Types

enum  {
  eKeyType,
  eValType,
  eModifyContainerInvalidatesAllIterators
}
 
typedef KEYT tKeyTraits
 
typedef VALT tValTraits
 
typedef KEYT::tValueType tKeyType
 
typedef VALT::tValueType tValType
 
typedef astl::map< tKeyType,
tValType
tContainer
 
- Public Types inherited from map< KEYT::tValueType, VALT::tValueType >
typedef KEYT::tValueType key_type
 
typedef VALT::tValueType data_type
 
typedef VALT::tValueType mapped_type
 
typedef pair< const
KEYT::tValueType,
VALT::tValueType > 
value_type
 
typedef _Compare key_compare
 
typedef _Rep_type::pointer pointer
 
typedef _Rep_type::const_pointer const_pointer
 
typedef _Rep_type::reference reference
 
typedef _Rep_type::const_reference const_reference
 
typedef _Rep_type::iterator iterator
 
typedef _Rep_type::const_iterator const_iterator
 
typedef _Rep_type::reverse_iterator reverse_iterator
 
typedef
_Rep_type::const_reverse_iterator 
const_reverse_iterator
 
typedef _Rep_type::size_type size_type
 
typedef _Rep_type::difference_type difference_type
 
typedef _Rep_type::allocator_type allocator_type
 

Public Member Functions

 CollectionTraitsMap ()
 
 CollectionTraitsMap (const tContainer &c)
 
tValTypeoperator[] (const tKeyType &aKey)
 
const tValTypeoperator[] (const tKeyType &aKey) const
 
- Public Member Functions inherited from map< KEYT::tValueType, VALT::tValueType >
 map ()
 
 map (const _Compare &__comp, const allocator_type &__a=allocator_type())
 
 map (_InputIterator __first, _InputIterator __last)
 
 map (_InputIterator __first, _InputIterator __last, const _Compare &__comp, const allocator_type &__a ASTL_ALLOCATOR_TYPE_DFL)
 
 map (_InputIterator __first, _InputIterator __last, const _Compare &__comp)
 
 map (const map< KEYT::tValueType, VALT::tValueType, _Compare, _Alloc > &__x)
 
map< KEYT::tValueType,
VALT::tValueType, _Compare,
_Alloc > & 
operator= (const map< KEYT::tValueType, VALT::tValueType, _Compare, _Alloc > &__x)
 
key_compare key_comp () const
 
value_compare value_comp () const
 
allocator_type get_allocator () const
 
iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
bool empty () const
 
size_type size () const
 
size_type max_size () const
 
VALT::tValueType & operator[] (const key_type &__k)
 
const VALT::tValueType & operator[] (const key_type &__k) const
 
void swap (map< KEYT::tValueType, VALT::tValueType, _Compare, _Alloc > &__x)
 
pair< iterator, bool > insert (const value_type &__x)
 
iterator insert (iterator position, const value_type &__x)
 
void insert (_InputIterator __first, _InputIterator __last)
 
void erase (iterator __position)
 
size_type erase (const key_type &__x)
 
void erase (iterator __first, iterator __last)
 
void clear ()
 
iterator find (const key_type &__x)
 
const_iterator find (const key_type &__x) const
 
size_type count (const key_type &__x) const
 
iterator lower_bound (const key_type &__x)
 
const_iterator lower_bound (const key_type &__x) const
 
iterator upper_bound (const key_type &__x)
 
const_iterator upper_bound (const key_type &__x) const
 
pair< iterator, iteratorequal_range (const key_type &__x)
 
pair< const_iterator,
const_iterator
equal_range (const key_type &__x) const
 

Static Public Member Functions

static tContainer::iterator Find (const tContainer &aContainer, const tKeyType &aVal)
 
static tBool Reserve (tContainer &aContainer, tU32 anNumElements)
 
static tBool Resize (tContainer &aContainer, tU32 anNumElements)
 
static tBool CanPut (const Var &aKey, const Var &aValue)
 
static tBool Put (tContainer &aContainer, const Var &aKey, const Var &aValue)
 
static Var Get (const tContainer &aContainer, const Var &aKey)
 
static Var GetFirst (const tContainer &aContainer)
 
static tBool SetFirst (tContainer &aContainer, const Var &aValue)
 
static Var GetLast (const tContainer &aContainer)
 
static tBool SetLast (tContainer &aContainer, const Var &aValue)
 
static void AddValue (tContainer &aContainer, const tValType &aV)
 
static void Add (tContainer &aContainer, const Var &aVar)
 
static tBool RemoveFirst (tContainer &aContainer)
 
static tBool RemoveLast (tContainer &aContainer)
 
static void GetIterator (const tContainer &aContainer, const typename tContainer::const_iterator &aIt, Var &aKey, Var &aVal)
 
static tPtr GetDataPtr (const tContainer &aContainer)
 
static tSize GetDataSize (const tContainer &aContainer)
 

Member Typedef Documentation

typedef KEYT tKeyTraits
typedef VALT tValTraits
typedef KEYT::tValueType tKeyType
typedef VALT::tValueType tValType

Member Enumeration Documentation

anonymous enum
Enumerator
eKeyType 
eValType 
eModifyContainerInvalidatesAllIterators 

Constructor & Destructor Documentation

Member Function Documentation

tValType& operator[] ( const tKeyType aKey)
const tValType& operator[] ( const tKeyType aKey) const
static tContainer::iterator Find ( const tContainer aContainer,
const tKeyType aVal 
)
static
static tBool Reserve ( tContainer aContainer,
tU32  anNumElements 
)
static
static tBool Resize ( tContainer aContainer,
tU32  anNumElements 
)
static
static tBool CanPut ( const Var aKey,
const Var aValue 
)
static
static tBool Put ( tContainer aContainer,
const Var aKey,
const Var aValue 
)
static
static Var Get ( const tContainer aContainer,
const Var aKey 
)
static
static Var GetFirst ( const tContainer aContainer)
static
static tBool SetFirst ( tContainer aContainer,
const Var aValue 
)
static
static Var GetLast ( const tContainer aContainer)
static
static tBool SetLast ( tContainer aContainer,
const Var aValue 
)
static
static void AddValue ( tContainer aContainer,
const tValType aV 
)
static
static void Add ( tContainer aContainer,
const Var aVar 
)
static
static tBool RemoveFirst ( tContainer aContainer)
static
static tBool RemoveLast ( tContainer aContainer)
static
static void GetIterator ( const tContainer aContainer,
const typename tContainer::const_iterator aIt,
Var aKey,
Var aVal 
)
static
static tPtr GetDataPtr ( const tContainer aContainer)
static
static tSize GetDataSize ( const tContainer aContainer)
static