|
Evo C++ Library v0.5.1
|
Evo basic types and traits. More...
#include "impl/container.h"Go to the source code of this file.
Classes | |
| struct | Bool |
| Basic boolean type. More... | |
| struct | Char |
| Basic character type (char) – see CharT. More... | |
| struct | CharT< T > |
| Nullable primitive character base type. More... | |
| struct | Convert< T, C > |
| Generic value conversion template. More... | |
| struct | FloatT< T > |
| Nullable basic floating-point base type. More... | |
| struct | IntegerT< T > |
| Basic integer type. More... | |
| class | Nullable< T > |
| Nullable primitive base type. More... | |
| struct | PtrBase< T, P > |
| Base managed pointer. More... | |
| class | PureBase |
| Pure base class, i.e. More... | |
| class | SafeBool< T > |
| Safe bool base class. More... | |
Namespaces | |
| evo | |
| Evo C++ Library namespace. | |
Macros | |
| #define | EVO_MAX(A, B) ((B) > (A) ? (B) : (A)) |
| Macro returning highest argument. More... | |
| #define | EVO_MIN(A, B) ((B) < (A) ? (B) : (A)) |
| Macro returning lowest argument. More... | |
| #define | EVO_PDEFAULT ((T*)IntegerT<std::size_t>::MAX) |
| Special pointer value for default initialization (used in containers). More... | |
| #define | EVO_PEMPTY ((T*)1) |
| Special pointer value for empty but not NULL (used in containers). More... | |
| #define | EVO_PPEMPTY ((T**)1) |
| Special pointer value for empty but not NULL (used in containers). More... | |
| #define | INCL_evo_type_h |
Typedefs | |
| typedef FloatT< float > | Float |
| Basic single-precision floating-point type (float) – see FloatT. More... | |
| typedef FloatT< double > | FloatD |
| Basic double-precision floating-point type (double) – see FloatT. More... | |
| typedef FloatT< long double > | FloatL |
| Basic long-double floating-point type (long double) – see FloatT. More... | |
| typedef IntegerT< int > | Int |
| Basic integer type (int) – see IntegerT. More... | |
| typedef IntegerT< int16 > | Int16 |
| Basic integer type (int16) – see IntegerT. More... | |
| typedef IntegerT< int32 > | Int32 |
| Basic integer type (int32) – see IntegerT. More... | |
| typedef IntegerT< int64 > | Int64 |
| Basic integer type (int64) – see IntegerT. More... | |
| typedef IntegerT< int8 > | Int8 |
| Basic integer type (int8) – see IntegerT. More... | |
| typedef IntegerT< long > | Long |
| Basic integer type (long) – see IntegerT. More... | |
| typedef IntegerT< longl > | LongL |
| Basic integer type (long long) – see IntegerT. More... | |
| typedef IntegerT< short > | Short |
| Basic integer type (short) – see IntegerT. More... | |
| typedef IntegerT< uint > | UInt |
| Basic integer type (unsigned int) – see IntegerT. More... | |
| typedef IntegerT< uint16 > | UInt16 |
| Basic integer type (uint16) – see IntegerT. More... | |
| typedef IntegerT< uint32 > | UInt32 |
| Basic integer type (uint32) – see IntegerT. More... | |
| typedef IntegerT< uint64 > | UInt64 |
| Basic integer type (uint64) – see IntegerT. More... | |
| typedef IntegerT< uint8 > | UInt8 |
| Basic integer type (uint8) – see IntegerT. More... | |
| typedef IntegerT< ulong > | ULong |
| Basic integer type (unsigned long) – see IntegerT. More... | |
| typedef IntegerT< ulongl > | ULongL |
| Basic integer type (unsigned long long) – see IntegerT. More... | |
| typedef IntegerT< ushort > | UShort |
| Basic integer type (unsigned short) – see IntegerT. More... | |
Functions | |
| template<class T > | |
| bool | is_pow2 (T num) |
| Get whether a number is a power of 2. More... | |
| template<class T > | |
| T | next_pow2 (T v) |
| Get next power of 2 equal to or greater than given number. More... | |
| template<class T > | |
| bool | operator!= (T val1, const Nullable< T > &val2) |
| Inequality operator comparing value with Nullable value. More... | |
| template<class T > | |
| bool | operator< (T val1, const Nullable< T > &val2) |
| Less than operator comparing value with Nullable value. More... | |
| template<class T > | |
| bool | operator<= (T val1, const Nullable< T > &val2) |
| Less than or equal operator comparing value with Nullable value. More... | |
| template<class T > | |
| bool | operator== (T val1, const Nullable< T > &val2) |
| Equality operator comparing value with Nullable value. More... | |
| template<class T > | |
| bool | operator> (T val1, const Nullable< T > &val2) |
| Greater than operator comparing value with Nullable value. More... | |
| template<class T > | |
| bool | operator>= (T val1, const Nullable< T > &val2) |
| Greater than or equal operator comparing value with Nullable value. More... | |
| template<class Size > | |
| Size | size_pow2 (Size size, Size minsize=2) |
| Get size as power of 2. More... | |
Variables | |
| static const EndT | ALL |
| Special integer value for indicating all items or all remaining items. More... | |
| static const EndT | END |
| Special integer value for indicating end of items or no item. More... | |
| static const EndT | NONE |
| Special integer value for indicating no item or unknown item. More... | |
Evo basic types and traits.
| #define INCL_evo_type_h |
1.8.13