Namespaces | |
CastRules | |
Classes | |
struct | ComparerType |
struct | ComparerType< SharedPtr< T > > |
class | EnumerableAdapter |
class | EnumerableSelectAdapter |
class | EnumerableSelectIndexAdapter |
class | EnumerableSelectManyAdapter |
class | EnumeratorCastAdapter |
class | EnumeratorOfTypeAdapter |
class | EnumeratorSelectAdapter |
class | EnumeratorSelectIndexAdapter |
class | EnumeratorSelectManyAdapter |
class | GroupEnumerable |
class | Grouping |
struct | has_method_compareto |
struct | has_method_compareto< T, decltype((void)(std::declval< T & >().CompareTo(std::declval< T & >())))> |
Specialization for existing CompareTo method. | |
struct | has_method_compareto_shared_ptr |
struct | has_method_compareto_shared_ptr< T, decltype((void)(std::declval< T & >().CompareTo(std::declval< SharedPtr< T >>())))> |
Specializations for existing CompareTo method. | |
struct | IsEqualExist |
Typedefs | |
template<class T > | |
using | has_operator_equals = decltype(HasOperatorEqualsHelper(std::declval< T * >(), std::declval< T * >())) |
Functions | |
template<typename Container > | |
bool | IsOutOfBounds (int idx, const Container &container) |
template<typename Container > | |
bool | IsOutOfBounds (std::int64_t idx, const Container &container) |
template<typename Container > | |
bool | IsOutOfSize (int count, const Container &container) |
template<typename Container > | |
bool | IsOutOfSize (std::int64_t count, const Container &container) |
template<class T , typename Dummy = decltype(std::declval<T>() == std::declval<T>())> | |
std::true_type | HasOperatorEqualsHelper (T *, T *) |
std::false_type | HasOperatorEqualsHelper (void *, void *) |
template<typename T > | |
T | TryGetFirst (IEnumerable< T > &enumerable, bool &found) |
template<typename T > | |
T | TryGetFirst (IEnumerable< T > &enumerable, const Func< T, bool > &predicate, bool &found) |
template<typename T > | |
T | TryGetLast (IEnumerable< T > &enumerable, bool &found) |
using System::Collections::Generic::Details::has_operator_equals = typedef decltype(HasOperatorEqualsHelper(std::declval<T*>(), std::declval<T*>())) |
Dummy typedef to check for operator == existance.
T | Type to check. |
std::true_type System::Collections::Generic::Details::HasOperatorEqualsHelper | ( | T * | , |
T * | |||
) |
Helper function to determine whether specific class has operator ==.
T | Type to check. |
Dummy | Dummy argument for SFINAE magic. |
std::false_type System::Collections::Generic::Details::HasOperatorEqualsHelper | ( | void * | , |
void * | |||
) |
Helper function to determine whether specific class has operator ==.
bool System::Collections::Generic::Details::IsOutOfBounds | ( | int | idx, |
const Container & | container | ||
) |
Checks if index is out of container bounds, excluding container size.
Container | Container type. |
idx | Index. |
container | Container to check index against. |
bool System::Collections::Generic::Details::IsOutOfBounds | ( | std::int64_t | idx, |
const Container & | container | ||
) |
Checks if index is out of container bounds, excluding container size.
Container | Container type. |
idx | Index. |
container | Container to check index against. |
bool System::Collections::Generic::Details::IsOutOfSize | ( | int | count, |
const Container & | container | ||
) |
Checks if index is out of container bounds, including container size.
Container | Container type. |
count | Index. |
container | Container to check index against. |
bool System::Collections::Generic::Details::IsOutOfSize | ( | std::int64_t | count, |
const Container & | container | ||
) |
Checks if index is out of container bounds, including container size.
Container | Container type. |
count | Index. |
container | Container to check index against. |
T System::Collections::Generic::Details::TryGetFirst | ( | IEnumerable< T > & | enumerable, |
bool & | found | ||
) |
Tries to get the first element of the collection.
T | The type of the collection elements. |
enumerable | The collection from which an element is to be acquired. |
found | The output parameter. Returns true when the collection contains any element. Otherwise false is returned. |
T System::Collections::Generic::Details::TryGetFirst | ( | IEnumerable< T > & | enumerable, |
const Func< T, bool > & | predicate, | ||
bool & | found | ||
) |
Tries to get the first element of the collection, which satisfies to the predicate function.
T | The type of the collection elements. |
enumerable | The collection from which an element is to be acquired. |
predicate | The predicate function. |
found | The output parameter. Returns true when the collection contains any element. Otherwise false is returned. |
T System::Collections::Generic::Details::TryGetLast | ( | IEnumerable< T > & | enumerable, |
bool & | found | ||
) |
Tries to get the last element of the collection.
T | The type of the collection elements. |
enumerable | The collection from which an element is to be acquired. |
found | The output parameter. Returns true when the collection contains any element. Otherwise false is returned. |