33#include <NDEVR/Vector.h>
34#include <NDEVR/Bounds.h>
35#include <NDEVR/NumberParser.h>
36#include <NDEVR/ObjectInfo.h>
37#include <NDEVR/Buffer.h>
41#pragma warning( disable : 4661)
47 class TranslatedString;
51 static const char* begin(
const String& s);
52 static const char* end(
const String& s);
58 static const char* ValidRegex(
const TypeInfo& info);
60 template<
class t_type>
73 static void toString(
const String& value,
String&
string);
75 static void fromString(
const String&
string,
String& value);
76 static const char* getValidRegex();
78 template<u
int01 t_dims,
class t_type>
85 for (
uint01 dim = 1; dim < t_dims; ++dim)
98 for (
uint01 dim = 0; dim < t_dims; ++dim)
101 for (; iter < end; iter++)
109 for (; dim < t_dims; ++dim)
121 for (
uint01 dim = 0; dim < t_dims; ++dim)
123 if (parts.
size() > dim)
125 t_type val = value[dim];
142 template<u
int01 t_dims,
class t_type>
156 if (parts.
size() < 2)
174 template<u
int01 t_dims,
class t_type,
class t_vector_type>
193 template<u
int01 t_dims,
class t_type,
class t_vector_type>
212 template<
class t_type,
class t_index_type,
class t_memory_allocater,
class t_memory_manager>
258 template<
class t_type, u
int01 t_row_dims, u
int01 t_col_dims>
264 for (
uint01 col = 0; col < t_col_dims; ++col)
267 for (
uint01 row = 1; row < t_row_dims; ++row)
279 for (
uint01 col = 0; col < t_col_dims; ++col)
281 if (col < columns.
size())
284 for (
uint01 row = 0; row < t_row_dims; ++row)
286 if (row < rows.
size())
294 for (
uint01 row = 0; row < t_row_dims; ++row)
351 template<
class t_type>
ACI colors are the standard colors used in AutoCAD-based products. Each color is identified by an ACI...
Definition ACIColor.h:58
Stores an angle in an optimized format.
Definition StringStream.h:352
Definition BitReference.hpp:38
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
The equivelent of std::vector but with a bit more control. The basic array unit of the library.
Definition Buffer.hpp:64
constexpr t_index_type size() const
Definition Buffer.hpp:1461
void setSize(t_index_type new_size)
Definition Buffer.hpp:1413
Definition Matrix.hpp:173
static t_type parse(const char *in, const char **out=nullptr, t_type NaN_Value=Constant< t_type >::NaN, bool check_overflow=true)
Definition NumberParser.hpp:83
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
Definition Vertex.hpp:341
Definition StringStream.h:49
static const char * begin(const String &s)
Definition String.cpp:1343
static const char * end(const String &s)
Definition String.cpp:1347
static Buffer< String, uint04, ObjectAllocator< false > > split(const String &s, char split)
Definition String.cpp:1339
static void toString(const Bounds< t_dims, t_type > &value, String &string)
Definition StringStream.h:146
static const char * getValidRegex()
Definition StringStream.h:168
static void toDisplayString(const Bounds< t_dims, t_type > &value, String &string)
Definition StringStream.h:167
static void fromString(const String &string, Bounds< t_dims, t_type > &value)
Definition StringStream.h:153
static void toDisplayString(const Buffer< t_type, t_index_type, t_memory_allocater, t_memory_manager > &value, TranslatedString &string)
Definition StringStream.h:233
static const char * getValidRegex()
Definition StringStream.h:234
static void fromString(const String &string, Buffer< t_type, t_index_type, t_memory_allocater, t_memory_manager > &value)
Definition StringStream.h:224
static void toString(const Buffer< t_type, t_index_type, t_memory_allocater, t_memory_manager > &value, String &string)
Definition StringStream.h:216
static const char * getValidRegex()
Definition StringStream.h:302
static void toDisplayString(const Matrix< t_type, t_row_dims, t_col_dims > &value, TranslatedString &string)
Definition StringStream.h:301
static void toString(const Matrix< t_type, t_row_dims, t_col_dims > &value, String &string)
Definition StringStream.h:262
static void fromString(const String &string, Matrix< t_type, t_row_dims, t_col_dims > &value)
Definition StringStream.h:276
static void toString(const Ray< t_dims, t_type, t_vector_type > &value, String &string)
Definition StringStream.h:197
static void toDisplayString(const Ray< t_dims, t_type, t_vector_type > &value, TranslatedString &string)
Definition StringStream.h:206
static const char * getValidRegex()
Definition StringStream.h:207
static void fromString(const String &string, Ray< t_dims, t_type, t_vector_type > &value)
Definition StringStream.h:202
static void fromString(const String &string, Vector< t_dims, t_type > &value)
Definition StringStream.h:92
static const char * getValidRegex()
Definition StringStream.h:135
static void toString(const Vector< t_dims, t_type > &value, String &string)
Definition StringStream.h:82
static void toDisplayString(const Vector< t_dims, t_type > &value, TranslatedString &string)
Definition StringStream.h:134
static void fromString(const String &string, Vertex< t_dims, t_type, t_vector_type > &value)
Definition StringStream.h:183
static void toString(const Vertex< t_dims, t_type, t_vector_type > &value, String &string)
Definition StringStream.h:178
static const char * getValidRegex()
Definition StringStream.h:188
static void toDisplayString(const Vertex< t_dims, t_type, t_vector_type > &value, TranslatedString &string)
Definition StringStream.h:187
Definition StringStream.h:62
static void toString(const t_type &value, String &string)
static void fromString(const String &string, t_type &value)
static const char * getValidRegex()
static void toDisplayString(const t_type &value, TranslatedString &string)
Represents a timestamp with utilities for manipulation and conversion.
Definition Time.h:54
Definition TranslatedString.h:9
Definition StringStream.h:56
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
A vertex.
Definition Vertex.hpp:54
@ MIN
Definition BaseValues.hpp:226
@ MAX
Definition BaseValues.hpp:227
InterpolationValues
Values that represent interpolation functions. Useful in large or complicated geological or time.
Definition BaseValues.hpp:255
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
Definition BaseValues.hpp:272
Information about the object.
Definition ObjectInfo.h:56