![]() |
NDEVR
API Documentation
|
A virtual storage type that is used with Table class to store data where the actual mechanism for storage can be abstracted away. More...
Public Member Functions | |
| TableColumn (const StringView &label) | |
| Constructs a TableColumn with the given label. | |
| virtual | ~TableColumn () |
| Virtual destructor. | |
| virtual void | addRow () |
| Appends a single default-initialized row at the end of the column. | |
| virtual const void * | begin () const =0 |
| Returns a const pointer to the beginning of the underlying raw data. | |
| virtual void * | begin ()=0 |
| Returns a mutable pointer to the beginning of the underlying raw data. | |
| virtual bool | beginsWith (uint04 index, const StringView &value, bool ignore_case) const =0 |
| Checks whether the stored string at the given row begins with the given prefix. | |
| const Buffer< TableChange > & | changes () const |
| Returns the list of all recorded changes for this column. | |
| Buffer< TableChange > | changesSince (const Time &time) const |
| Returns all changes recorded since the given time. | |
| Buffer< TableChange > | changesSince (const Time &time, const Bounds< 1, uint04 > &range) const |
| Returns all changes recorded since the given time within a specific row range. | |
| void | clearUpdates () |
| Clears all recorded changes and resets the modified time to zero. | |
| virtual void | compress (BinaryCompressionObject &object)=0 |
| Compresses the column data into the given compression object. | |
| virtual bool | contains (uint04 index, const StringView &value, bool ignore_case) const =0 |
| Checks whether the stored string at the given row contains the given substring. | |
| virtual void | copyRow (uint04 source, uint04 destination)=0 |
| Copies the value from one row to another within this column. | |
| virtual void | copyRows (uint04 source, uint04 destination, uint04 size)=0 |
| Copies a contiguous block of rows from one location to another within this column. | |
| virtual const void * | end () const =0 |
| Returns a const pointer to one past the end of the underlying raw data. | |
| virtual void * | end ()=0 |
| Returns a mutable pointer to one past the end of the underlying raw data. | |
| virtual void | finishMapFromFile (BinaryFileTableInfo &) |
| Completes any deferred work after mapping from a binary file. | |
| template<class t_class> | |
| t_class | get (uint04 index) const |
| Convenience template that returns a value by type from the given row index. | |
| void | get (uint04 index, BitFlag &bitflag) const |
| Retrieves a BitFlag value at the given row index. | |
| virtual void | get (uint04 index, bool &value) const =0 |
| Retrieves a bool value at the given row index. | |
| virtual void | get (uint04 index, Bounds< 3, fltp04 > &bounds) const |
| Retrieves a 3D fltp04 bounding box from the given row index. | |
| virtual void | get (uint04 index, Bounds< 3, fltp08 > &bounds) const |
| Retrieves a 3D fltp08 bounding box from the given row index. | |
| template<uint01 t_dims, class t_type> | |
| void | get (uint04 index, Bounds< t_dims, t_type > &bounds) const |
| Retrieves a Bounds value at the given row index by reading min and max components from contiguous vector positions. | |
| void | get (uint04 index, const String &value) const =delete |
| Deleted overload to prevent accidentally passing a const String by reference as an output parameter. | |
| void | get (uint04 index, File &file) const |
| Retrieves a File value at the given row index. | |
| virtual void | get (uint04 index, fltp04 &value) const =0 |
| Retrieves a fltp04 value at the given row index. | |
| virtual void | get (uint04 index, fltp08 &value) const =0 |
| Retrieves a fltp08 value at the given row index. | |
| virtual void | get (uint04 index, Matrix< fltp04 > &transform) const |
| Retrieves a 4x4 fltp04 matrix from the given row index. | |
| virtual void | get (uint04 index, Matrix< fltp08 > &transform) const |
| Retrieves a 4x4 fltp08 matrix from the given row index. | |
| template<class t_type, uint01 t_col, uint01 t_row> | |
| void | get (uint04 index, Matrix< t_type, t_col, t_row > &matrix) const |
| Retrieves a generic matrix from the given row index by reading each element from contiguous vector positions in column-major order. | |
| virtual void | get (uint04 index, RGBColor &value) const =0 |
| Retrieves an RGBColor value at the given row index. | |
| virtual void | get (uint04 index, sint01 &value) const =0 |
| Retrieves a sint01 value at the given row index. | |
| virtual void | get (uint04 index, sint02 &value) const =0 |
| Retrieves a sint02 value at the given row index. | |
| virtual void | get (uint04 index, sint04 &value) const =0 |
| Retrieves a sint04 value at the given row index. | |
| virtual void | get (uint04 index, sint08 &value) const =0 |
| Retrieves a sint08 value at the given row index. | |
| virtual void | get (uint04 index, StringAllocatingView &value) const =0 |
| Retrieves a string value at the given row index as a StringAllocatingView. | |
| virtual void | get (uint04 index, StringView &value) const =0 |
| Retrieves a string value at the given row index as a StringView. | |
| template<class t_class> | |
| std::enable_if< ObjectInfo< t_class >::Enum >::type | get (uint04 index, t_class &enum_value) const |
| Retrieves an enum value at the given row index by reading a stored uint04. | |
| template<class t_class> | |
| std::enable_if< IsVec< t_class >::value &&t_class::NumberOfDimensions()!=1 >::type | get (uint04 index, t_class &vector) const |
| Retrieves a multi-dimensional vector value at the given row index. | |
| template<class t_class> | |
| std::enable_if< std::is_pointer< t_class >::value >::type | get (uint04 index, t_class &vector) const |
| Retrieves a pointer value at the given row index by reading a stored uint08. | |
| void | get (uint04 index, Time &time) const |
| Retrieves a Time value at the given row index. | |
| void | get (uint04 index, TranslatedString &string) const |
| Retrieves a TranslatedString value at the given row index. | |
| template<uint01 t_dims, class t_type> | |
| void | get (uint04 index, Triangle< t_dims, t_type > &tri) const |
| Retrieves a Triangle value at the given row index by reading vertex components from contiguous vector positions. | |
| virtual void | get (uint04 index, uint01 &value) const =0 |
| Retrieves a uint01 value at the given row index. | |
| virtual void | get (uint04 index, uint02 &value) const =0 |
| Retrieves a uint02 value at the given row index. | |
| virtual void | get (uint04 index, uint04 &value) const =0 |
| Retrieves a uint04 value at the given row index. | |
| template<class t_class> | |
| t_class | get (uint04 index, uint04 sub_index) const |
| Convenience template that returns a value by type from a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, bool &value) const =0 |
| Retrieves a bool value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, fltp04 &value) const =0 |
| Retrieves a fltp04 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, fltp08 &value) const =0 |
| Retrieves a fltp08 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, sint01 &value) const =0 |
| Retrieves a sint01 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, sint02 &value) const =0 |
| Retrieves a sint02 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, sint04 &value) const =0 |
| Retrieves a sint04 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, sint08 &value) const =0 |
| Retrieves a sint08 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, StringAllocatingView &value) const =0 |
| Retrieves a string value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, uint01 &value) const =0 |
| Retrieves a uint01 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, uint02 &value) const =0 |
| Retrieves a uint02 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, uint04 &value) const =0 |
| Retrieves a uint04 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint04 vector_pos, uint08 &value) const =0 |
| Retrieves a uint08 value at a specific vector position within a row. | |
| virtual void | get (uint04 index, uint08 &value) const =0 |
| Retrieves a uint08 value at the given row index. | |
| virtual void | get (uint04 index, UUID &vector) const |
| Retrieves a UUID value at the given row index by reading 16 bytes. | |
| template<class t_class> | |
| void | get (uint04 index, Vector< 1, t_class > &vector) const |
| Retrieves a 1D vector value at the given row index by delegating to the scalar get. | |
| void | get (uint04 index, Vector< 32, bool > &value) const |
| Retrieves a 32-element boolean vector at the given row index by reading the stored uint04 and reinterpreting its bits. | |
| template<class t_type> | |
| Buffer< t_type > | getAll (uint04 start, uint04 size) const |
| Retrieves a contiguous range of values as a typed buffer. | |
| virtual const StringAllocatingView | getDefaultValue () const =0 |
| Returns the default value for new rows as a string representation. | |
| template<class t_type> | |
| uint04 | getIndexOf (const t_type &object) const |
| Searches for the first row containing the given value. | |
| Time | getModifiedTime () const |
| Returns the last modification time of this column. | |
| virtual uint04 | getRowSize (uint04) const |
| Returns the size of an array-typed row at the given index. | |
| virtual TableColumn * | getSelected (const Buffer< bool > &selected_indices) const =0 |
| Creates a new TableColumn containing only the rows where the corresponding selected_indices entry is true. | |
| virtual void | getVector (uint04 index, Vector< 1, uint04 > &vector) const |
| Retrieves a 1D uint04 vector from the given row index. | |
| virtual void | getVector (uint04 index, Vector< 2, uint04 > &vector) const |
| Retrieves a 2D uint04 vector from the given row index. | |
| virtual void | getVector (uint04 index, Vector< 3, fltp04 > &vector) const |
| Retrieves a 3D fltp04 vector from the given row index. | |
| virtual void | getVector (uint04 index, Vector< 3, fltp08 > &vector) const |
| Retrieves a 3D fltp08 vector from the given row index. | |
| virtual void | getVector (uint04 index, Vector< 3, uint04 > &vector) const |
| Retrieves a 3D uint04 vector from the given row index. | |
| template<uint01 t_dims, class t_type> | |
| void | getVector (uint04 index, Vector< t_dims, t_type > &value) const |
| Retrieves a generic vector from the given row index by reading each component from consecutive vector positions. | |
| bool | hasChangesSince (const Time &time, const Bounds< 1, uint04 > &range) const |
| Checks whether any changes have been recorded since the given time within a row range. | |
| virtual void | insert (uint04 index)=0 |
| Inserts a default-initialized row at the given index, shifting subsequent rows. | |
| template<class t_type> | |
| void | insert (uint04 index, const t_type &value) |
| Inserts a new row at the given index and immediately sets its value. | |
| virtual void | insertIndices (uint04 location, uint04 size)=0 |
| Inserts a contiguous block of index entries at the given location. | |
| virtual void | insertRows (uint04 location, uint04 size)=0 |
| Inserts a contiguous block of default-initialized rows at the given location. | |
| virtual bool | isSame (uint04 index, const StringView &value) const =0 |
| Checks whether the stored string at the given row is exactly equal to the given value. | |
| const String & | label () const |
| Returns the label (name) of this column. | |
| virtual void | mapFromFile (BinaryFileTableInfo &) |
| Maps this column from a binary file for deserialization. | |
| virtual void | mapToFile (BinaryFileTableInfo &, BinaryCompressionObject &) |
| Maps this column to a binary file using compression. | |
| virtual void | mapToFile (BinaryFileTableInfo &, int) |
| Maps this column to a binary file for serialization. | |
| UUID | referenceTable () const |
| Returns the UUID of a table that this column references, if any. | |
| virtual void | removeIndices (const Buffer< uint04 > &offset_lookup_list)=0 |
| Removes index entries using an offset lookup list. | |
| virtual void | removeIndices (uint04 location, uint04 size)=0 |
| Removes a contiguous block of index entries at the given location. | |
| virtual void | removeRow (uint04 index)=0 |
| Removes a single row at the given index. | |
| virtual void | removeRows (const Buffer< uint04 > &sorted_remove_indices)=0 |
| Removes multiple rows identified by a sorted list of indices. | |
| virtual void | removeRows (uint04 index, uint04 size)=0 |
| Removes a contiguous block of rows starting at the given index. | |
| virtual void | removeRows (uint04 offset, const Buffer< bool > &indices)=0 |
| Removes rows indicated by a boolean mask starting from a given offset. | |
| virtual void | resetRow (uint04) |
| Resets a row to its default state. | |
| template<class t_type> | |
| void | set (t_type *values, uint04 start_index, uint04 size) |
| Bulk-sets values from a raw pointer array into this column. | |
| virtual void | set (uint04 index, bool value)=0 |
| Sets a bool value at the given row index. | |
| void | set (uint04 index, const BitFlag &bitflag) |
| Sets a BitFlag value at the given row index by storing its underlying bits. | |
| void | set (uint04 index, const BitReference &val) |
| Sets the value at the given row index from a BitReference. | |
| virtual void | set (uint04 index, const Bounds< 3, fltp04 > &bounds) |
| Sets a 3D fltp04 bounding box at the given row index. | |
| virtual void | set (uint04 index, const Bounds< 3, fltp08 > &bounds) |
| Sets a 3D fltp08 bounding box at the given row index. | |
| template<uint01 t_dims, class t_type> | |
| void | set (uint04 index, const Bounds< t_dims, t_type > &value) |
| Sets a Bounds value at the given row index by writing min and max components into contiguous vector positions. | |
| void | set (uint04 index, const char *string) |
| Sets the value at the given row index from a C-string pointer. | |
| template<std::size_t N> | |
| void | set (uint04 index, const char(&string)[N]) |
| Sets the value at the given row index from a string literal. | |
| void | set (uint04 index, const File &value) |
| Sets a File value at the given row index. | |
| virtual void | set (uint04 index, const Matrix< fltp04 > &transform) |
| Sets a 4x4 fltp04 matrix value at the given row index. | |
| virtual void | set (uint04 index, const Matrix< fltp08 > &transform) |
| Sets a 4x4 fltp08 matrix value at the given row index. | |
| template<class t_type, uint01 t_col, uint01 t_row> | |
| void | set (uint04 index, const Matrix< t_type, t_col, t_row > &matrix) |
| Sets a Matrix value at the given row index by writing each element column-major into contiguous vector positions. | |
| void | set (uint04 index, const std::nullptr_t &) |
| Sets the value at the given row index to zero (nullptr overload). | |
| void | set (uint04 index, const String &value) |
| Sets a String value at the given row index. | |
| void | set (uint04 index, const StringAllocatingView &string) |
| Sets the value at the given row index from a StringAllocatingView. | |
| virtual void | set (uint04 index, const StringView &value)=0 |
| Sets a string value at the given row index. | |
| template<class t_class> | |
| std::enable_if< ObjectInfo< t_class >::Enum >::type | set (uint04 index, const t_class &value) |
| Sets an enum value at the given row index by casting to uint04. | |
| template<class t_class> | |
| std::enable_if< IsVec< t_class >::value >::type | set (uint04 index, const t_class &value) |
| Sets a vector value at the given row index. | |
| template<class t_class> | |
| std::enable_if<!ObjectInfo< t_class >::Enum >::type | set (uint04 index, const t_class &value) |
| Sets the value at the given row index from a non-enum type. | |
| template<class t_pointer_type> | |
| void | set (uint04 index, const t_pointer_type *pointer) |
| Sets the value at the given row index from a const pointer, stored as uint08. | |
| void | set (uint04 index, const Time &time) |
| Sets a Time value at the given row index by storing its underlying uint08. | |
| void | set (uint04 index, const TranslatedString &value) |
| Sets a TranslatedString value at the given row index. | |
| template<uint01 t_dims, class t_type> | |
| void | set (uint04 index, const Triangle< t_dims, t_type > &value) |
| Sets a Triangle value at the given row index by writing each vertex component into contiguous vector positions. | |
| virtual void | set (uint04 index, const UUID &value) |
| Sets a UUID value at the given row index. | |
| void | set (uint04 index, const Vector< 32, bool > &value) |
| Sets a 32-element boolean vector at the given row index. | |
| virtual void | set (uint04 index, fltp04 value)=0 |
| Sets a fltp04 value at the given row index. | |
| virtual void | set (uint04 index, fltp08 value)=0 |
| Sets a fltp08 value at the given row index. | |
| virtual void | set (uint04 index, RGBColor value)=0 |
| Sets an RGBColor value at the given row index. | |
| virtual void | set (uint04 index, sint01 value)=0 |
| Sets a sint01 value at the given row index. | |
| virtual void | set (uint04 index, sint02 value)=0 |
| Sets a sint02 value at the given row index. | |
| virtual void | set (uint04 index, sint04 value)=0 |
| Sets a sint04 value at the given row index. | |
| virtual void | set (uint04 index, sint08 value)=0 |
| Sets a sint08 value at the given row index. | |
| template<class t_pointer_type> | |
| void | set (uint04 index, t_pointer_type *pointer) |
| Sets the value at the given row index from a non-const pointer, stored as uint08. | |
| virtual void | set (uint04 index, uint01 value)=0 |
| Sets a uint01 value at the given row index. | |
| virtual void | set (uint04 index, uint02 value)=0 |
| Sets a uint02 value at the given row index. | |
| virtual void | set (uint04 index, uint04 value)=0 |
| Sets a uint04 value at the given row index. | |
| virtual void | set (uint04 index, uint04 vector_pos, bool value)=0 |
| Sets a bool value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, const StringView &value)=0 |
| Sets a string value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, fltp04 value)=0 |
| Sets a fltp04 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, fltp08 value)=0 |
| Sets a fltp08 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, sint01 value)=0 |
| Sets a sint01 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, sint02 value)=0 |
| Sets a sint02 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, sint04 value)=0 |
| Sets a sint04 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, sint08 value)=0 |
| Sets a sint08 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, uint01 value)=0 |
| Sets a uint01 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, uint02 value)=0 |
| Sets a uint02 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, uint04 value)=0 |
| Sets a uint04 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint04 vector_pos, uint08 value)=0 |
| Sets a uint08 value at a specific vector position within a row. | |
| virtual void | set (uint04 index, uint08 value)=0 |
| Sets a uint08 value at the given row index. | |
| template<class t_type> | |
| void | setAll (uint04 to_location, uint04 from_location, uint04 size, const TableColumn &from_column) |
| Copies a range of values from another column into this column using a specific type. | |
| virtual void | setAll (uint04 to_location, uint04 from_location, uint04 size, const TableColumn &from_column) |
| Copies a range of values from another column into this column. | |
| void | setCompressionMode (CompressionMode compression_mode) |
| Sets the compression mode used when serializing this column. | |
| template<class t_type> | |
| std::enable_if<!std::is_enum< t_type >::value >::type | setDefault (const t_type &value) |
| Sets the default value for new rows from a non-enum value. | |
| template<class t_type> | |
| std::enable_if< std::is_enum< t_type >::value >::type | setDefault (const t_type &value) |
| Sets the default value for new rows from an enum value by casting to uint04. | |
| virtual void | setDefaultValue (const StringAllocatingView &value)=0 |
| Sets the default value for new rows from a string representation. | |
| virtual void | setDefaultValueFrom (const TableColumn &column)=0 |
| Copies the default value from another column. | |
| void | setLabel (const StringView &label) |
| Sets the label (name) for this column. | |
| void | setReferenceTable (const UUID table) |
| Sets the UUID of a table that this column references. | |
| virtual void | setRowSize (uint04, uint04) |
| Sets the size of an array-typed row at the given index. | |
| virtual void | setSize (uint04 size)=0 |
| Sets the number of rows in this column. | |
| template<uint01 t_dims, class t_type> | |
| void | setVector (uint04 index, const Vector< t_dims, t_type > &value) |
| Sets a vector value at the given row index, writing each component individually. | |
| virtual uint04 | size () const =0 |
| Returns the number of rows in this column. | |
| virtual void | swap (uint04 a, uint04 b)=0 |
| Swaps the values at two row indices. | |
| virtual void | swapIndices (uint04 a, uint04 b)=0 |
| Swaps two index entries. | |
| virtual TypeInfo | type () const =0 |
| Returns the TypeInfo describing the data type stored in this column. | |
| void | update (const TableChange &change) |
| Records a change to this column and updates the modification time. | |
| void | updateAll () |
| Marks the entire column as updated by recording a change spanning all rows. | |
| virtual void | updateFrom (const TableColumn &column) |
| Updates this column's data from another column, typically used for synchronization or mirroring. | |
Protected Attributes | |
| Buffer< TableChange > | m_changes |
| The list of recorded changes for change-tracking and synchronization. | |
| CompressionMode | m_compression_mode = CompressionMode::e_default_compression |
| The compression mode used when serializing this column. | |
| String | m_label |
| The display name or identifier for this column. | |
| Time | m_modified_time |
| The timestamp of the most recent modification to this column. | |
| UUID | m_reference_table = Constant<UUID>::Invalid |
| UUID of a table this column references, or Invalid if none. | |
Private Member Functions | |
| virtual uint08 | tableHash () const |
| Computes a hash of the column's raw data using a variant of the FNV hash algorithm. | |
A virtual storage type that is used with Table class to store data where the actual mechanism for storage can be abstracted away.
Definition at line 85 of file TableColumn.h.
| TableColumn::TableColumn | ( | const StringView & | label | ) |
Constructs a TableColumn with the given label.
| [in] | label | The display name or identifier for this column. |
References label().
Referenced by TableColumnBuffer< t_type >::TableColumnBuffer(), TableColumnBuffer< t_type >::TableColumnBuffer(), TableColumnBuffer< t_type >::TableColumnBuffer(), GraphicsBuffer::copyData(), GraphicsBuffer::getSelected(), getSelected(), setAll(), setDefaultValueFrom(), TableColumnBuffer< t_type >::setDefaultValueFrom(), GraphicsBuffer::updateFrom(), updateFrom(), and GraphicsBuffer::updateRegion().
|
pure virtual |
Returns a const pointer to the beginning of the underlying raw data.
Implemented in GraphicsBuffer, and TableColumnBuffer< t_type >.
|
pure virtual |
Returns a mutable pointer to the beginning of the underlying raw data.
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Referenced by getAll(), set(), setAll(), and tableHash().
|
pure virtual |
Checks whether the stored string at the given row begins with the given prefix.
| [in] | index | The row index. |
| [in] | value | The prefix to check for. |
| [in] | ignore_case | Whether to perform a case-insensitive comparison. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, and TableColumnString.
|
inline |
Returns the list of all recorded changes for this column.
Definition at line 1120 of file TableColumn.h.
References m_changes.
| Buffer< TableChange > TableColumn::changesSince | ( | const Time & | time | ) | const |
Returns all changes recorded since the given time.
| [in] | time | The cutoff time. |
| Buffer< TableChange > TableColumn::changesSince | ( | const Time & | time, |
| const Bounds< 1, uint04 > & | range ) const |
Returns all changes recorded since the given time within a specific row range.
| [in] | time | The cutoff time. |
| [in] | range | The row range to filter by. |
|
pure virtual |
Compresses the column data into the given compression object.
| [in] | object | The binary compression object to write into. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
|
pure virtual |
Checks whether the stored string at the given row contains the given substring.
| [in] | index | The row index. |
| [in] | value | The substring to search for. |
| [in] | ignore_case | Whether to perform a case-insensitive comparison. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, and TableColumnString.
Copies the value from one row to another within this column.
| [in] | source | The source row index. |
| [in] | destination | The destination row index. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Copies a contiguous block of rows from one location to another within this column.
| [in] | source | The starting source row index. |
| [in] | destination | The starting destination row index. |
| [in] | size | The number of rows to copy. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
References size().
|
pure virtual |
Returns a const pointer to one past the end of the underlying raw data.
Implemented in GraphicsBuffer, and TableColumnBuffer< t_type >.
|
pure virtual |
Returns a mutable pointer to one past the end of the underlying raw data.
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Referenced by tableHash().
|
inlinevirtual |
Completes any deferred work after mapping from a binary file.
| [in] | info | The binary file table info structure. |
Reimplemented in TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Definition at line 392 of file TableColumn.h.
|
inline |
Convenience template that returns a value by type from the given row index.
| [in] | index | The row index. |
Definition at line 911 of file TableColumn.h.
References get().
|
pure virtual |
Retrieves a bool value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a 3D fltp04 bounding box from the given row index.
| [in] | index | The row index. |
| [out] | bounds | The bounds to populate. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a 3D fltp08 bounding box from the given row index.
| [in] | index | The row index. |
| [out] | bounds | The bounds to populate. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
inline |
Retrieves a Bounds value at the given row index by reading min and max components from contiguous vector positions.
| [in] | index | The row index. |
| [out] | bounds | The bounding box to populate. |
Definition at line 886 of file TableColumn.h.
References get().
Retrieves a File value at the given row index.
| [in] | index | The row index. |
| [out] | file | The file to populate from the stored string. |
Definition at line 829 of file TableColumn.h.
Retrieves a fltp04 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a fltp08 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a 4x4 fltp04 matrix from the given row index.
| [in] | index | The row index. |
| [out] | transform | The matrix to populate. |
Reimplemented in TableMatrixType< t_type, t_cols, t_rows >, and TableMatrixType< T, t_cols, t_rows >.
Retrieves a 4x4 fltp08 matrix from the given row index.
| [in] | index | The row index. |
| [out] | transform | The matrix to populate. |
Reimplemented in TableMatrixType< t_type, t_cols, t_rows >, and TableMatrixType< T, t_cols, t_rows >.
Retrieves a generic matrix from the given row index by reading each element from contiguous vector positions in column-major order.
| [in] | index | The row index. |
| [out] | matrix | The matrix to populate. |
Definition at line 819 of file TableColumn.h.
References get().
Retrieves an RGBColor value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved color value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a sint01 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a sint02 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a sint04 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a sint08 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a string value at the given row index as a StringAllocatingView.
| [in] | index | The row index. |
| [out] | value | The retrieved string value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableMatrixType< t_type, t_cols, t_rows >, TableMatrixType< T, t_cols, t_rows >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a string value at the given row index as a StringView.
| [in] | index | The row index. |
| [out] | value | The retrieved string view. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableMatrixType< t_type, t_cols, t_rows >, TableMatrixType< T, t_cols, t_rows >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
inline |
|
inline |
Retrieves a multi-dimensional vector value at the given row index.
| [in] | index | The row index. |
| [out] | vector | The vector to populate. |
Definition at line 587 of file TableColumn.h.
References getVector(), and type().
|
inline |
Retrieves a pointer value at the given row index by reading a stored uint08.
| [in] | index | The row index. |
| [out] | vector | The pointer to populate. |
Definition at line 575 of file TableColumn.h.
Retrieves a Time value at the given row index.
| [in] | index | The row index. |
| [out] | time | The time to populate from the stored uint08. |
Definition at line 848 of file TableColumn.h.
References get().
|
inline |
Retrieves a TranslatedString value at the given row index.
| [in] | index | The row index. |
| [out] | string | The translated string to populate. |
Definition at line 862 of file TableColumn.h.
References get().
|
inline |
Retrieves a Triangle value at the given row index by reading vertex components from contiguous vector positions.
| [in] | index | The row index. |
| [out] | tri | The triangle to populate. |
Definition at line 900 of file TableColumn.h.
References get().
Retrieves a uint01 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a uint02 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a uint04 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Convenience template that returns a value by type from a specific vector position within a row.
| [in] | index | The row index. |
| [in] | sub_index | The component index within the vector. |
Definition at line 924 of file TableColumn.h.
References get().
Retrieves a bool value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a fltp04 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a fltp08 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a sint01 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a sint02 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a sint04 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a sint08 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a string value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved string value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a uint01 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a uint02 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a uint04 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
pure virtual |
Retrieves a uint08 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a uint08 value at the given row index.
| [in] | index | The row index. |
| [out] | value | The retrieved value. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a UUID value at the given row index by reading 16 bytes.
| [in] | index | The row index. |
| [out] | vector | The UUID to populate. |
Reimplemented in TableVectorType< 1, UUID >.
Definition at line 839 of file TableColumn.h.
References get().
|
inline |
Retrieves a 1D vector value at the given row index by delegating to the scalar get.
| [in] | index | The row index. |
| [out] | vector | The 1D vector to populate. |
Definition at line 555 of file TableColumn.h.
References get().
Referenced by PropertyInterface< NDPN >::Get(), PropertyInterface< NDPN >::Get(), PropertyInterface< NDPO >::Get(), PropertyInterface< NDPO >::Get(), get(), get(), get(), get(), get(), get(), get(), get(), get(), get(), get(), get(), get(), get(), getAll(), getIndexOf(), getVector(), Geometry::polygons(), Geometry::polylines(), setAll(), and Geometry::triangles().
Retrieves a 32-element boolean vector at the given row index by reading the stored uint04 and reinterpreting its bits.
| [in] | index | The row index. |
| [out] | value | The boolean vector to populate. |
Definition at line 873 of file TableColumn.h.
|
inline |
Retrieves a contiguous range of values as a typed buffer.
| [in] | start | The starting row index. |
| [in] | size | The number of rows to retrieve. |
Definition at line 1131 of file TableColumn.h.
References begin(), get(), GetTypeInfo(), size(), and type().
|
pure virtual |
Returns the default value for new rows as a string representation.
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Referenced by DefaultSetter< t_type >::setDefaultValueFrom(), and DefaultSetter< String >::setDefaultValueFrom().
|
inline |
Searches for the first row containing the given value.
| [in] | object | The value to search for. |
Definition at line 609 of file TableColumn.h.
|
inline |
Returns the last modification time of this column.
Definition at line 1050 of file TableColumn.h.
References m_modified_time.
Returns the size of an array-typed row at the given index.
| [in] | index | The row index (parameter unnamed in declaration). |
Reimplemented in TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
Definition at line 117 of file TableColumn.h.
|
pure virtual |
Creates a new TableColumn containing only the rows where the corresponding selected_indices entry is true.
| [in] | selected_indices | A boolean buffer indicating which rows to include. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
References TableColumn().
Retrieves a 1D uint04 vector from the given row index.
| [in] | index | The row index. |
| [out] | vector | The vector to populate. |
Retrieves a 2D uint04 vector from the given row index.
| [in] | index | The row index. |
| [out] | vector | The vector to populate. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a 3D fltp04 vector from the given row index.
| [in] | index | The row index. |
| [out] | vector | The vector to populate. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
Referenced by get().
Retrieves a 3D fltp08 vector from the given row index.
| [in] | index | The row index. |
| [out] | vector | The vector to populate. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Retrieves a 3D uint04 vector from the given row index.
| [in] | index | The row index. |
| [out] | vector | The vector to populate. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
inline |
Retrieves a generic vector from the given row index by reading each component from consecutive vector positions.
| [in] | index | The row index. |
| [out] | value | The vector to populate. |
Definition at line 936 of file TableColumn.h.
References get().
Checks whether any changes have been recorded since the given time within a row range.
| [in] | time | The cutoff time. |
| [in] | range | The row range to check. |
|
pure virtual |
Inserts a default-initialized row at the given index, shifting subsequent rows.
| [in] | index | The position at which to insert the new row. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Referenced by insert().
|
inline |
Inserts a new row at the given index and immediately sets its value.
| [in] | index | The position at which to insert. |
| [in] | value | The value to assign to the newly inserted row. |
Definition at line 946 of file TableColumn.h.
Inserts a contiguous block of index entries at the given location.
| [in] | location | The position at which to insert. |
| [in] | size | The number of index entries to insert. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
References size().
Inserts a contiguous block of default-initialized rows at the given location.
| [in] | location | The position at which to insert. |
| [in] | size | The number of rows to insert. |
Implemented in OpenGLBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, and VulkanBuffer.
References size().
Referenced by addRow(), and GraphicsBuffer::insert().
|
pure virtual |
Checks whether the stored string at the given row is exactly equal to the given value.
| [in] | index | The row index. |
| [in] | value | The string to compare against. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, and TableColumnString.
Referenced by PropertyInterface< t_property_enum >::IsSame(), PropertyInterface< NDPN >::IsSame(), and PropertyInterface< NDPO >::IsSame().
| const String & TableColumn::label | ( | ) | const |
Returns the label (name) of this column.
Referenced by GraphicsBuffer::GraphicsBuffer(), OpenGLBuffer::OpenGLBuffer(), OpenGLBuffer::OpenGLBuffer(), TableColumn(), TableColumnBuffer< t_type >::TableColumnBuffer(), TableColumnBuffer< t_type >::TableColumnBuffer(), TableColumnBuffer< t_type >::TableColumnBuffer(), TableColumnColorType::TableColumnColorType(), TableColumnColorType::TableColumnColorType(), TableColumnString::TableColumnString(), TableColumnTypeBuffer< T >::TableColumnTypeBuffer(), TableMatrixType< T, t_cols, t_rows >::TableMatrixType(), TableVectorType< 1, T >::TableVectorType(), TableVectorType< 1, T >::TableVectorType(), TableVectorType< 1, t_type >::TableVectorType(), TableVectorType< 1, t_type >::TableVectorType(), TableVectorType< 1, UUID >::TableVectorType(), VulkanBuffer::VulkanBuffer(), TableColumnColorType::getSelected(), TableVectorType< 1, T >::getSelected(), TableVectorType< 1, t_type >::getSelected(), and setLabel().
|
inlinevirtual |
Maps this column from a binary file for deserialization.
| [in] | info | The binary file table info structure to read from. |
Reimplemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, and TableColumnString.
Definition at line 388 of file TableColumn.h.
|
inlinevirtual |
Maps this column to a binary file using compression.
| [in] | info | The binary file table info structure. |
| [in] | object | The compression object to use. |
Reimplemented in GraphicsBuffer, and TableColumnBuffer< t_type >.
Definition at line 384 of file TableColumn.h.
|
inlinevirtual |
Maps this column to a binary file for serialization.
| [in] | info | The binary file table info structure. |
| [in] | column_id | The column identifier within the file (parameter unnamed in declaration). |
Reimplemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Definition at line 379 of file TableColumn.h.
|
inline |
Returns the UUID of a table that this column references, if any.
Definition at line 1186 of file TableColumn.h.
References m_reference_table.
Removes index entries using an offset lookup list.
| [in] | offset_lookup_list | A buffer mapping old indices to removal offsets. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Removes a contiguous block of index entries at the given location.
| [in] | location | The starting position. |
| [in] | size | The number of index entries to remove. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
References size().
|
pure virtual |
Removes a single row at the given index.
| [in] | index | The row index to remove. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Removes multiple rows identified by a sorted list of indices.
| [in] | sorted_remove_indices | A buffer of row indices to remove, sorted in ascending order. |
Implemented in GraphicsBuffer, and TableColumnBuffer< t_type >.
Removes a contiguous block of rows starting at the given index.
| [in] | index | The starting row index. |
| [in] | size | The number of rows to remove. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
References size().
Removes rows indicated by a boolean mask starting from a given offset.
| [in] | offset | The row offset to apply to the boolean indices. |
| [in] | indices | A boolean buffer where true indicates a row to remove. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, and TableColumnString.
|
inlinevirtual |
Resets a row to its default state.
Base implementation is a no-op.
| [in] | index | The row index to reset (parameter unnamed in declaration). |
Reimplemented in TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Definition at line 374 of file TableColumn.h.
|
inline |
Bulk-sets values from a raw pointer array into this column.
| [in] | values | Pointer to the source array of values. |
| [in] | start_index | The starting row index in this column. |
| [in] | size | The number of elements to copy. |
Definition at line 508 of file TableColumn.h.
References begin(), GetTypeInfo(), set(), size(), and type().
|
pure virtual |
Sets a bool value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a BitFlag value at the given row index by storing its underlying bits.
| [in] | index | The row index. |
| [in] | bitflag | The bit flag whose bits are stored. |
Definition at line 491 of file TableColumn.h.
References set().
|
inline |
Sets the value at the given row index from a BitReference.
| [in] | index | The row index. |
| [in] | val | The bit reference to convert to bool and store. |
Definition at line 175 of file TableColumn.h.
References set().
Sets a 3D fltp04 bounding box at the given row index.
| [in] | index | The row index. |
| [in] | bounds | The 3D bounds to store. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a 3D fltp08 bounding box at the given row index.
| [in] | index | The row index. |
| [in] | bounds | The 3D bounds to store. |
Reimplemented in TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
inline |
Sets a Bounds value at the given row index by writing min and max components into contiguous vector positions.
| [in] | index | The row index. |
| [in] | value | The bounding box to store. |
Definition at line 443 of file TableColumn.h.
|
inline |
Sets the value at the given row index from a C-string pointer.
| [in] | index | The row index. |
| [in] | string | The null-terminated string to store. |
Definition at line 159 of file TableColumn.h.
References set().
|
inline |
Sets the value at the given row index from a string literal.
| [in] | index | The row index. |
| [in] | string | The string literal to store. |
Definition at line 151 of file TableColumn.h.
References set().
Sets a File value at the given row index.
| [in] | index | The row index. |
| [in] | value | The file path to store. |
Sets a 4x4 fltp04 matrix value at the given row index.
| [in] | index | The row index. |
| [in] | transform | The matrix to store. |
Reimplemented in TableMatrixType< t_type, t_cols, t_rows >, and TableMatrixType< T, t_cols, t_rows >.
Sets a 4x4 fltp08 matrix value at the given row index.
| [in] | index | The row index. |
| [in] | transform | The matrix to store. |
Reimplemented in TableMatrixType< t_type, t_cols, t_rows >, and TableMatrixType< T, t_cols, t_rows >.
Sets a Matrix value at the given row index by writing each element column-major into contiguous vector positions.
| [in] | index | The row index. |
| [in] | matrix | The matrix to store. |
Definition at line 456 of file TableColumn.h.
|
inline |
Sets the value at the given row index to zero (nullptr overload).
| [in] | index | The row index. |
Definition at line 201 of file TableColumn.h.
References set().
Sets a String value at the given row index.
| [in] | index | The row index. |
| [in] | value | The string to store. |
|
inline |
Sets the value at the given row index from a StringAllocatingView.
| [in] | index | The row index. |
| [in] | string | The string view to store. |
Definition at line 167 of file TableColumn.h.
References set().
|
pure virtual |
Sets a string value at the given row index.
| [in] | index | The row index. |
| [in] | value | The string view to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableMatrixType< t_type, t_cols, t_rows >, TableMatrixType< T, t_cols, t_rows >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
inline |
|
inline |
Sets a vector value at the given row index.
If the vector is 1D, stores as scalar.
| [in] | index | The row index. |
| [in] | value | The vector to store. |
Definition at line 469 of file TableColumn.h.
References set(), setVector(), and type().
| std::enable_if<!ObjectInfo< t_class >::Enum >::type TableColumn::set | ( | uint04 | index, |
| const t_class & | value ) |
Sets the value at the given row index from a non-enum type.
| [in] | index | The row index. |
| [in] | value | The value to set. |
References type().
Referenced by insert(), PropertyInterface< t_property_enum >::Set(), PropertyInterface< t_property_enum >::Set(), PropertyInterface< NDPN >::Set(), PropertyInterface< NDPN >::Set(), set(), set(), set(), set(), set(), set(), set(), set(), set(), set(), set(), set(), set(), setAll(), and setVector().
|
inline |
Sets the value at the given row index from a const pointer, stored as uint08.
| [in] | index | The row index. |
| [in] | pointer | The const pointer value to store as an integer. |
Definition at line 194 of file TableColumn.h.
References set().
| void TableColumn::set | ( | uint04 | index, |
| const TranslatedString & | value ) |
Sets a TranslatedString value at the given row index.
| [in] | index | The row index. |
| [in] | value | The translated string to store. |
|
inline |
Sets a Triangle value at the given row index by writing each vertex component into contiguous vector positions.
| [in] | index | The row index. |
| [in] | value | The triangle to store. |
Definition at line 429 of file TableColumn.h.
Sets a UUID value at the given row index.
| [in] | index | The row index. |
| [in] | value | The UUID to store. |
Reimplemented in TableVectorType< 1, UUID >.
Sets a 32-element boolean vector at the given row index.
| [in] | index | The row index. |
| [in] | value | The 32-bit boolean vector to store. |
Sets a fltp04 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a fltp08 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets an RGBColor value at the given row index.
| [in] | index | The row index. |
| [in] | value | The color value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint01 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint02 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint04 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint08 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
inline |
Sets the value at the given row index from a non-const pointer, stored as uint08.
| [in] | index | The row index. |
| [in] | pointer | The pointer value to store as an integer. |
Definition at line 185 of file TableColumn.h.
References set().
Sets a uint01 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a uint02 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a uint04 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a bool value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
|
pure virtual |
Sets a string value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The string view to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a fltp04 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a fltp08 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint01 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint02 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint04 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a sint08 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a uint01 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a uint02 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a uint04 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a uint08 value at a specific vector position within a row.
| [in] | index | The row index. |
| [in] | vector_pos | The component index within the vector. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
Sets a uint08 value at the given row index.
| [in] | index | The row index. |
| [in] | value | The value to store. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 2 *t_dims, T >, and TableVectorType< t_dims, T >.
|
inline |
Copies a range of values from another column into this column using a specific type.
Uses memcpy/memmove when types match and are primitive for optimal performance.
| [in] | to_location | The starting destination row index in this column. |
| [in] | from_location | The starting source row index in the source column. |
| [in] | size | The number of rows to copy. |
| [in] | from_column | The source column to copy from. |
Definition at line 986 of file TableColumn.h.
References TableColumn(), begin(), get(), GetTypeInfo(), set(), size(), and type().
|
inlinevirtual |
Copies a range of values from another column into this column.
Dispatches to a type-specific setAll based on the column's vector_size.
| [in] | to_location | The starting destination row index in this column. |
| [in] | from_location | The starting source row index in the source column. |
| [in] | size | The number of rows to copy. |
| [in] | from_column | The source column to copy from. |
Definition at line 958 of file TableColumn.h.
References TableColumn(), setAll(), size(), and type().
Referenced by setAll().
|
inline |
Sets the compression mode used when serializing this column.
| [in] | compression_mode | The compression mode to use. |
Definition at line 621 of file TableColumn.h.
References m_compression_mode.
|
inline |
Sets the default value for new rows from a non-enum value.
| [in] | value | The default value to set. |
Definition at line 1101 of file TableColumn.h.
References setDefaultValue(), and type().
|
inline |
Sets the default value for new rows from an enum value by casting to uint04.
| [in] | value | The enum default value to set. |
Definition at line 1092 of file TableColumn.h.
References cast(), setDefaultValue(), and type().
|
pure virtual |
Sets the default value for new rows from a string representation.
| [in] | value | The string representation of the default value. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, TableColumnColorType, TableMatrixType< t_type, t_cols, t_rows >, and TableMatrixType< T, t_cols, t_rows >.
Referenced by setDefault(), DefaultSetter< t_type >::setDefaultValueFrom(), and DefaultSetter< String >::setDefaultValueFrom().
|
pure virtual |
Copies the default value from another column.
| [in] | column | The source column whose default value is copied. |
Implemented in OpenGLBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, and VulkanBuffer.
References TableColumn().
| void TableColumn::setLabel | ( | const StringView & | label | ) |
|
inline |
Sets the UUID of a table that this column references.
| [in] | table | The UUID of the referenced table. |
Definition at line 1193 of file TableColumn.h.
References m_reference_table.
Sets the size of an array-typed row at the given index.
| [in] | index | The row index (parameter unnamed in declaration). |
| [in] | size | The desired size for that row's array (parameter unnamed in declaration). |
Reimplemented in TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, and TableColumnTypeBuffer< uint04 >.
Definition at line 111 of file TableColumn.h.
|
pure virtual |
Sets the number of rows in this column.
| [in] | size | The desired number of rows. |
Implemented in OpenGLBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, and VulkanBuffer.
References size().
|
inline |
Sets a vector value at the given row index, writing each component individually.
| [in] | index | The row index. |
| [in] | value | The vector whose components are written to consecutive vector positions. |
Definition at line 524 of file TableColumn.h.
References cast(), getMin(), set(), and type().
Referenced by set().
|
pure virtual |
Returns the number of rows in this column.
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Referenced by addRow(), copyRows(), getAll(), getIndexOf(), insertIndices(), insertRows(), removeIndices(), removeRows(), set(), setAll(), setSize(), and updateAll().
Swaps the values at two row indices.
| [in] | a | The first row index. |
| [in] | b | The second row index. |
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, and TableColumnBuffer< Vector< t_dims, uint01 > >.
Swaps two index entries.
Used for reordering index-based columns.
| [in] | a | The first index. |
| [in] | b | The second index. |
Implemented in GraphicsBuffer, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
|
inlineprivatevirtual |
Computes a hash of the column's raw data using a variant of the FNV hash algorithm.
Reimplemented in TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
Definition at line 1293 of file TableColumn.h.
|
pure virtual |
Returns the TypeInfo describing the data type stored in this column.
Implemented in GraphicsBuffer, TableColumnBuffer< t_type >, TableColumnBuffer< Buffer< t_type > >, TableColumnBuffer< RGBColor >, TableColumnBuffer< String >, TableColumnBuffer< Vector< t_dims, fltp08 > >, TableColumnBuffer< Vector< t_dims, t_type > >, TableColumnBuffer< Vector< t_dims, uint01 > >, TableColumnColorType, TableColumnString, TableColumnTypeBuffer< t_type >, TableColumnTypeBuffer< T >, TableColumnTypeBuffer< uint04 >, TableVectorType< t_dims, t_type >, TableVectorType< 1, T >, TableVectorType< 1, t_type >, TableVectorType< 1, uint01 >, TableVectorType< 1, uint02 >, TableVectorType< 1, uint04 >, TableVectorType< 1, uint08 >, TableVectorType< 1, UUID >, TableVectorType< 16, uint01 >, TableVectorType< 2 *t_dims, T >, TableVectorType< 6, fltp08 >, TableVectorType< t_cols *t_rows, t_type >, and TableVectorType< t_dims, T >.
Referenced by get(), get(), getAll(), set(), set(), set(), set(), set(), setAll(), setDefault(), and setVector().
| void TableColumn::update | ( | const TableChange & | change | ) |
Records a change to this column and updates the modification time.
| [in] | change | The TableChange describing what was modified. |
Referenced by updateAll().
|
virtual |
Updates this column's data from another column, typically used for synchronization or mirroring.
| [in] | column | The source column to update from. |
Reimplemented in GraphicsBuffer.
References TableColumn().