System::Collections::Generic::SortedList class SortedList class Sorted list wrapping FlatMap structure. Objects of this class should only be allocated using System::MakeObject() function. Never create instance of this type on stack or using operator new, as it will result in runtime errors and/or assertion faults. Always wrap this class into System::SmartPtr pointer and use this pointer to pass it to functions as argument.
Copy template < typename TKey , typename TValue > class SortedList : public System :: Collections :: Generic :: SortedListHelper < TKey , TValue > ,
public System :: Collections :: Generic :: BaseDictionary < Detail :: FlatMap < TKey , TValue , ComparerAdapter < TKey >>>
Parameter Description TKey Key type. TValue Value type.
Nested classes Methods Method Description crbegin () constGets a reverse iterator to the last const-qualified element of collection (first in reverse). crend () constGets a reverse iterator for a non-existent const-qualified element before the start of the collection. get_Capacity () constGets current list capacity. get_Keys () constget_Values () constGetEnumerator () overrideGets enumerator iterating through current list. IndexOfKey (TKey) constLooks for specific key. IndexOfValue (TValue) constLooks for specific value. rbegin ()Gets a reverse iterator to the last element of collection (first in reverse). rbegin () constGets a reverse iterator to the last element of the const-qualified collection (first in reverse). RemoveAt (int)Removes item at specified position. rend ()Gets a reverse iterator for a non-existent element before the start of the collection. rend () constGets a reverse iterator for a non-existent element before the start of the const-qualified collection. set_Capacity (int)Sets current list capacity. SortedList ()Constructs empty list. SortedList (const SharedPtr<IComparer<TKey>>&)Constructs empty list. SortedList (const SharedPtr<IDictionary<TKey, TValue>>&)Copy constructor. SortedList (const map_t&)Copy constructor. SortedList (int)Constructs empty list.
Typedefs See Also