Phoenix
Object-oriented orthogonally persistent operating system
|
All Triton provided entities are defined in this namespace. More...
Namespaces | |
namespace | triton_internal |
Namespace for internal Triton helpers which should not be publicly used. | |
Classes | |
class | TritonError |
Base class for all Triton exceptions. More... | |
class | NullPtrError |
This exception is thrown when Triton object null pointer is dereferenced. More... | |
class | MemoryError |
This exception is thrown when Triton object null pointer is dereferenced. More... | |
class | LookupError |
The base class for the exceptions that are raised when a key or index used on a mapping or sequence is invalid. More... | |
class | IndexError |
Exception class which is raised when a sequence subscript is out of range. More... | |
class | KeyError |
Exception class which is raised when a mapping (dictionary) key is not found in the set of existing keys. More... | |
class | Object |
Base class for all Triton objects. More... | |
class | Container |
Base class for all container classes. More... | |
class | Iterable |
Base class for all iterable classes - i.e. More... | |
class | Ptr |
Class for storing pointers to Triton objects. More... | |
class | Tuple |
Tuple container stores arbitrary amount of different type values. More... | |
Typedefs | |
typedef triton_internal::NumericInt < char > | Char |
Numeric class for characters. | |
typedef triton_internal::NumericInt < unsigned char > | UChar |
Numeric class for unsigned characters. | |
typedef triton_internal::NumericInt < int > | Int |
Numeric class for integers. | |
typedef triton_internal::NumericInt < unsigned int > | UInt |
Numeric class for unsigned integers. | |
typedef triton_internal::NumericInt < long > | Long |
Numeric class for long integers. | |
typedef triton_internal::NumericInt < unsigned long > | ULong |
Numeric class for unsigned long integers. | |
typedef triton_internal::NumericInt < long > | LongLong |
Numeric class for long long integers. | |
typedef triton_internal::NumericInt < unsigned long > | ULongLong |
Numeric class for unsigned long long integers. | |
typedef triton_internal::NumericFloat < float > | Float |
Numeric class for floating point numbers. | |
typedef triton_internal::NumericFloat < double > | Double |
Numeric class for floating point numbers with double precision. | |
typedef triton_internal::NumericFloat < long double > | LongDouble |
Numeric class for floating point numbers with long double precision. | |
Functions | |
Object::hash_t | hash (Object &obj) |
Get hash value of an object. | |
size_t | len (Container &obj) |
Get number of elements in container object. | |
size_t | len (Container &&obj) |
Get number of elements in container object. | |
template<bool... values> | |
constexpr bool | ice_or () |
Helper for boolean "or" operation with constant values. | |
template<bool... values> | |
constexpr bool | ice_and () |
Helper for boolean "and" operation with constant values. | |
template<bool value> | |
constexpr bool | ice_not () |
Helper for boolean "not" operation with constant value. | |
template<typename T > | |
constexpr bool | is_integral () |
Check if provided type is integral type. | |
template<typename T > | |
constexpr bool | is_float () |
Check if provided type is floating point type. | |
template<typename T > | |
constexpr bool | is_numeric () |
Check if provided type is numeric type (either integral or floating point). |
All Triton provided entities are defined in this namespace.
typedef triton_internal::NumericInt<char> triton::Char |
Numeric class for characters.
typedef triton_internal::NumericFloat<double> triton::Double |
Numeric class for floating point numbers with double precision.
typedef triton_internal::NumericFloat<float> triton::Float |
Numeric class for floating point numbers.
typedef triton_internal::NumericInt<int> triton::Int |
Numeric class for integers.
typedef triton_internal::NumericInt<long> triton::Long |
Numeric class for long integers.
typedef triton_internal::NumericFloat<long double> triton::LongDouble |
Numeric class for floating point numbers with long double precision.
typedef triton_internal::NumericInt<long> triton::LongLong |
Numeric class for long long integers.
typedef triton_internal::NumericInt<unsigned char> triton::UChar |
Numeric class for unsigned characters.
typedef triton_internal::NumericInt<unsigned int> triton::UInt |
Numeric class for unsigned integers.
typedef triton_internal::NumericInt<unsigned long> triton::ULong |
Numeric class for unsigned long integers.
typedef triton_internal::NumericInt<unsigned long> triton::ULongLong |
Numeric class for unsigned long long integers.
Object::hash_t triton::hash | ( | Object & | obj | ) | [inline] |
Get hash value of an object.
obj | Container object. |
constexpr bool triton::ice_and | ( | ) |
Helper for boolean "and" operation with constant values.
Usage example:
... ice_and<is_integer<T>, is_float<T>>() ...
constexpr bool triton::ice_not | ( | ) |
Helper for boolean "not" operation with constant value.
Usage example:
... ice_not<is_integer<T>>() ...
constexpr bool triton::ice_or | ( | ) |
Helper for boolean "or" operation with constant values.
Usage example:
... ice_or<is_integer<T>, is_float<T>>() ...
constexpr bool triton::is_float | ( | ) |
Check if provided type is floating point type.
constexpr bool triton::is_integral | ( | ) |
Check if provided type is integral type.
constexpr bool triton::is_numeric | ( | ) |
Check if provided type is numeric type (either integral or floating point).
size_t triton::len | ( | Container & | obj | ) | [inline] |
Get number of elements in container object.
obj | Container object. |
size_t triton::len | ( | Container && | obj | ) | [inline] |
Get number of elements in container object.
obj | Container object. |