NDEVR
API Documentation
TableColumnString

A TableColumnBuffer of Strings. More...

Inheritance diagram for TableColumnString:
[legend]
Collaboration diagram for TableColumnString:
[legend]

Public Member Functions

 TableColumnString (const StringView &label)
 Constructs a TableColumnString with the given column label.
bool beginsWith (uint04 index, const StringView &value, bool ignore_case) const final override
 Checks if the string at the given row begins with the provided prefix.
bool contains (uint04 index, const StringView &value, bool ignore_case) const final override
 Checks if the string at the given row contains the provided substring.
uint04 getRowSize (uint04 index) const override
 Returns the character count of the string at the given row.
TableColumnStringgetSelected (const Buffer< bool > &selected_indices) const override
 Creates a filtered copy; currently returns nullptr (unimplemented).
virtual void insertIndices (uint04 location, uint04 size) override
 Adjusts stored index references (parsed as integers from strings) after insertion.
bool isSame (uint04 index, const StringView &value) const override
 Checks if the string at the given row is equal to the provided value.
virtual void mapFromFile (BinaryFileTableInfo &file) override
 Reads the string column from a binary file, handling multiple version formats.
virtual void removeIndices (const Buffer< uint04 > &offset_lookup_list) override
 Asserts; lookup-table-based index removal is not yet implemented for strings.
virtual void removeIndices (uint04 location, uint04 size) override
 Adjusts stored index references (parsed as integers) after removal.
void removeRows (uint04 offset, const Buffer< bool > &indices) override
 No-op override for boolean-mask row removal (unimplemented for strings).
void setRowSize (uint04 index, uint04 size) override
 Sets the character count of the string at the given row.
virtual void swapIndices (uint04, uint04) override
 Asserts; swap indices is not implemented for string columns.
uint08 tableHash () const override
 Computes a hash of the entire string column using FNV-like hashing.
virtual TypeInfo type () const override
 Returns TypeInfo describing the String type.
void set (uint04 index, uint04 vector_pos, bool value) override
 Inserts the string representation of a value at the given character position.
void set (uint04 index, uint04 vector_pos, uint01 value) override
 Sets a uint01 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, uint02 value) override
 Sets a uint02 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, uint04 value) override
 Sets a uint04 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, uint08 value) override
 Sets a uint08 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, sint01 value) override
 Sets a sint01 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, sint02 value) override
 Sets a sint02 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, sint04 value) override
 Sets a sint04 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, sint08 value) override
 Sets a sint08 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, fltp04 value) override
 Sets a fltp04 value at a specific vector position within a row.
void set (uint04 index, uint04 vector_pos, fltp08 value) override
 Sets a fltp08 value at a specific vector position within a row.
void set (uint04, uint04, const StringView &) override
 Sets a string value at a specific vector position within a row.
void set (uint04 index, bool value) override
 Sets the entire string at the given row from a numeric or string value.
void set (uint04 index, uint01 value) override
 Sets a uint01 value at the given row index.
void set (uint04 index, uint02 value) override
 Sets a uint02 value at the given row index.
void set (uint04 index, uint04 value) override
 Sets a uint04 value at the given row index.
void set (uint04 index, uint08 value) override
 Sets a uint08 value at the given row index.
void set (uint04 index, sint01 value) override
 Sets a sint01 value at the given row index.
void set (uint04 index, sint02 value) override
 Sets a sint02 value at the given row index.
void set (uint04 index, sint04 value) override
 Sets a sint04 value at the given row index.
void set (uint04 index, sint08 value) override
 Sets a sint08 value at the given row index.
void set (uint04 index, fltp04 value) override
 Sets a fltp04 value at the given row index.
void set (uint04 index, fltp08 value) override
 Sets a fltp08 value at the given row index.
void set (uint04 index, const StringView &value) override
 Sets a string value at the given row index.
void set (uint04 index, RGBColor value) override
 Sets an RGBColor value at the given row index.
void get (uint04 index, uint04 vector_pos, bool &value) const override
 Gets a value from a substring starting at the given character position.
void get (uint04 index, uint04 vector_pos, uint01 &value) const override
 Retrieves a uint01 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, uint02 &value) const override
 Retrieves a uint02 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, uint04 &value) const override
 Retrieves a uint04 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, uint08 &value) const override
 Retrieves a uint08 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, sint01 &value) const override
 Retrieves a sint01 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, sint02 &value) const override
 Retrieves a sint02 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, sint04 &value) const override
 Retrieves a sint04 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, sint08 &value) const override
 Retrieves a sint08 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, fltp04 &value) const override
 Retrieves a fltp04 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, fltp08 &value) const override
 Retrieves a fltp08 value at a specific vector position within a row.
void get (uint04 index, uint04 vector_pos, StringAllocatingView &value) const override
 Retrieves a string value at a specific vector position within a row.
void get (uint04 index, bool &value) const override
 Gets a value by parsing the entire string at the given row.
void get (uint04 index, uint01 &value) const override
 Retrieves a uint01 value at the given row index.
void get (uint04 index, uint02 &value) const override
 Retrieves a uint02 value at the given row index.
void get (uint04 index, uint04 &value) const override
 Retrieves a uint04 value at the given row index.
void get (uint04 index, uint08 &value) const override
 Retrieves a uint08 value at the given row index.
void get (uint04 index, sint01 &value) const override
 Retrieves a sint01 value at the given row index.
void get (uint04 index, sint02 &value) const override
 Retrieves a sint02 value at the given row index.
void get (uint04 index, sint04 &value) const override
 Retrieves a sint04 value at the given row index.
void get (uint04 index, sint08 &value) const override
 Retrieves a sint08 value at the given row index.
void get (uint04 index, fltp04 &value) const override
 Retrieves a fltp04 value at the given row index.
void get (uint04 index, fltp08 &value) const override
 Retrieves a fltp08 value at the given row index.
void get (uint04 index, StringAllocatingView &value) const override
 Retrieves a string value at the given row index as a StringAllocatingView.
void get (uint04 index, StringView &value) const override
 Retrieves a string value at the given row index as a StringView.
void get (uint04 index, RGBColor &value) const override
 Retrieves an RGBColor value at the given row index.
Public Member Functions inherited from TableColumnBuffer< String >
 TableColumnBuffer (const StringView &label)
 Constructs a TableColumnBuffer with the given label and an invalid default value.
virtual void addRow () override
 Appends a new row initialized with the default value.
void * begin () override
 Returns a pointer to the beginning of the raw data buffer.
virtual void compress (BinaryCompressionObject &object) override
 Compresses the column data into a binary compression object.
virtual void copyRow (uint04 source, uint04 destination) override
 Copies the value from the source row to the destination row.
virtual void copyRows (uint04 source, uint04 destination, uint04 size) override
 Copies a contiguous range of rows from source to destination.
void * end () override
 Returns a pointer past the end of the raw data buffer.
virtual void finishMapFromFile (BinaryFileTableInfo &file) override
 Completes file deserialization by extracting the default value from the buffer.
const StringAllocatingView getDefaultValue () const override
 Returns the default value as a string representation.
void insert (uint04 index) override
 Inserts a new row at the given index, initialized to the default value.
virtual void insertRows (uint04 location, uint04 size) override
 Inserts multiple rows at the given location, each initialized to the default value.
virtual void mapToFile (BinaryFileTableInfo &file, int compression) override
 Writes the column data to a binary file with the given compression mode.
decltype(auto) operator[] (const uint04 index)
 Returns a reference to the element at the given row index.
void removeRow (uint04 index) override
 Removes a single row at the given index.
virtual void removeRows (uint04 index, uint04 size) override
 Removes a contiguous range of rows starting at the given index.
virtual void resetRow (uint04 row) override
 Resets the specified row to the default value.
void set (uint04 index, const String &value)
 Sets the value at the given row index.
virtual void setDefaultValue (const StringAllocatingView &value) override
 Sets the default value for new rows by parsing a string representation.
virtual void setDefaultValueFrom (const TableColumn &column) override
 Copies the default value from another column into this one.
void setSize (uint04 size) override
 Resizes the column to the specified number of rows.
uint04 size () const override
 Returns the number of rows in this column.
virtual void swap (uint04 a, uint04 b) override
 Swaps the values at two row indices.
Public Member Functions inherited from TableColumn
 TableColumn (const StringView &label)
 Constructs a TableColumn with the given label.
virtual ~TableColumn ()
 Virtual destructor.
virtual const void * begin () const =0
 Returns a const pointer to the beginning of the underlying raw data.
const Buffer< TableChange > & changes () const
 Returns the list of all recorded changes for this column.
Buffer< TableChangechangesSince (const Time &time) const
 Returns all changes recorded since the given time.
Buffer< TableChangechangesSince (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 const void * end () const =0
 Returns a const pointer to one past the end of the underlying raw data.
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, 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, 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.
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.
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, 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.
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 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.
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.
const Stringlabel () const
 Returns the label (name) of this column.
virtual void mapToFile (BinaryFileTableInfo &, BinaryCompressionObject &)
 Maps this column to a binary file using compression.
UUID referenceTable () const
 Returns the UUID of a table that this column references, if any.
virtual void removeRows (const Buffer< uint04 > &sorted_remove_indices)=0
 Removes multiple rows identified by a sorted list of indices.
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.
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.
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.
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.
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.
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.
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.
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.

Additional Inherited Members

Protected Member Functions inherited from TableColumnBuffer< String >
decltype(auto) defaultValue ()
 Returns a reference to the default value.
decltype(auto) pullValue (uint04 index)
 Returns a reference to the value at the given row index.
Protected Attributes inherited from TableColumnBuffer< String >
Buffer< Stringm_buffer
 The underlying data buffer storing all row values.
Buffer< uint01m_compressed_data
 Temporary storage for compressed column data.
String m_default_value
 The default value assigned to new rows.
bool m_has_been_read
 Whether data has been read from file and needs finalization.
Protected Attributes inherited from TableColumn
Buffer< TableChangem_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.

Detailed Description

A TableColumnBuffer of Strings.


Allows for virtual memory access with the caller not needing to know how the data itself is stored.

Definition at line 1493 of file TableColumnType.h.

Constructor & Destructor Documentation

◆ TableColumnString()

TableColumnString::TableColumnString ( const StringView & label)
inline

Constructs a TableColumnString with the given column label.

Parameters
[in]labelThe name/label for this column.

Definition at line 1504 of file TableColumnType.h.

References TableColumnBuffer< String >::TableColumnBuffer(), and TableColumn::label().

Referenced by getSelected().

Member Function Documentation

◆ get() [1/25]

void TableColumnString::get ( uint04 index,
fltp04 & value ) const
inlineoverridevirtual

Retrieves a fltp04 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1568 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [2/25]

void TableColumnString::get ( uint04 index,
fltp08 & value ) const
inlineoverridevirtual

Retrieves a fltp08 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1569 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [3/25]

void TableColumnString::get ( uint04 index,
RGBColor & value ) const
inlineoverridevirtual

Retrieves an RGBColor value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved color value.

Implements TableColumn.

Definition at line 1572 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [4/25]

void TableColumnString::get ( uint04 index,
sint01 & value ) const
inlineoverridevirtual

Retrieves a sint01 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1564 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [5/25]

void TableColumnString::get ( uint04 index,
sint02 & value ) const
inlineoverridevirtual

Retrieves a sint02 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1565 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [6/25]

void TableColumnString::get ( uint04 index,
sint04 & value ) const
inlineoverridevirtual

Retrieves a sint04 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1566 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [7/25]

void TableColumnString::get ( uint04 index,
sint08 & value ) const
inlineoverridevirtual

Retrieves a sint08 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1567 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [8/25]

void TableColumnString::get ( uint04 index,
StringAllocatingView & value ) const
inlineoverridevirtual

Retrieves a string value at the given row index as a StringAllocatingView.

Parameters
[in]indexThe row index.
[out]valueThe retrieved string value.

Implements TableColumn.

Definition at line 1570 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [9/25]

void TableColumnString::get ( uint04 index,
StringView & value ) const
inlineoverridevirtual

Retrieves a string value at the given row index as a StringView.

Parameters
[in]indexThe row index.
[out]valueThe retrieved string view.

Implements TableColumn.

Definition at line 1571 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [10/25]

void TableColumnString::get ( uint04 index,
uint01 & value ) const
inlineoverridevirtual

Retrieves a uint01 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1560 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [11/25]

void TableColumnString::get ( uint04 index,
uint02 & value ) const
inlineoverridevirtual

Retrieves a uint02 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1561 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [12/25]

void TableColumnString::get ( uint04 index,
uint04 & value ) const
inlineoverridevirtual

Retrieves a uint04 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1562 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [13/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
bool & value ) const
inlineoverridevirtual

Gets a value from a substring starting at the given character position.

      \note Possible bug on line for sint01: uses getAs<uint01>() instead of getAs<sint01>(). 

Implements TableColumn.

Definition at line 1544 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [14/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
fltp04 & value ) const
inlineoverridevirtual

Retrieves a fltp04 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1553 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [15/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
fltp08 & value ) const
inlineoverridevirtual

Retrieves a fltp08 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1554 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [16/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
sint01 & value ) const
inlineoverridevirtual

Retrieves a sint01 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1549 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [17/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
sint02 & value ) const
inlineoverridevirtual

Retrieves a sint02 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1550 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [18/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
sint04 & value ) const
inlineoverridevirtual

Retrieves a sint04 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1551 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [19/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
sint08 & value ) const
inlineoverridevirtual

Retrieves a sint08 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1552 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [20/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
StringAllocatingView & value ) const
inlineoverridevirtual

Retrieves a string value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved string value.

Implements TableColumn.

Definition at line 1555 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ get() [21/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
uint01 & value ) const
inlineoverridevirtual

Retrieves a uint01 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1545 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [22/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
uint02 & value ) const
inlineoverridevirtual

Retrieves a uint02 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1546 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [23/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
uint04 & value ) const
inlineoverridevirtual

Retrieves a uint04 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1547 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [24/25]

void TableColumnString::get ( uint04 index,
uint04 vector_pos,
uint08 & value ) const
inlineoverridevirtual

Retrieves a uint08 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1548 of file TableColumnType.h.

References String::getAs(), and TableColumnBuffer< t_type >::pullValue().

◆ get() [25/25]

void TableColumnString::get ( uint04 index,
uint08 & value ) const
inlineoverridevirtual

Retrieves a uint08 value at the given row index.

Parameters
[in]indexThe row index.
[out]valueThe retrieved value.

Implements TableColumn.

Definition at line 1563 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ insertIndices()

virtual void TableColumnString::insertIndices ( uint04 location,
uint04 size )
inlineoverridevirtual

Adjusts stored index references (parsed as integers from strings) after insertion.

Interprets each string as a uint04 index, and increments those >= location.

Parameters
[in]locationThe insertion point.
[in]sizeThe number of indices inserted.

Implements TableColumn.

Definition at line 1582 of file TableColumnType.h.

References Bounds< t_dims, t_type, t_vertex >::addToBounds(), TableChange::e_update, IsValid(), TableColumnBuffer< String >::m_buffer, TableColumn::m_changes, TableColumn::m_modified_time, TableColumnBuffer< String >::size(), Bounds< t_dims, t_type, t_vertex >::span(), and Time::SystemTime().

◆ mapFromFile()

virtual void TableColumnString::mapFromFile ( BinaryFileTableInfo & file)
inlineoverridevirtual

Reads the string column from a binary file, handling multiple version formats.

Parameters
[in]fileThe binary file info with version number and file handle.

Reimplemented from TableColumnBuffer< String >.

Definition at line 1651 of file TableColumnType.h.

References file, TableColumnBuffer< String >::m_buffer, and TableColumnBuffer< t_type >::mapFromFile().

◆ removeIndices()

virtual void TableColumnString::removeIndices ( uint04 location,
uint04 size )
inlineoverridevirtual

Adjusts stored index references (parsed as integers) after removal.

Values in the removed range are set to "NaN". Values beyond are decremented.

Parameters
[in]locationThe start of the removed range.
[in]sizeThe number of indices removed.

Implements TableColumn.

Definition at line 1619 of file TableColumnType.h.

References Bounds< t_dims, t_type, t_vertex >::addToBounds(), TableChange::e_update, IsValid(), TableColumnBuffer< String >::m_buffer, TableColumn::m_changes, TableColumn::m_modified_time, TableColumnBuffer< String >::size(), Bounds< t_dims, t_type, t_vertex >::span(), and Time::SystemTime().

◆ set() [1/23]

void TableColumnString::set ( uint04 index,
const StringView & value )
inlineoverridevirtual

Sets a string value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe string view to store.

Implements TableColumn.

Definition at line 1537 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [2/23]

void TableColumnString::set ( uint04 index,
fltp04 value )
inlineoverridevirtual

Sets a fltp04 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1535 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [3/23]

void TableColumnString::set ( uint04 index,
fltp08 value )
inlineoverridevirtual

Sets a fltp08 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1536 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [4/23]

void TableColumnString::set ( uint04 index,
RGBColor value )
inlineoverridevirtual

Sets an RGBColor value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe color value to store.

Implements TableColumn.

Definition at line 1538 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [5/23]

void TableColumnString::set ( uint04 index,
sint01 value )
inlineoverridevirtual

Sets a sint01 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1531 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [6/23]

void TableColumnString::set ( uint04 index,
sint02 value )
inlineoverridevirtual

Sets a sint02 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1532 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [7/23]

void TableColumnString::set ( uint04 index,
sint04 value )
inlineoverridevirtual

Sets a sint04 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1533 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [8/23]

void TableColumnString::set ( uint04 index,
sint08 value )
inlineoverridevirtual

Sets a sint08 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1534 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [9/23]

void TableColumnString::set ( uint04 index,
uint01 value )
inlineoverridevirtual

Sets a uint01 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1527 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [10/23]

void TableColumnString::set ( uint04 index,
uint02 value )
inlineoverridevirtual

Sets a uint02 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1528 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [11/23]

void TableColumnString::set ( uint04 index,
uint04 value )
inlineoverridevirtual

Sets a uint04 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1529 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [12/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
fltp04 value )
inlineoverridevirtual

Sets a fltp04 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1520 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [13/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
fltp08 value )
inlineoverridevirtual

Sets a fltp08 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1521 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [14/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
sint01 value )
inlineoverridevirtual

Sets a sint01 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1516 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [15/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
sint02 value )
inlineoverridevirtual

Sets a sint02 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1517 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [16/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
sint04 value )
inlineoverridevirtual

Sets a sint04 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1518 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [17/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
sint08 value )
inlineoverridevirtual

Sets a sint08 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1519 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [18/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
uint01 value )
inlineoverridevirtual

Sets a uint01 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1512 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [19/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
uint02 value )
inlineoverridevirtual

Sets a uint02 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1513 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [20/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
uint04 value )
inlineoverridevirtual

Sets a uint04 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1514 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [21/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
uint08 value )
inlineoverridevirtual

Sets a uint08 value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1515 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [22/23]

void TableColumnString::set ( uint04 index,
uint08 value )
inlineoverridevirtual

Sets a uint08 value at the given row index.

Parameters
[in]indexThe row index.
[in]valueThe value to store.

Implements TableColumn.

Definition at line 1530 of file TableColumnType.h.

References TableColumnBuffer< t_type >::pullValue().

◆ set() [23/23]

void TableColumnString::set ( uint04 index,
uint04 vector_pos,
const StringView & value )
inlineoverridevirtual

Sets a string value at a specific vector position within a row.

Parameters
[in]indexThe row index.
[in]vector_posThe component index within the vector.
[in]valueThe string view to store.

Implements TableColumn.

Definition at line 1522 of file TableColumnType.h.

◆ tableHash()

uint08 TableColumnString::tableHash ( ) const
inlineoverridevirtual

Computes a hash of the entire string column using FNV-like hashing.

Returns
A uint08 hash value representing the column contents.

Reimplemented from TableColumn.

Definition at line 1602 of file TableColumnType.h.

References TableColumnBuffer< String >::m_buffer.

◆ type()

virtual TypeInfo TableColumnString::type ( ) const
inlineoverridevirtual

Returns TypeInfo describing the String type.

Returns
TypeInfo for String.

Reimplemented from TableColumnBuffer< String >.

Definition at line 1498 of file TableColumnType.h.

References GetTypeInfo().


The documentation for this class was generated from the following file: