34 #pragma clang diagnostic push
35 #pragma clang diagnostic ignored "-Woverloaded-virtual"
38#include <NDEVR/TableColumn.h>
39#include <NDEVR/RGBColor.h>
40#include <NDEVR/Matrix.h>
41#include <NDEVR/TypeInfo.h>
42#include <NDEVR/BinaryFile.h>
43#include <NDEVR/String.h>
44#include <NDEVR/Compressor.h>
47 template<
class t_type>
71 m_buffer.template addSpace<true>(index, 1U);
92 if (destination < source)
114 if (sorted_romove_indices.
size() == 0)
116 uint04 current_position = 1;
117 uint04 current_remove_index = 0;
120 if (current_remove_index >= sorted_romove_indices.
size() || (i - 1) != sorted_romove_indices[current_remove_index])
126 current_remove_index++;
129 lib_assert(current_remove_index == sorted_romove_indices.
size() + 1,
"Unexpected end remove value");
136 uint04 current_position = offset;
145 uint04 removed_size = current_position;
172 if (version_number <= 1539350691)
179 else if (version_number <= 1613942093)
182 file.
readNow(default_value_buffer);
185 m_buffer.add(0, default_value_buffer[0]);
251 template<u
int01 t_dims,
class t_type>
341 uint08 result = 2166136261U;
342 std::hash<t_type> hash;
345 for (
uint01 i = 0; i < t_dims; i++)
346 result = (127 * result) + hash(v[i]);
353 new_vector_array->
setSize(selected_indices.
count(
true));
355 for (
uint04 i = 0; i < selected_indices.
size(); i++)
357 if (selected_indices[i])
362 return new_vector_array;
370 for (
uint04 i = 1; i < TableColumnBuffer<Vector<t_dims, t_type>>
::m_buffer.size(); i++)
372 for (
uint01 n = 0; n < t_dims; n++)
395 for (
uint04 i = 1; i < TableColumnBuffer<Vector<t_dims, t_type>>
::m_buffer.size(); i++)
397 for (
uint01 n = 0; n < t_dims; n++)
421 for (
uint04 i = 1; i < TableColumnBuffer<Vector<t_dims, t_type>>
::m_buffer.size(); i++)
423 for (
uint01 n = 0; n < t_dims; n++)
444 template<
class t_type, u
int01 t_cols, u
int01 t_rows>
465 transform = matrix.template as<fltp08, 4, 4>();
471 transform = matrix.template as<fltp04, 4, 4>();
486 template<
class t_type>
557 new_vector_array->
setSize(selected_indices.
count(
true));
559 for (
uint04 i = 0; i < selected_indices.
size(); i++)
561 if (selected_indices[i])
566 return new_vector_array;
570 this->
template _insertIndices<t_type>(location,
size);
574 this->
template _removeIndices<t_type>(location,
size);
578 this->
template _removeIndices<t_type>(offset_lookup_list);
581 template<
class t_n_type>
587 for (
uint04 i = 1; i < TableColumnBuffer<t_type>::m_buffer.size(); i++)
591 if (value >= location && !
isNaN(value))
605 template<
class t_n_type>
611 template<
class t_n_type>
617 for (
uint04 i = 1; i < TableColumnBuffer<t_type>::m_buffer.size(); i++)
636 template<
class t_n_type>
639 template<
class t_n_type>
643 for (
uint04 i = 1; i < TableColumnBuffer<t_type>::m_buffer.size(); i++)
664 template<
class t_n_type>
681 void get(
uint04,
bool& value)
const override { value =
false; };
713 template<
class t_type>
790 uint08 result = 2166136261U;
791 std::hash<t_type> hash;
794 for(
uint04 i = 0; i < b.size(); i++)
795 result = (127 * result) + hash(b[i]);
803 template<
class t_n_type>
809 for (
uint04 i = 1; i < TableColumnBuffer<Buffer<t_type>>
::m_buffer.size(); i++)
811 for (
uint04 n = 0; n < TableColumnBuffer<Buffer<t_type>>
::m_buffer[i].size(); n++)
829 template<
class t_n_type>
832 template<
class t_n_type>
838 for (
uint04 i = 1; i < TableColumnBuffer<Buffer<t_type>>
::m_buffer.size(); i++)
861 template<
class t_n_type>
868 template<
class t_n_type>
872 for (
uint04 i = 1; i < TableColumnBuffer<Buffer<t_type>>
::m_buffer.size(); i++)
901 template<
class t_n_type>
904 UNUSED(offset_lookup_list);
976 for (
uint04 i = 1; i < m_buffer.size(); i++)
979 if (!
isNaN(value) && value >= location)
981 m_buffer[i] =
String(value + size);
988 m_changes.add(
TableChange(TableChange::e_update, update_range[
MIN], update_range.
span()));
989 m_modified_time = Time::SystemTime();
994 uint08 result = 2166136261U;
995 for (
const String& s : m_buffer)
996 result = (127 * result) ^ s.hash();
1004 for (
uint04 i = 1; i < m_buffer.size(); i++)
1007 if (!
isNaN(value) && value > location)
1009 if (value < location + size)
1010 m_buffer[i] =
"NaN";
1012 m_buffer[i] =
String(value -= size);
1019 m_changes.add(
TableChange(TableChange::e_update, update_range[
MIN], update_range.
span()));
1020 m_modified_time = Time::SystemTime();
1025 UNUSED(offset_lookup_list);
1031 if (version_number >= 1614203273)
1039 bool allow_multithreading =
false;
1050 [[nodiscard]]
bool isSame(
uint04 index,
const String& value)
const override {
return value == m_buffer[index + 1];}
1051 [[nodiscard]]
bool isSame(
uint04 index,
const char* value)
const override {
return value == m_buffer[index + 1]; }
1052 [[nodiscard]]
bool contains(
uint04 index,
const String& value,
bool ignore_case)
const final override {
return _value(index).hasSubString(value, ignore_case); }
1053 [[nodiscard]]
bool contains(
uint04 index,
const char* value,
bool ignore_case)
const final override {
return _value(index).hasSubString(value, ignore_case); }
1054 [[nodiscard]]
bool beginsWith(
uint04 index,
const String& value,
bool ignore_case)
const final override {
return _value(index).beginsWith(value, ignore_case); }
1055 [[nodiscard]]
bool beginsWith(
uint04 index,
const char* value,
bool ignore_case)
const final override {
return _value(index).beginsWith(value, ignore_case); }
1127 new_vector_array->
setSize(selected_indices.
count(
true));
1128 uint04 current_index = 1;
1129 for (
uint04 i = 0; i < selected_indices.
size(); i++)
1131 if (selected_indices[i])
1136 return new_vector_array;
1141 #pragma clang diagnostic pop
#define UNUSED(expr)
Definition BaseValues.hpp:433
#define lib_assert(expression, message)
Asserts some logic in the code. Disabled in non debug mode by default. Can be re-enabled in release u...
Definition LibAssert.h:70
Definition BinaryFile.h:51
void write(const t_type &data)
Definition BinaryFile.h:115
void writeCompression(BinaryCompressionObject &compression_object)
Definition BinaryFile.cpp:52
void seek(uint08 location)
Definition BinaryFile.h:467
void readNow(Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data)
Definition BinaryFile.h:327
uint08 position()
Definition BinaryFile.h:447
void readStringBuffer(Buffer< String, t_index_type, t_memory_allocator, t_memory_manager > &data, bool &allow_multithread)
Definition BinaryFile.h:354
t_type read()
Definition BinaryFile.h:225
A specification of upper and lower bounds in N-dimensions.
Definition Bounds.hpp:57
constexpr void addToBounds(const t_vertex &vector)
Adds to the bounds such that the new bounds fully encompasses the argument.
Definition Bounds.hpp:498
constexpr Ray< t_dims, t_type > span() const
The side lengths of these bounds. For each dimension, the span is max - min.
Definition Bounds.hpp:139
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
t_index_type count(const t_type &element) const
Definition Buffer.hpp:728
static std::enable_if<!ObjectInfo< t_type >::Buffer >::type Compress(BinaryCompressionObject &object, Buffer< uint01 > &compression_data, const Buffer< t_type, t_index_type, t_memory_allocator, t_memory_manager > &data)
Definition Compressor.h:101
Definition Matrix.hpp:173
constexpr Matrix< t_new_type > as() const
Definition Matrix.hpp:245
Represents a color in the RGB space with optional alpha transparency.
Definition RGBColor.h:53
NDEVR_BASE_API bool hasSubString(const String &sub_string, bool ignore_case=false) const
Definition String.cpp:331
t_type getAs() const
Definition String.h:334
NDEVR_BASE_API bool beginsWith(const String &s, bool ignore_case=false) const
Definition String.cpp:412
Definition TableColumnType.h:49
bool beginsWith(uint04 index, const char *value, bool ignore_case) const override
Definition TableColumnType.h:214
decltype(auto) _setDefaultValue(const t_type &value)
Definition TableColumnType.h:227
uint04 size() const override
Definition TableColumnType.h:215
virtual void copyRow(uint04 source, uint04 destination) override
Definition TableColumnType.h:84
virtual void copyRows(uint04 source, uint04 destination, uint04 size) override
Definition TableColumnType.h:88
virtual void compress(BinaryCompressionObject &object) override
Definition TableColumnType.h:153
decltype(auto) _value(uint04 index)
Definition TableColumnType.h:231
Buffer< t_type > m_buffer
Definition TableColumnType.h:247
void * end() override
Definition TableColumnType.h:193
void setSize(uint04 size) override
Definition TableColumnType.h:75
virtual void addRow() override
Definition TableColumnType.h:198
TableColumnBuffer(const String &label, const TypeInfo type)
Definition TableColumnType.h:52
const void * end() const override
Definition TableColumnType.h:196
bool contains(uint04 index, const char *value, bool ignore_case) const override
Definition TableColumnType.h:212
void removeRows(uint04 offset, const Buffer< bool > &indices) override
Definition TableColumnType.h:133
decltype(auto) defaultValue()
Definition TableColumnType.h:239
TableColumnBuffer(const String &label, const TypeInfo type, const t_type &default_value)
Definition TableColumnType.h:57
void insert(uint04 index) override
Definition TableColumnType.h:68
bool isSame(uint04 index, const char *value) const override
Definition TableColumnType.h:210
virtual void removeRows(uint04 index, uint04 size) override
Definition TableColumnType.h:107
void removeRow(uint04 index) override
Definition TableColumnType.h:103
Buffer< uint01 > m_compressed_data
Definition TableColumnType.h:248
void _mapToFile(BinaryFile &file, BinaryCompressionObject &object)
Definition TableColumnType.h:222
void _mapToFile(BinaryFile &file, CompressionMode compression)
Definition TableColumnType.h:218
virtual void mapToFile(BinaryFile &file, int compression) override
Definition TableColumnType.h:161
void * begin() override
Definition TableColumnType.h:192
virtual void mapFromFile(BinaryFile &file, uint08 version_number) override
Definition TableColumnType.h:170
virtual void removeRows(const Buffer< uint04 > &sorted_romove_indices) override
Definition TableColumnType.h:112
bool beginsWith(uint04 index, const String &value, bool ignore_case) const override
Definition TableColumnType.h:213
decltype(auto) defaultValue() const
Definition TableColumnType.h:243
decltype(auto) _value(uint04 index) const
Definition TableColumnType.h:235
virtual void insertRows(uint04 location, uint04 size) override
Definition TableColumnType.h:204
bool isSame(uint04 index, const String &value) const override
Definition TableColumnType.h:209
const void * begin() const override
Definition TableColumnType.h:195
virtual void mapToFile(BinaryFile &file, BinaryCompressionObject &object) override
Definition TableColumnType.h:165
TableColumnBuffer(const Buffer< t_type > &buffer, const String &label, const TypeInfo type)
Definition TableColumnType.h:62
bool contains(uint04 index, const String &value, bool ignore_case) const override
Definition TableColumnType.h:211
Definition TableColumnType.h:1059
void get(uint04 index, sint02 &value) const override
Definition TableColumnType.h:1110
void set(uint04 index, fltp08 value) override
Definition TableColumnType.h:1091
void set(uint04 index, uint04 vector_pos, uint04 value) override
Definition TableColumnType.h:1071
void set(uint04 index, sint01 value) override
Definition TableColumnType.h:1085
void get(uint04 index, uint04 vector_pos, uint01 &value) const override
Definition TableColumnType.h:1096
void set(uint04 index, sint08 value) override
Definition TableColumnType.h:1089
void get(uint04 index, sint08 &value) const override
Definition TableColumnType.h:1116
void get(uint04 index, uint04 vector_pos, uint02 &value) const override
Definition TableColumnType.h:1097
void set(uint04 index, uint04 vector_pos, sint04 value) override
Definition TableColumnType.h:1075
void set(uint04 index, uint04 vector_pos, fltp08 value) override
Definition TableColumnType.h:1078
void get(uint04 index, uint01 &value) const override
Definition TableColumnType.h:1111
void set(uint04 index, uint04 vector_pos, uint08 value) override
Definition TableColumnType.h:1072
void set(uint04 index, uint04 vector_pos, const String &value) override
Definition TableColumnType.h:1079
void get(uint04 index, uint04 vector_pos, sint01 &value) const override
Definition TableColumnType.h:1100
void get(uint04 index, uint04 vector_pos, fltp08 &value) const override
Definition TableColumnType.h:1105
void get(uint04 index, uint04 vector_pos, sint08 &value) const override
Definition TableColumnType.h:1103
void removeIndices(const Buffer< uint04 > &offset_lookup_list) override
Definition TableColumnType.h:1123
void removeIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:1122
void set(uint04 index, uint04 vector_pos, uint01 value) override
Definition TableColumnType.h:1069
void set(uint04 index, uint08 value) override
Definition TableColumnType.h:1087
void get(uint04 index, uint02 &value) const override
Definition TableColumnType.h:1112
void set(uint04 index, uint04 vector_pos, sint08 value) override
Definition TableColumnType.h:1076
void set(uint04 index, uint02 value) override
Definition TableColumnType.h:1082
void get(uint04 index, fltp04 &value) const override
Definition TableColumnType.h:1117
void get(uint04 index, uint04 vector_pos, sint04 &value) const override
Definition TableColumnType.h:1102
void set(uint04 index, RGBColor value) override
Definition TableColumnType.h:1093
void get(uint04 index, bool &value) const override
Definition TableColumnType.h:1108
void set(uint04 index, uint04 vector_pos, bool value) override
Definition TableColumnType.h:1068
void get(uint04 index, uint04 vector_pos, uint04 &value) const override
Definition TableColumnType.h:1098
void set(uint04 index, const String &value) override
Definition TableColumnType.h:1092
void set(uint04 index, uint04 vector_pos, fltp04 value) override
Definition TableColumnType.h:1077
void set(uint04 index, uint04 vector_pos, sint01 value) override
Definition TableColumnType.h:1073
void get(uint04 index, uint04 &value) const override
Definition TableColumnType.h:1113
void get(uint04 index, uint04 vector_pos, uint08 &value) const override
Definition TableColumnType.h:1099
void get(uint04 index, fltp08 &value) const override
Definition TableColumnType.h:1118
void get(uint04 index, uint04 vector_pos, bool &value) const override
Definition TableColumnType.h:1095
void get(uint04 index, uint08 &value) const override
Definition TableColumnType.h:1114
void set(uint04 index, uint01 value) override
Definition TableColumnType.h:1083
void get(uint04 index, sint04 &value) const override
Definition TableColumnType.h:1115
void set(uint04 index, fltp04 value) override
Definition TableColumnType.h:1090
void get(uint04 index, uint04 vector_pos, fltp04 &value) const override
Definition TableColumnType.h:1104
TableColumnColorType(const Buffer< RGBColor > &buffer, const String &label)
Definition TableColumnType.h:1064
void get(uint04 index, uint04 vector_pos, sint02 &value) const override
Definition TableColumnType.h:1101
void set(uint04 index, uint04 vector_pos, sint02 value) override
Definition TableColumnType.h:1074
void insertIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:1121
TableColumnColorType(const String &label)
Definition TableColumnType.h:1061
void get(uint04 index, sint01 &value) const override
Definition TableColumnType.h:1109
void set(uint04 index, uint04 value) override
Definition TableColumnType.h:1086
void set(uint04 index, bool value) override
Definition TableColumnType.h:1081
TableColumnColorType * getSelected(const Buffer< bool > &selected_indices) const override
Definition TableColumnType.h:1124
void set(uint04 index, sint04 value) override
Definition TableColumnType.h:1088
void set(uint04 index, uint04 vector_pos, uint02 value) override
Definition TableColumnType.h:1070
void set(uint04 index, sint02 value) override
Definition TableColumnType.h:1084
void get(uint04 index, uint04 vector_pos, String &value) const override
Definition TableColumnType.h:1106
void get(uint04 index, RGBColor &value) const override
Definition TableColumnType.h:1120
void get(uint04 index, String &value) const override
Definition TableColumnType.h:1119
Definition TableColumn.h:68
bool m_compression_valid
Definition TableColumn.h:613
Time m_modified_time
Definition TableColumn.h:607
CompressionMode m_compression_mode
Definition TableColumn.h:612
BinaryCompressionObject m_compression_object
Definition TableColumn.h:606
const String & label() const
Definition TableColumn.cpp:303
virtual TypeInfo type() const
Definition TableColumn.h:78
Buffer< TableChange > m_changes
Definition TableColumn.h:611
Definition TableColumnType.h:910
void get(uint04 index, sint02 &value) const override
Definition TableColumnType.h:964
void set(uint04 index, fltp08 value) override
Definition TableColumnType.h:941
void set(uint04 index, uint04 vector_pos, uint04 value) override
Definition TableColumnType.h:920
void set(uint04 index, sint01 value) override
Definition TableColumnType.h:936
bool beginsWith(uint04 index, const String &value, bool ignore_case) const final override
Definition TableColumnType.h:1054
uint08 tableHash() const override
Definition TableColumnType.h:992
void get(uint04 index, uint04 vector_pos, uint01 &value) const override
Definition TableColumnType.h:946
void set(uint04 index, sint08 value) override
Definition TableColumnType.h:939
void get(uint04 index, sint08 &value) const override
Definition TableColumnType.h:966
virtual void insertIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:973
void get(uint04 index, uint04 vector_pos, uint02 &value) const override
Definition TableColumnType.h:947
void set(uint04 index, uint04 vector_pos, sint04 value) override
Definition TableColumnType.h:924
void set(uint04 index, uint04 vector_pos, fltp08 value) override
Definition TableColumnType.h:927
void get(uint04 index, uint01 &value) const override
Definition TableColumnType.h:959
TableColumnString(const String &label)
Definition TableColumnType.h:912
void set(uint04 index, uint04 vector_pos, uint08 value) override
Definition TableColumnType.h:921
void set(uint04 index, uint04 vector_pos, const String &value) override
Definition TableColumnType.h:929
void get(uint04 index, uint04 vector_pos, sint01 &value) const override
Definition TableColumnType.h:950
bool contains(uint04 index, const String &value, bool ignore_case) const final override
Definition TableColumnType.h:1052
void get(uint04 index, uint04 vector_pos, fltp08 &value) const override
Definition TableColumnType.h:955
bool beginsWith(uint04 index, const char *value, bool ignore_case) const final override
Definition TableColumnType.h:1055
void get(uint04 index, uint04 vector_pos, sint08 &value) const override
Definition TableColumnType.h:953
void set(uint04 index, uint04 vector_pos, uint01 value) override
Definition TableColumnType.h:918
void set(uint04 index, uint08 value) override
Definition TableColumnType.h:935
void removeRows(uint04 offset, const Buffer< bool > &indices) override
Definition TableColumnType.h:916
void get(uint04 index, uint02 &value) const override
Definition TableColumnType.h:960
void set(uint04 index, uint04 vector_pos, sint08 value) override
Definition TableColumnType.h:925
void setRowSize(uint04 index, uint04 size) override
Definition TableColumnType.h:1048
void set(uint04 index, uint02 value) override
Definition TableColumnType.h:933
bool isSame(uint04 index, const char *value) const override
Definition TableColumnType.h:1051
uint04 getRowSize(uint04 index) const override
Definition TableColumnType.h:1049
void get(uint04 index, fltp04 &value) const override
Definition TableColumnType.h:967
void get(uint04 index, uint04 vector_pos, sint04 &value) const override
Definition TableColumnType.h:952
bool contains(uint04 index, const char *value, bool ignore_case) const final override
Definition TableColumnType.h:1053
void set(uint04 index, RGBColor value) override
Definition TableColumnType.h:943
void get(uint04 index, bool &value) const override
Definition TableColumnType.h:958
void set(uint04 index, uint04 vector_pos, bool value) override
Definition TableColumnType.h:917
void get(uint04 index, uint04 vector_pos, uint04 &value) const override
Definition TableColumnType.h:948
void set(uint04 index, const String &value) override
Definition TableColumnType.h:942
virtual void removeIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:999
void set(uint04 index, uint04 vector_pos, fltp04 value) override
Definition TableColumnType.h:926
void set(uint04 index, uint04 vector_pos, sint01 value) override
Definition TableColumnType.h:922
void get(uint04 index, uint04 &value) const override
Definition TableColumnType.h:961
void get(uint04 index, uint04 vector_pos, uint08 &value) const override
Definition TableColumnType.h:949
void get(uint04 index, fltp08 &value) const override
Definition TableColumnType.h:968
void get(uint04 index, uint04 vector_pos, bool &value) const override
Definition TableColumnType.h:945
virtual void mapFromFile(BinaryFile &file, uint08 version_number) override
Definition TableColumnType.h:1029
void get(uint04 index, uint08 &value) const override
Definition TableColumnType.h:962
void set(uint04 index, uint01 value) override
Definition TableColumnType.h:932
void get(uint04 index, sint04 &value) const override
Definition TableColumnType.h:965
void set(uint04 index, fltp04 value) override
Definition TableColumnType.h:940
void get(uint04 index, uint04 vector_pos, fltp04 &value) const override
Definition TableColumnType.h:954
TableColumnString * getSelected(const Buffer< bool > &selected_indices) const override
Definition TableColumnType.h:972
void get(uint04 index, uint04 vector_pos, sint02 &value) const override
Definition TableColumnType.h:951
void set(uint04 index, uint04 vector_pos, sint02 value) override
Definition TableColumnType.h:923
void get(uint04 index, sint01 &value) const override
Definition TableColumnType.h:963
void set(uint04 index, uint04 value) override
Definition TableColumnType.h:934
void set(uint04 index, bool value) override
Definition TableColumnType.h:931
void set(uint04 index, sint04 value) override
Definition TableColumnType.h:938
bool isSame(uint04 index, const String &value) const override
Definition TableColumnType.h:1050
virtual void removeIndices(const Buffer< uint04 > &offset_lookup_list) override
Definition TableColumnType.h:1023
void set(uint04 index, uint04 vector_pos, uint02 value) override
Definition TableColumnType.h:919
void set(uint04 index, sint02 value) override
Definition TableColumnType.h:937
void get(uint04 index, uint04 vector_pos, String &value) const override
Definition TableColumnType.h:956
void get(uint04 index, RGBColor &value) const override
Definition TableColumnType.h:970
void get(uint04 index, String &value) const override
Definition TableColumnType.h:969
Definition TableColumnType.h:715
void get(uint04 index, sint02 &value) const override
Definition TableColumnType.h:769
void set(uint04 index, fltp08 value) override
Definition TableColumnType.h:745
void set(uint04 index, uint04 vector_pos, uint04 value) override
Definition TableColumnType.h:724
TableColumnTypeBuffer(const String &label)
Definition TableColumnType.h:717
void set(uint04 index, sint01 value) override
Definition TableColumnType.h:740
uint08 tableHash() const override
Definition TableColumnType.h:788
void get(uint04 index, uint04 vector_pos, uint01 &value) const override
Definition TableColumnType.h:750
void set(uint04 index, sint08 value) override
Definition TableColumnType.h:743
void get(uint04 index, sint08 &value) const override
Definition TableColumnType.h:771
virtual void insertIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:776
void get(uint04 index, uint04 vector_pos, uint02 &value) const override
Definition TableColumnType.h:751
void set(uint04 index, uint04 vector_pos, sint04 value) override
Definition TableColumnType.h:728
void set(uint04 index, uint04 vector_pos, fltp08 value) override
Definition TableColumnType.h:731
void get(uint04 index, uint01 &value) const override
Definition TableColumnType.h:764
void set(uint04 index, uint04 vector_pos, uint08 value) override
Definition TableColumnType.h:725
void set(uint04 index, uint04 vector_pos, const String &value) override
Definition TableColumnType.h:733
void get(uint04 index, uint04 vector_pos, sint01 &value) const override
Definition TableColumnType.h:754
void get(uint04 index, uint04 vector_pos, fltp08 &value) const override
Definition TableColumnType.h:759
void get(uint04 index, uint04 vector_pos, sint08 &value) const override
Definition TableColumnType.h:757
void set(uint04 index, uint04 vector_pos, uint01 value) override
Definition TableColumnType.h:722
void set(uint04 index, uint08 value) override
Definition TableColumnType.h:739
void get(uint04 index, uint02 &value) const override
Definition TableColumnType.h:765
void set(uint04 index, uint04 vector_pos, sint08 value) override
Definition TableColumnType.h:729
void setRowSize(uint04 index, uint04 size) override
Definition TableColumnType.h:799
void _removeIndices(uint04 location, typename std::enable_if<!ObjectInfo< t_n_type >::Number, uint04 >::type size)
Definition TableColumnType.h:862
void set(uint04 index, uint02 value) override
Definition TableColumnType.h:737
uint04 getRowSize(uint04 index) const override
Definition TableColumnType.h:800
void get(uint04 index, fltp04 &value) const override
Definition TableColumnType.h:772
void get(uint04 index, uint04 vector_pos, sint04 &value) const override
Definition TableColumnType.h:756
void _insertIndices(uint04 location, typename std::enable_if<!ObjectInfo< t_n_type >::Number, uint04 >::type size)
Definition TableColumnType.h:830
void set(uint04 index, RGBColor value) override
Definition TableColumnType.h:747
void get(uint04 index, bool &value) const override
Definition TableColumnType.h:763
void set(uint04 index, uint04 vector_pos, bool value) override
Definition TableColumnType.h:721
void _removeIndices(typename std::enable_if< ObjectInfo< t_n_type >::Number, const Buffer< uint04 > & >::type offset_lookup_list)
Definition TableColumnType.h:869
void get(uint04 index, uint04 vector_pos, uint04 &value) const override
Definition TableColumnType.h:752
void set(uint04 index, const String &value) override
Definition TableColumnType.h:746
virtual void removeIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:780
void set(uint04 index, uint04 vector_pos, fltp04 value) override
Definition TableColumnType.h:730
void set(uint04 index, uint04 vector_pos, sint01 value) override
Definition TableColumnType.h:726
void get(uint04 index, uint04 &value) const override
Definition TableColumnType.h:766
TableColumnTypeBuffer< t_type > * getSelected(const Buffer< bool > &selected_indices) const override
Definition TableColumnType.h:801
void get(uint04 index, uint04 vector_pos, uint08 &value) const override
Definition TableColumnType.h:753
void get(uint04 index, fltp08 &value) const override
Definition TableColumnType.h:773
void get(uint04 index, uint04 vector_pos, bool &value) const override
Definition TableColumnType.h:749
void get(uint04 index, uint08 &value) const override
Definition TableColumnType.h:767
void _removeIndices(typename std::enable_if<!ObjectInfo< t_n_type >::Number, const Buffer< uint04 > & >::type offset_lookup_list)
Definition TableColumnType.h:902
void set(uint04 index, uint01 value) override
Definition TableColumnType.h:736
void get(uint04 index, sint04 &value) const override
Definition TableColumnType.h:770
void set(uint04 index, fltp04 value) override
Definition TableColumnType.h:744
void get(uint04 index, uint04 vector_pos, fltp04 &value) const override
Definition TableColumnType.h:758
void get(uint04 index, uint04 vector_pos, sint02 &value) const override
Definition TableColumnType.h:755
void _removeIndices(uint04 location, typename std::enable_if< ObjectInfo< t_n_type >::Number, uint04 >::type size)
Definition TableColumnType.h:833
void set(uint04 index, uint04 vector_pos, sint02 value) override
Definition TableColumnType.h:727
void get(uint04 index, sint01 &value) const override
Definition TableColumnType.h:768
void set(uint04 index, uint04 value) override
Definition TableColumnType.h:738
void set(uint04 index, bool value) override
Definition TableColumnType.h:735
void set(uint04 index, sint04 value) override
Definition TableColumnType.h:742
virtual void removeIndices(const Buffer< uint04 > &offset_lookup_list) override
Definition TableColumnType.h:784
void _insertIndices(uint04 location, typename std::enable_if< ObjectInfo< t_n_type >::Number, uint04 >::type size)
Definition TableColumnType.h:804
void set(uint04 index, uint04 vector_pos, uint02 value) override
Definition TableColumnType.h:723
void set(uint04 index, sint02 value) override
Definition TableColumnType.h:741
void get(uint04 index, uint04 vector_pos, String &value) const override
Definition TableColumnType.h:760
void get(uint04 index, RGBColor &value) const override
Definition TableColumnType.h:775
void get(uint04 index, String &value) const override
Definition TableColumnType.h:774
Definition TableColumnType.h:446
virtual void get(uint04 index, Matrix< fltp04 > &transform) const override
Definition TableColumnType.h:467
virtual void set(uint04 index, const Matrix< fltp04 > &transform) override
Definition TableColumnType.h:478
virtual void set(uint04 index, const Matrix< fltp08 > &transform) override
Definition TableColumnType.h:473
void set(uint04 index, const String &value) override
Definition TableColumnType.h:452
TableMatrixType(const String &label)
Definition TableColumnType.h:448
virtual void get(uint04 index, Matrix< fltp08 > &transform) const override
Definition TableColumnType.h:461
void get(uint04 index, String &value) const override
Definition TableColumnType.h:457
void set(uint04 index, fltp08 value) override
Definition TableColumnType.h:692
void get(uint04, bool &value) const override
Definition TableColumnType.h:681
void set(uint04 index, sint01 value) override
Definition TableColumnType.h:687
void set(uint04 index, sint08 value) override
Definition TableColumnType.h:690
TableVectorType(const String &label)
Definition TableColumnType.h:673
TableVectorType(const String &label, const TypeInfo type)
Definition TableColumnType.h:676
decltype(auto) _value(uint04 index)
Definition TableColumnType.h:704
void set(uint04 index, uint08 value) override
Definition TableColumnType.h:686
void set(uint04 index, uint02 value) override
Definition TableColumnType.h:684
void set(uint04 index, RGBColor value) override
Definition TableColumnType.h:693
void set(uint04 index, const String &value) override
Definition TableColumnType.h:694
virtual void get(uint04 index, UUID &id) const final override
Definition TableColumnType.h:700
void set(uint04 index, uint01 value) override
Definition TableColumnType.h:683
void set(uint04 index, fltp04 value) override
Definition TableColumnType.h:691
void set(uint04 index, uint04 value) override
Definition TableColumnType.h:685
void set(uint04 index, bool value) override
Definition TableColumnType.h:682
decltype(auto) _value(uint04 index) const
Definition TableColumnType.h:708
void set(uint04 index, sint04 value) override
Definition TableColumnType.h:689
virtual void set(uint04 index, const UUID &value) final override
Definition TableColumnType.h:696
void set(uint04 index, sint02 value) override
Definition TableColumnType.h:688
void get(uint04 index, String &value) const override
Definition TableColumnType.h:695
void get(uint04 index, sint02 &value) const override
Definition TableColumnType.h:547
void set(uint04 index, fltp08 value) override
Definition TableColumnType.h:524
void get(uint04 index, uint04, sint01 &value) const override
Definition TableColumnType.h:533
void set(uint04 index, sint01 value) override
Definition TableColumnType.h:519
void set(uint04, RGBColor) override
Definition TableColumnType.h:526
void set(uint04 index, sint08 value) override
Definition TableColumnType.h:522
void get(uint04 index, sint08 &value) const override
Definition TableColumnType.h:549
void get(uint04 index, uint04, sint04 &value) const override
Definition TableColumnType.h:535
virtual void insertIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:568
TableVectorType(const String &label)
Definition TableColumnType.h:490
void set(uint04 index, uint04, sint02 value) override
Definition TableColumnType.h:506
void set(uint04 index, uint04, fltp08 value) override
Definition TableColumnType.h:510
void get(uint04 index, uint01 &value) const override
Definition TableColumnType.h:542
void get(uint04 index, uint04, bool &value) const override
Definition TableColumnType.h:528
virtual uint04 getRowSize(uint04) const override
Definition TableColumnType.h:498
void set(uint04 index, uint04, bool value) override
Definition TableColumnType.h:500
TableVectorType(const Buffer< bool > &buffer, const String &label)
Definition TableColumnType.h:494
void set(uint04 index, uint08 value) override
Definition TableColumnType.h:518
void get(uint04 index, uint04, String &value) const override
Definition TableColumnType.h:539
void get(uint04 index, uint02 &value) const override
Definition TableColumnType.h:543
void set(uint04 index, uint04, uint01 value) override
Definition TableColumnType.h:501
void get(uint04 index, uint04, sint08 &value) const override
Definition TableColumnType.h:536
void set(uint04 index, uint02 value) override
Definition TableColumnType.h:516
void set(uint04 index, uint04, sint01 value) override
Definition TableColumnType.h:505
void get(uint04 index, fltp04 &value) const override
Definition TableColumnType.h:550
void get(uint04 index, uint04, fltp04 &value) const override
Definition TableColumnType.h:537
TableVectorType< 1, t_type > * getSelected(const Buffer< bool > &selected_indices) const override
Definition TableColumnType.h:554
void get(uint04 index, uint04, uint01 &value) const override
Definition TableColumnType.h:529
void get(uint04 index, bool &value) const override
Definition TableColumnType.h:541
void _removeIndices(typename std::enable_if< ObjectInfo< t_n_type >::Number, const Buffer< uint04 > & >::type offset_lookup_list)
Definition TableColumnType.h:640
void get(uint04 index, uint04, uint02 &value) const override
Definition TableColumnType.h:530
void set(uint04 index, const String &value) override
Definition TableColumnType.h:525
void _removeIndices(uint04 location, typename std::enable_if< ObjectInfo< t_n_type >::Number &&ObjectInfo< t_n_type >::Dimensions< 16, uint04 >::type size)
Definition TableColumnType.h:612
virtual void removeIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:572
void _insertIndices(uint04 location, typename std::enable_if<!ObjectInfo< t_n_type >::Number||ObjectInfo< t_n_type >::Dimensions >=16, uint04 >::type size)
Definition TableColumnType.h:606
void _removeIndices(uint04 location, typename std::enable_if<!ObjectInfo< t_n_type >::Number||ObjectInfo< t_n_type >::Dimensions >=16, uint04 >::type size)
Definition TableColumnType.h:637
void set(uint04 index, uint04, uint08 value) override
Definition TableColumnType.h:504
void get(uint04 index, uint04, fltp08 &value) const override
Definition TableColumnType.h:538
void _insertIndices(uint04 location, typename std::enable_if< ObjectInfo< t_n_type >::Number &&ObjectInfo< t_n_type >::Dimensions< 16, uint04 >::type size)
Definition TableColumnType.h:582
void get(uint04 index, uint04, uint08 &value) const override
Definition TableColumnType.h:532
void get(uint04, RGBColor &) const override
Definition TableColumnType.h:553
void get(uint04 index, uint04 &value) const override
Definition TableColumnType.h:544
void get(uint04 index, fltp08 &value) const override
Definition TableColumnType.h:551
void set(uint04 index, uint04, const String &value) override
Definition TableColumnType.h:512
void get(uint04 index, uint08 &value) const override
Definition TableColumnType.h:545
void _removeIndices(typename std::enable_if<!ObjectInfo< t_n_type >::Number, const Buffer< uint04 > & >::type offset_lookup_list)
Definition TableColumnType.h:665
void set(uint04 index, uint01 value) override
Definition TableColumnType.h:515
void set(uint04 index, uint04, uint04 value) override
Definition TableColumnType.h:503
void get(uint04 index, sint04 &value) const override
Definition TableColumnType.h:548
void set(uint04 index, fltp04 value) override
Definition TableColumnType.h:523
void set(uint04 index, uint04, sint08 value) override
Definition TableColumnType.h:508
void get(uint04 index, sint01 &value) const override
Definition TableColumnType.h:546
void set(uint04 index, uint04 value) override
Definition TableColumnType.h:517
void get(uint04 index, uint04, sint02 &value) const override
Definition TableColumnType.h:534
void set(uint04 index, bool value) override
Definition TableColumnType.h:514
void set(uint04 index, uint04, fltp04 value) override
Definition TableColumnType.h:509
void set(uint04 index, sint04 value) override
Definition TableColumnType.h:521
void get(uint04 index, uint04, uint04 &value) const override
Definition TableColumnType.h:531
void set(uint04 index, uint04, sint04 value) override
Definition TableColumnType.h:507
virtual void removeIndices(const Buffer< uint04 > &offset_lookup_list) override
Definition TableColumnType.h:576
void set(uint04 index, sint02 value) override
Definition TableColumnType.h:520
void set(uint04 index, uint04, uint02 value) override
Definition TableColumnType.h:502
void get(uint04 index, String &value) const override
Definition TableColumnType.h:552
Definition TableColumnType.h:253
void get(uint04 index, sint02 &value) const override
Definition TableColumnType.h:312
void set(uint04 index, fltp08 value) override
Definition TableColumnType.h:289
void set(uint04 index, uint04 vector_pos, uint04 value) override
Definition TableColumnType.h:268
void set(uint04 index, sint01 value) override
Definition TableColumnType.h:284
uint08 tableHash() const override
Definition TableColumnType.h:339
void get(uint04 index, uint04 vector_pos, uint01 &value) const override
Definition TableColumnType.h:294
void set(uint04 index, sint08 value) override
Definition TableColumnType.h:287
TableVectorType< t_dims, t_type > * getSelected(const Buffer< bool > &selected_indices) const override
Definition TableColumnType.h:350
void get(uint04 index, sint08 &value) const override
Definition TableColumnType.h:314
virtual void insertIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:365
void get(uint04 index, uint04 vector_pos, uint02 &value) const override
Definition TableColumnType.h:295
void set(uint04 index, uint04 vector_pos, sint04 value) override
Definition TableColumnType.h:272
TableVectorType(const String &label)
Definition TableColumnType.h:255
void set(uint04 index, uint04 vector_pos, fltp08 value) override
Definition TableColumnType.h:275
void get(uint04 index, uint01 &value) const override
Definition TableColumnType.h:307
void set(uint04 index, uint04 vector_pos, uint08 value) override
Definition TableColumnType.h:269
void set(uint04 index, uint04 vector_pos, const String &value) override
Definition TableColumnType.h:277
void get(uint04 index, uint04 vector_pos, sint01 &value) const override
Definition TableColumnType.h:298
void getVector(uint04 index, Vector< 2, uint04 > &vector) const override
Definition TableColumnType.h:335
virtual uint04 getRowSize(uint04) const override
Definition TableColumnType.h:263
void get(uint04 index, uint04 vector_pos, fltp08 &value) const override
Definition TableColumnType.h:303
void get(uint04 index, uint04 vector_pos, sint08 &value) const override
Definition TableColumnType.h:301
void set(uint04 index, uint04 vector_pos, uint01 value) override
Definition TableColumnType.h:266
void set(uint04 index, uint08 value) override
Definition TableColumnType.h:283
void getVector(uint04 index, Vector< 3, fltp08 > &vector) const override
Definition TableColumnType.h:325
void get(uint04 index, uint02 &value) const override
Definition TableColumnType.h:308
void set(uint04 index, uint04 vector_pos, sint08 value) override
Definition TableColumnType.h:273
void set(uint04 index, uint02 value) override
Definition TableColumnType.h:281
void get(uint04 index, fltp04 &value) const override
Definition TableColumnType.h:315
void get(uint04 index, uint04 vector_pos, sint04 &value) const override
Definition TableColumnType.h:300
void set(uint04 index, RGBColor value) override
Definition TableColumnType.h:291
void get(uint04 index, bool &value) const override
Definition TableColumnType.h:306
void set(uint04 index, uint04 vector_pos, bool value) override
Definition TableColumnType.h:265
void get(uint04 index, uint04 vector_pos, uint04 &value) const override
Definition TableColumnType.h:296
void set(uint04 index, const String &value) override
Definition TableColumnType.h:290
virtual void removeIndices(uint04 location, uint04 size) override
Definition TableColumnType.h:390
void set(uint04 index, uint04 vector_pos, fltp04 value) override
Definition TableColumnType.h:274
void getVector(uint04 index, Vector< 3, uint04 > &vector) const override
Definition TableColumnType.h:330
void set(uint04 index, uint04 vector_pos, sint01 value) override
Definition TableColumnType.h:270
void get(uint04 index, uint04 &value) const override
Definition TableColumnType.h:309
void get(uint04 index, uint04 vector_pos, uint08 &value) const override
Definition TableColumnType.h:297
void get(uint04 index, fltp08 &value) const override
Definition TableColumnType.h:316
void get(uint04 index, uint04 vector_pos, bool &value) const override
Definition TableColumnType.h:293
void get(uint04 index, uint08 &value) const override
Definition TableColumnType.h:310
void set(uint04 index, uint01 value) override
Definition TableColumnType.h:280
void get(uint04 index, sint04 &value) const override
Definition TableColumnType.h:313
void set(uint04 index, fltp04 value) override
Definition TableColumnType.h:288
void get(uint04 index, uint04 vector_pos, fltp04 &value) const override
Definition TableColumnType.h:302
void get(uint04 index, uint04 vector_pos, sint02 &value) const override
Definition TableColumnType.h:299
void set(uint04 index, uint04 vector_pos, sint02 value) override
Definition TableColumnType.h:271
void get(uint04 index, sint01 &value) const override
Definition TableColumnType.h:311
void set(uint04 index, uint04 value) override
Definition TableColumnType.h:282
TableVectorType(const Buffer< Vector< t_dims, t_type > > &buffer, const String &label)
Definition TableColumnType.h:259
void set(uint04 index, bool value) override
Definition TableColumnType.h:279
void set(uint04 index, sint04 value) override
Definition TableColumnType.h:286
virtual void removeIndices(const Buffer< uint04 > &offset_lookup_list) override
Definition TableColumnType.h:418
void set(uint04 index, uint04 vector_pos, uint02 value) override
Definition TableColumnType.h:267
void set(uint04 index, sint02 value) override
Definition TableColumnType.h:285
void get(uint04 index, uint04 vector_pos, String &value) const override
Definition TableColumnType.h:304
void get(uint04 index, RGBColor &value) const override
Definition TableColumnType.h:318
void get(uint04 index, String &value) const override
Definition TableColumnType.h:317
void getVector(uint04 index, Vector< 3, fltp04 > &vector) const override
Definition TableColumnType.h:320
static NDEVR_BASE_API Time SystemTime()
Retrieves the current system time.
Definition Time.cpp:475
NDEVR_BASE_API UUID appendUUID(bool offset) const
Definition UUID.cpp:168
An element of a vector space. An element of the real coordinate space Rn Basis vector,...
Definition Vector.hpp:62
constexpr Vector< t_dims, t_new_type > as() const
Definition Vector.hpp:324
int32_t sint04
-Defines an alias representing a 4 byte, signed integer. -Can represent exact integer values -2147483...
Definition BaseValues.hpp:76
constexpr std::enable_if<!ObjectInfo< t_type >::Buffer, TypeInfo >::type GetTypeInfo()
Definition TypeInfo.h:99
int64_t sint08
-Defines an alias representing an 8 byte, signed integer -Can represent exact integer values -9223372...
Definition BaseValues.hpp:86
@ MIN
Definition BaseValues.hpp:226
float fltp04
Defines an alias representing a 4 byte floating-point number.
Definition BaseValues.hpp:157
uint8_t uint01
-Defines an alias representing a 1 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:98
int8_t sint01
-Defines an alias representing a 1 byte, signed integer. -Can represent exact integer values -127 thr...
Definition BaseValues.hpp:56
constexpr t_to rcast(t_from value)
Definition BaseValues.hpp:427
CompressionMode
Definition Compressor.h:12
@ e_default_compression
Definition Compressor.h:14
@ e_string_compression
Definition Compressor.h:16
@ e_string_reference
Definition Compressor.h:27
int16_t sint02
-Defines an alias representing a 2 byte, signed integer. -Can represent exact integer values -32767 t...
Definition BaseValues.hpp:66
uint64_t uint08
-Defines an alias representing an 8 byte, unsigned integer -Can represent exact integer values 0 thro...
Definition BaseValues.hpp:132
uint32_t uint04
-Defines an alias representing a 4 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:120
constexpr t_to cast(const Angle< t_from > &value)
Definition Angle.h:514
uint16_t uint02
-Defines an alias representing a 2 byte, unsigned integer -Can represent exact integer values 0 throu...
Definition BaseValues.hpp:109
constexpr bool isNaN(const t_type &value)
Query if 'value' is valid or invalid.
Definition BaseFunctions.hpp:200
double fltp08
Defines an alias representing an 8 byte floating-point number.
Definition BaseValues.hpp:181
Definition Compressor.h:38
Definition BaseValues.hpp:272
Information about the object.
Definition ObjectInfo.h:56
Definition TableColumn.h:49
@ e_update
Definition TableColumn.h:52