API Documentation
Loading...
Searching...
No Matches
TableColumnString Class Reference

A TableColumnBuffer of Strings. More...

#include <TableColumnType.h>

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

Public Member Functions

bool beginsWith (uint04 index, const char *value, bool ignore_case) const final override
 
bool beginsWith (uint04 index, const String &value, bool ignore_case) const final override
 
bool contains (uint04 index, const char *value, bool ignore_case) const final override
 
bool contains (uint04 index, const String &value, bool ignore_case) const final override
 
void get (uint04 index, bool &value) const override
 
void get (uint04 index, fltp04 &value) const override
 
void get (uint04 index, fltp08 &value) const override
 
void get (uint04 index, RGBColor &value) const override
 
void get (uint04 index, sint01 &value) const override
 
void get (uint04 index, sint02 &value) const override
 
void get (uint04 index, sint04 &value) const override
 
void get (uint04 index, sint08 &value) const override
 
void get (uint04 index, String &value) const override
 
void get (uint04 index, uint01 &value) const override
 
void get (uint04 index, uint02 &value) const override
 
void get (uint04 index, uint04 &value) const override
 
void get (uint04 index, uint04 vector_pos, bool &value) const override
 
void get (uint04 index, uint04 vector_pos, fltp04 &value) const override
 
void get (uint04 index, uint04 vector_pos, fltp08 &value) const override
 
void get (uint04 index, uint04 vector_pos, sint01 &value) const override
 
void get (uint04 index, uint04 vector_pos, sint02 &value) const override
 
void get (uint04 index, uint04 vector_pos, sint04 &value) const override
 
void get (uint04 index, uint04 vector_pos, sint08 &value) const override
 
void get (uint04 index, uint04 vector_pos, String &value) const override
 
void get (uint04 index, uint04 vector_pos, uint01 &value) const override
 
void get (uint04 index, uint04 vector_pos, uint02 &value) const override
 
void get (uint04 index, uint04 vector_pos, uint04 &value) const override
 
void get (uint04 index, uint04 vector_pos, uint08 &value) const override
 
void get (uint04 index, uint08 &value) const override
 
uint04 getRowSize (uint04 index) const override
 
TableColumnStringgetSelected (const Buffer< bool > &selected_indices) const override
 
virtual void insertIndices (uint04 location, uint04 size) override
 
bool isSame (uint04 index, const char *value) const override
 
bool isSame (uint04 index, const String &value) const override
 
virtual void mapFromFile (BinaryFile &file, uint08 version_number) override
 
virtual void removeIndices (const Buffer< uint04 > &offset_lookup_list) override
 
virtual void removeIndices (uint04 location, uint04 size) override
 
void removeRows (uint04 offset, const Buffer< bool > &indices) override
 
void set (uint04 index, bool value) override
 
void set (uint04 index, const String &value) override
 
void set (uint04 index, fltp04 value) override
 
void set (uint04 index, fltp08 value) override
 
void set (uint04 index, RGBColor value) override
 
void set (uint04 index, sint01 value) override
 
void set (uint04 index, sint02 value) override
 
void set (uint04 index, sint04 value) override
 
void set (uint04 index, sint08 value) override
 
void set (uint04 index, uint01 value) override
 
void set (uint04 index, uint02 value) override
 
void set (uint04 index, uint04 value) override
 
void set (uint04 index, uint04 vector_pos, bool value) override
 
void set (uint04 index, uint04 vector_pos, const String &value) override
 
void set (uint04 index, uint04 vector_pos, fltp04 value) override
 
void set (uint04 index, uint04 vector_pos, fltp08 value) override
 
void set (uint04 index, uint04 vector_pos, sint01 value) override
 
void set (uint04 index, uint04 vector_pos, sint02 value) override
 
void set (uint04 index, uint04 vector_pos, sint04 value) override
 
void set (uint04 index, uint04 vector_pos, sint08 value) override
 
void set (uint04 index, uint04 vector_pos, uint01 value) override
 
void set (uint04 index, uint04 vector_pos, uint02 value) override
 
void set (uint04 index, uint04 vector_pos, uint04 value) override
 
void set (uint04 index, uint04 vector_pos, uint08 value) override
 
void set (uint04 index, uint08 value) override
 
void setRowSize (uint04 index, uint04 size) override
 
 TableColumnString (const String &label)
 
uint08 tableHash () const override
 
- Public Member Functions inherited from TableColumnBuffer< String >
virtual void addRow () override
 
const void * begin () const override
 
void * begin () override
 
virtual void compress (BinaryCompressionObject &object) override
 
virtual void copyRow (uint04 source, uint04 destination) override
 
virtual void copyRows (uint04 source, uint04 destination, uint04 size) override
 
const void * end () const override
 
void * end () override
 
void insert (uint04 index) override
 
virtual void insertRows (uint04 location, uint04 size) override
 
virtual void mapToFile (BinaryFile &file, BinaryCompressionObject &object) override
 
virtual void mapToFile (BinaryFile &file, int compression) override
 
void removeRow (uint04 index) override
 
virtual void removeRows (const Buffer< uint04 > &sorted_romove_indices) override
 
virtual void removeRows (uint04 index, uint04 size) override
 
void setSize (uint04 size) override
 
uint04 size () const override
 
 TableColumnBuffer (const Buffer< String > &buffer, const String &label, const TypeInfo type)
 
 TableColumnBuffer (const String &label, const TypeInfo type)
 
 TableColumnBuffer (const String &label, const TypeInfo type, const String &default_value)
 
- Public Member Functions inherited from TableColumn
const Buffer< TableChange > & changes () const
 
Buffer< TableChangechangesSince (const Time &time) const
 
Buffer< TableChangechangesSince (const Time &time, const Bounds< 1, uint04 > &range) const
 
void clearUpdates ()
 
virtual void compressIfNeeded (BinaryCompressionObject &object)
 
BinaryCompressionObjectcompressionObject ()
 
bool compressionValid () const
 
template<class t_class >
t_class get (uint04 index) const
 
void get (uint04 index, BitFlag &bitflag) const
 
template<uint01 t_dims, class t_type >
void get (uint04 index, Bounds< t_dims, t_type > &bounds) const
 
void get (uint04 index, File &file) const
 
virtual void get (uint04 index, Matrix< fltp04 > &transform) const
 
virtual void get (uint04 index, Matrix< fltp08 > &transform) const
 
template<class t_type , uint01 t_col, uint01 t_row>
void get (uint04 index, Matrix< t_type, t_col, t_row > &matrix) const
 
template<class t_class >
std::enable_if< ObjectInfo< t_class >::Enum >::type get (uint04 index, t_class &enum_value) const
 
template<class t_class >
std::enable_if< IsVec< t_class >::value &&t_class::NumberOfDimensions()!=1 >::type get (uint04 index, t_class &vector) const
 
void get (uint04 index, Time &time) const
 
void get (uint04 index, TranslatedString &string) const
 
template<uint01 t_dims, class t_type >
void get (uint04 index, Triangle< t_dims, t_type > &tri) const
 
template<class t_class >
t_class get (uint04 index, uint04 sub_index) const
 
virtual void get (uint04 index, UUID &vector) const
 
template<class t_class >
void get (uint04 index, Vector< 1, t_class > &vector) const
 
void get (uint04 index, Vector< 32, bool > &value) const
 
template<class t_type >
Buffer< t_type > getAll (uint04 start, uint04 size) const
 
template<class t_type >
t_type getDefaultValue () const
 
template<class t_type >
uint04 getIndexOf (const t_type &object) const
 
virtual void getVector (uint04 index, Vector< 1, uint04 > &vector) const
 
virtual void getVector (uint04 index, Vector< 2, uint04 > &vector) const
 
virtual void getVector (uint04 index, Vector< 3, fltp04 > &vector) const
 
virtual void getVector (uint04 index, Vector< 3, fltp08 > &vector) const
 
virtual void getVector (uint04 index, Vector< 3, uint04 > &vector) const
 
template<uint01 t_dims, class t_type >
void getVector (uint04 index, Vector< t_dims, t_type > &value) const
 
bool hasChangesSince (const Time &time, const Bounds< 1, uint04 > &range) const
 
template<class t_type >
void insert (uint04 index, const t_type &value)
 
const Stringlabel () const
 
Time modifiedTime () const
 
template<class t_type >
void set (t_type *values, uint04 start_index, uint04 size)
 
void set (uint04 index, const BitFlag &bitflag)
 
template<uint01 t_dims, class t_type >
void set (uint04 index, const Bounds< t_dims, t_type > &value)
 
virtual void set (uint04 index, const Matrix< fltp04 > &transform)
 
virtual void set (uint04 index, const Matrix< fltp08 > &transform)
 
template<class t_type , uint01 t_col, uint01 t_row>
void set (uint04 index, const Matrix< t_type, t_col, t_row > &matrix)
 
template<class t_class >
std::enable_if< IsVec< t_class >::value >::type set (uint04 index, const t_class &value)
 
template<class t_class >
std::enable_if< ObjectInfo< t_class >::Enum >::type set (uint04 index, const t_class &value)
 
template<class t_class >
std::enable_if<!ObjectInfo< t_class >::Enum &&!IsVec< t_class >::value >::type set (uint04 index, const t_class &value)
 
void set (uint04 index, const Time &time)
 
template<uint01 t_dims, class t_type >
void set (uint04 index, const Triangle< t_dims, t_type > &value)
 
virtual void set (uint04 index, const UUID &value)
 
void set (uint04 index, const Vector< 32, bool > &value)
 
virtual void setAll (uint04 to_location, uint04 from_location, uint04 size, const TableColumn &from_column)
 
template<class t_type >
void setAll (uint04 to_location, uint04 from_location, uint04 size, const TableColumn &from_column)
 
void setCompressionMode (CompressionMode compression_mode)
 
template<class t_type >
void setDefaultValue (const t_type &value)
 
void setLabel (const String &label)
 
template<uint01 t_dims, class t_type >
void setVector (uint04 index, const Vector< t_dims, t_type > &value)
 
 TableColumn (const String &label)
 
 TableColumn (const String &label, const TypeInfo type)
 
virtual TypeInfo type () const
 
void update (const TableChange &change)
 
void updateAll ()
 
void updateCompressionInfo (BinaryCompressionObject &object)
 
virtual void updateFrom (const TableColumn &column)
 
virtual ~TableColumn ()
 

Additional Inherited Members

- Protected Member Functions inherited from TableColumnBuffer< String >
decltype(auto) defaultValue ()
 
decltype(auto) defaultValue () const
 
decltype(auto) pullValue (uint04 index)
 
decltype(auto) pullValue (uint04 index) const
 
- Protected Attributes inherited from TableColumnBuffer< String >
Buffer< Stringm_buffer
 
Buffer< uint01m_compressed_data
 
- Protected Attributes inherited from TableColumn
Buffer< TableChangem_changes
 
uint08 m_compression_hash
 
CompressionMode m_compression_mode = CompressionMode::e_default_compression
 
BinaryCompressionObject m_compression_object
 
bool m_compression_valid
 
String m_label
 
Time m_modified_time
 
TypeInfo m_type
 

Detailed Description

A TableColumnBuffer of Strings.


autotoc_md1006

Constructor & Destructor Documentation

◆ TableColumnString()

TableColumnString ( const String & label)
inline

Member Function Documentation

◆ beginsWith() [1/2]

bool beginsWith ( uint04 index,
const char * value,
bool ignore_case ) const
inlinenodiscardfinaloverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ beginsWith() [2/2]

bool beginsWith ( uint04 index,
const String & value,
bool ignore_case ) const
inlinenodiscardfinaloverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ contains() [1/2]

bool contains ( uint04 index,
const char * value,
bool ignore_case ) const
inlinenodiscardfinaloverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ contains() [2/2]

bool contains ( uint04 index,
const String & value,
bool ignore_case ) const
inlinenodiscardfinaloverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ get() [1/25]

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

Implements TableColumn.

◆ get() [2/25]

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

Implements TableColumn.

◆ get() [3/25]

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

Implements TableColumn.

◆ get() [4/25]

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

Implements TableColumn.

◆ get() [5/25]

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

Implements TableColumn.

◆ get() [6/25]

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

Implements TableColumn.

◆ get() [7/25]

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

Implements TableColumn.

◆ get() [8/25]

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

Implements TableColumn.

◆ get() [9/25]

void get ( uint04 index,
String & value ) const
inlineoverridevirtual

Implements TableColumn.

◆ get() [10/25]

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

Implements TableColumn.

◆ get() [11/25]

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

Implements TableColumn.

◆ get() [12/25]

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

Implements TableColumn.

◆ get() [13/25]

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

Implements TableColumn.

◆ get() [14/25]

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

Implements TableColumn.

◆ get() [15/25]

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

Implements TableColumn.

◆ get() [16/25]

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

Implements TableColumn.

◆ get() [17/25]

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

Implements TableColumn.

◆ get() [18/25]

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

Implements TableColumn.

◆ get() [19/25]

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

Implements TableColumn.

◆ get() [20/25]

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

Implements TableColumn.

◆ get() [21/25]

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

Implements TableColumn.

◆ get() [22/25]

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

Implements TableColumn.

◆ get() [23/25]

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

Implements TableColumn.

◆ get() [24/25]

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

Implements TableColumn.

◆ get() [25/25]

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

Implements TableColumn.

◆ getRowSize()

uint04 getRowSize ( uint04 index) const
inlinenodiscardoverridevirtual

Reimplemented from TableColumn.

◆ getSelected()

TableColumnString * getSelected ( const Buffer< bool > & selected_indices) const
inlineoverridevirtual

Implements TableColumn.

◆ insertIndices()

virtual void insertIndices ( uint04 location,
uint04 size )
inlineoverridevirtual

Implements TableColumn.

◆ isSame() [1/2]

bool isSame ( uint04 index,
const char * value ) const
inlinenodiscardoverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ isSame() [2/2]

bool isSame ( uint04 index,
const String & value ) const
inlinenodiscardoverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ mapFromFile()

virtual void mapFromFile ( BinaryFile & file,
uint08 version_number )
inlineoverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ removeIndices() [1/2]

virtual void removeIndices ( const Buffer< uint04 > & offset_lookup_list)
inlineoverridevirtual

Implements TableColumn.

◆ removeIndices() [2/2]

virtual void removeIndices ( uint04 location,
uint04 size )
inlineoverridevirtual

Implements TableColumn.

◆ removeRows()

void removeRows ( uint04 offset,
const Buffer< bool > & indices )
inlineoverridevirtual

Reimplemented from TableColumnBuffer< String >.

◆ set() [1/25]

void set ( uint04 index,
bool value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [2/25]

void set ( uint04 index,
const String & value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [3/25]

void set ( uint04 index,
fltp04 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [4/25]

void set ( uint04 index,
fltp08 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [5/25]

void set ( uint04 index,
RGBColor value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [6/25]

void set ( uint04 index,
sint01 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [7/25]

void set ( uint04 index,
sint02 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [8/25]

void set ( uint04 index,
sint04 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [9/25]

void set ( uint04 index,
sint08 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [10/25]

void set ( uint04 index,
uint01 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [11/25]

void set ( uint04 index,
uint02 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [12/25]

void set ( uint04 index,
uint04 value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [13/25]

void set ( uint04 index,
uint04 vector_pos,
bool value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [14/25]

void set ( uint04 index,
uint04 vector_pos,
const String & value )
inlineoverridevirtual

Implements TableColumn.

◆ set() [15/25]

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

Implements TableColumn.

◆ set() [16/25]

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

Implements TableColumn.

◆ set() [17/25]

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

Implements TableColumn.

◆ set() [18/25]

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

Implements TableColumn.

◆ set() [19/25]

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

Implements TableColumn.

◆ set() [20/25]

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

Implements TableColumn.

◆ set() [21/25]

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

Implements TableColumn.

◆ set() [22/25]

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

Implements TableColumn.

◆ set() [23/25]

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

Implements TableColumn.

◆ set() [24/25]

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

Implements TableColumn.

◆ set() [25/25]

void set ( uint04 index,
uint08 value )
inlineoverridevirtual

Implements TableColumn.

◆ setRowSize()

void setRowSize ( uint04 index,
uint04 size )
inlineoverridevirtual

Reimplemented from TableColumn.

◆ tableHash()

uint08 tableHash ( ) const
inlineoverridevirtual

Reimplemented from TableColumn.


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