Classes | |
class | _KeyCollection |
class | _KeyList |
class | _ValueCollection |
class | _ValueList |
class | BaseDictionary |
class | BaseEnumerator |
class | BaseKVCollection |
class | BaseSet |
struct | ComparerAdapter |
class | DefaultComparer |
class | Dictionary |
Forward declaration of Dictionary class. More... | |
struct | DictionaryHashSelector |
struct | DictionaryHashSelector< T, std::enable_if< std::is_enum< T >::value >::type > |
struct | DictionaryHashSelector< T, std::enable_if< System::detail::has_method_gethashcode< T >::value >::type > |
struct | DictionaryHashSelector< T, std::enable_if< System::detail::has_ref_method_gethashcode< T >::value &&!System::detail::has_method_gethashcode< T >::value >::type > |
class | DictionaryIterator |
class | DictionaryPtr |
class | EnumerableExt |
class | EnumeratorWrapperIterator |
struct | EqualityComparerAdapter |
struct | EqualityComparerHashAdapter |
class | HashDictionary |
class | HashSet |
Forward declaration of HashSet class. More... | |
class | HashSetPtr |
class | ICollection |
class | IComparer |
class | IDictionary |
class | IEnumerable |
class | IEnumerator |
class | IEqualityComparer |
class | IKVCollection |
class | IList |
class | ISet |
class | KeyIterator |
class | KeyValuePair |
class | KVPairIterator |
class | LinkedList |
LinkedList forward declaration. More... | |
class | LinkedListNode |
class | List |
List forward declaration. More... | |
class | ListExt |
generic List class that implements IListWrapper interface More... | |
class | ListPtr |
class | Queue |
Queue class forward declaration. More... | |
class | QueuePtr |
class | ReverseEnumerator |
class | SimpleEnumerator |
class | SortedDictionary |
Sorted dictionary type forward declaration. More... | |
class | SortedDictionaryPtr |
class | SortedList |
class | SortedListHelper |
class | SortedSet |
Forward declaration of SortedSet class. More... | |
class | SortedSetPtr |
class | Stack |
Stack class forward declaration. More... | |
class | StackPtr |
class | ValueIterator |
Functions | |
template<template< typename, typename > class containterT, class T , class Allocator > | |
int | _net_binnary_search (const containterT< T, Allocator > &container, int index, int count, T value, const SharedPtr< System::Collections::Generic::IComparer< T > > &comparer) |
template<template< typename, typename > class containterT, class T , class Allocator > | |
std::enable_if< IsSmartPtr< T >::value, int >::type | _net_binnary_search (const containterT< T, Allocator > &container, int index, int count, T value) |
template<template< typename, typename > class containterT, class T , class Allocator > | |
std::enable_if<!IsSmartPtr< T >::value &&!std::is_scalar< T >::value, int >::type | _net_binnary_search (const containterT< T, Allocator > &container, int index, int count, T value) |
template<template< typename, typename > class containterT, class T , class Allocator > | |
std::enable_if< std::is_scalar< T >::value, int >::type | _net_binnary_search (const containterT< T, Allocator > &container, int index, int count, T value) |
template<typename TKey , typename TValue > | |
bool | operator== (const KeyValuePair< TKey, TValue > &left, const KeyValuePair< TKey, TValue > &right) |
template<typename TKey , typename TValue > | |
bool | operator!= (const KeyValuePair< TKey, TValue > &left, const KeyValuePair< TKey, TValue > &right) |
template<typename TKey , typename TValue > | |
std::ostream & | operator<< (std::ostream &stream, const KeyValuePair< TKey, TValue > &pair) |
template<typename TKey , typename TValue > | |
std::wostream & | operator<< (std::wostream &stream, const KeyValuePair< TKey, TValue > &pair) |
Variables | |
template<typename T > | |
class ASPOSECPP_SHARED_CLASS | List |
int System::Collections::Generic::_net_binnary_search | ( | const containterT< T, Allocator > & | container, |
int | index, | ||
int | count, | ||
T | value, | ||
const SharedPtr< System::Collections::Generic::IComparer< T > > & | comparer | ||
) |
Implements binary search in random access container.
containerT | STL-styled container template type with two template arguments: element type and allocator type. |
T | Element type. |
Allocator | Allocator type. |
container | Container to search in. |
index | Search range beginning index. |
count | Search range length. |
value | Value to look for. |
comparer | Comparer object. |
std::enable_if<IsSmartPtr<T>::value, int>::type System::Collections::Generic::_net_binnary_search | ( | const containterT< T, Allocator > & | container, |
int | index, | ||
int | count, | ||
T | value | ||
) |
Implements binary search in random access container. Specialization for smart pointers. Uses System::Object::CompareTo method.
containerT | STL-styled container template type with two template arguments: element type and allocator type. |
T | Element type. |
Allocator | Allocator type. |
container | Container to search in. |
index | Search range beginning index. |
count | Search range length. |
value | Value to look for. |
std::enable_if<!IsSmartPtr<T>::value && !std::is_scalar<T>::value, int>::type System::Collections::Generic::_net_binnary_search | ( | const containterT< T, Allocator > & | container, |
int | index, | ||
int | count, | ||
T | value | ||
) |
Implements binary search in random access container. Specialization for value types. Uses CompareTo method.
containerT | STL-styled container template type with two template arguments: element type and allocator type. |
T | Element type. |
Allocator | Allocator type. |
container | Container to search in. |
index | Search range beginning index. |
count | Search range length. |
value | Value to look for. |
std::enable_if<std::is_scalar<T>::value, int>::type System::Collections::Generic::_net_binnary_search | ( | const containterT< T, Allocator > & | container, |
int | index, | ||
int | count, | ||
T | value | ||
) |
Implements binary search in random access container. Specialization for scalar types. Compares elements using greater and less operators.
containerT | STL-styled container template type with two template arguments: element type and allocator type. |
T | Element type. |
Allocator | Allocator type. |
container | Container to search in. |
index | Search range beginning index. |
count | Search range length. |
value | Value to look for. |
bool System::Collections::Generic::operator!= | ( | const KeyValuePair< TKey, TValue > & | left, |
const KeyValuePair< TKey, TValue > & | right | ||
) |
Compares two key-value pairs using inverse 'equals' semantics.
TKey | Key type. |
TValue | Value type. |
left | LHS operand. |
right | RHS operand. |
std::ostream& System::Collections::Generic::operator<< | ( | std::ostream & | stream, |
const KeyValuePair< TKey, TValue > & | pair | ||
) |
Insert data into the stream using UTF-8 encoding.
TKey | Key type. |
TValue | Value type. |
stream | Output stream to insert data to. |
pair | Data to insert. |
stream
. std::wostream& System::Collections::Generic::operator<< | ( | std::wostream & | stream, |
const KeyValuePair< TKey, TValue > & | pair | ||
) |
Insert data into the stream.
TKey | Key type. |
TValue | Value type. |
stream | Output stream to insert data to. |
pair | Data to insert. |
stream
. bool System::Collections::Generic::operator== | ( | const KeyValuePair< TKey, TValue > & | left, |
const KeyValuePair< TKey, TValue > & | right | ||
) |
Compares two key-value pairs using 'equals' semantics. Uses operator == or EqualsTo method for both keys and values, whichever is defined.
TKey | Key type. |
TValue | Value type. |
left | LHS operand. |
right | RHS operand. |
class ASPOSECPP_SHARED_CLASS System::Collections::Generic::List |