33#include <NDEVR/Vector.h>
55 template<typename t_type, bool is_vector = IsVec<t_type>::value,
bool is_buffer = std::is_base_of<BufferBase, t_type>::value>
67 template<
typename t_type>
77 static const bool Primitive = std::is_integral<t_type>::value || std::is_floating_point<t_type>::value || std::is_enum<t_type>::value || std::is_pointer<t_type>::value;
79 static const bool Pointer = std::is_pointer<t_type>::value;
81 static const bool Unsigned = std::is_unsigned<t_type>::value;
83 static const bool Float = std::is_floating_point<t_type>::value;
85 static const bool Integer = std::is_integral<t_type>::value;
87 static const bool Number = std::is_integral<t_type>::value || std::is_floating_point<t_type>::value;
89 static const bool Enum = std::is_enum<t_type>::value;
93 static const bool Color =
false;
95 static const bool Boolean =
false;
121 template<
typename t_type>
124 static const uint01 Dimensions = t_type::NumberOfDimensions();
127 static const bool Primitive =
ObjectInfo<
decltype(t_type::Type())>::Primitive;
129 static const bool Unsigned =
ObjectInfo<
decltype(t_type::Type())>::Unsigned;
130 static const bool Float =
ObjectInfo<
decltype(t_type::Type())>::Float;
131 static const bool Integer =
ObjectInfo<
decltype(t_type::Type())>::Integer;
132 static const bool Number =
ObjectInfo<
decltype(t_type::Type())>::Number;
135 static const bool Boolean =
ObjectInfo<
decltype(t_type::Type())>::Boolean;
139 template<
typename t_type>
145 static const bool Primitive =
false;
147 static const bool Unsigned =
ObjectInfo<
decltype(t_type::Type())>::Unsigned;
148 static const bool Float =
ObjectInfo<
decltype(t_type::Type())>::Float;
149 static const bool Integer =
ObjectInfo<
decltype(t_type::Type())>::Integer;
150 static const bool Number =
ObjectInfo<
decltype(t_type::Type())>::Number;
153 static const bool Boolean =
ObjectInfo<
decltype(t_type::Type())>::Boolean;
163 static const bool Primitive =
true;
165 static const bool Unsigned =
false;
166 static const bool Float =
false;
167 static const bool Integer =
false;
168 static const bool Number =
false;
169 static const bool Enum =
false;
172 static const bool Boolean =
true;
181 static const bool Primitive =
true;
183 static const bool Unsigned =
false;
184 static const bool Float =
false;
185 static const bool Integer =
false;
186 static const bool Number =
false;
187 static const bool Enum =
false;
190 static const bool Boolean =
false;
194 template<
class t_first_type,
class t_second_type>
202 static const bool Unsigned =
false;
203 static const bool Float =
false;
204 static const bool Integer =
false;
205 static const bool Number =
false;
206 static const bool Enum =
false;
209 static const bool Boolean =
false;
Definition ObjectInfo.h:44
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
Definition Pointer.hpp:62
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
static constexpr ObjectInfo< bool, false, false > VectorSub()
Definition ObjectInfo.h:173
static constexpr ObjectInfo< char, false > VectorSub()
Definition ObjectInfo.h:191
static constexpr ObjectInfo< std::pair< t_first_type, t_second_type >, false > VectorSub()
Definition ObjectInfo.h:210
static constexpr ObjectInfo< t_type, false > VectorSub()
If this object is of type vector, returns this object's sub object. Otherwise returns the object itse...
Definition ObjectInfo.h:108
static constexpr ObjectInfo< decltype(t_type::Type())> VectorSub()
Definition ObjectInfo.h:154
static constexpr ObjectInfo< decltype(t_type::Type())> VectorSub()
Definition ObjectInfo.h:136
Information about the object.
Definition ObjectInfo.h:56