61#ifndef GUM_RAW_DATABASE_TABLE_H
62#define GUM_RAW_DATABASE_TABLE_H
137 template <
typename TX_DATA >
141 template <
typename TX_DATA >
145 template <
typename TX_DATA >
179 const std::vector< std::string >& var_names);
250 const
bool from_external_object = true) final;
308#ifndef DOXYGEN_SHOULD_SKIP_THIS
315 DBCell _convert_(
const std::string& elt)
const;
The common class for the tabular database tables.
The class representing the original values of the cells of databases.
the safe handler of the tabular databases
the (unsafe) handler for the tabular databases
IDatabaseTable(const MissingValType &missing_symbols, const std::vector< std::string > &var_names)
typename IDatabaseTable< DBCell >::Handler Handler
the unsafe handler type
std::vector< std::string > MissingValType
value_type * pointer
Types for STL compliance.
RawDatabaseTable(RawDatabaseTable &&from)
move constructor
std::ptrdiff_t difference_type
Types for STL compliance.
Handler iterator
Types for STL compliance.
virtual void clear() final
erase the content of the database, including the names of the variables
DBRow< TX_DATA > Row
a row of the database
typename IDatabaseTable< DBCell >::IsMissing IsMissing
const value_type * const_pointer
Types for STL compliance.
virtual RawDatabaseTable * clone() const final
virtual copy constructor
HandlerSafe iterator_safe
Types for STL compliance.
Row< DBCell > value_type
Types for STL compliance.
void insertRow(const std::vector< std::string > &new_row) final
insert a new row at the end of the database
DBVector< Row< TX_DATA > > Matrix
the type for the matrices stored into the database
const DBVector< std::size_t > ignoredColumns() const final
returns the set of columns of the original dataset that are ignored
std::size_t size_type
Types for STL compliance.
value_type & reference
Types for STL compliance.
RawDatabaseTable(const MissingValType &missing_symbols)
default constructor
RawDatabaseTable(const MissingValType &missing_symbols, const std::vector< std::string > &var_names)
default constructor
RawDatabaseTable()
default constructor
RawDatabaseTable(const RawDatabaseTable &from)
copy constructor
void ignoreColumn(const std::size_t k, const bool from_external_object=true) final
makes the database table ignore from now on the kth column
void setVariableNames(const std::vector< std::string > &names, const bool from_external_object=true) final
sets the names of the variables
std::vector< TX_DATA > DBVector
the type for the vectors used in the RawDatabaseTable
const DBVector< std::size_t > inputColumns() const final
returns the set of columns of the original dataset that are present in the RawDatabaseTable
const value_type & const_reference
Types for STL compliance.
typename IDatabaseTable< DBCell >::HandlerSafe HandlerSafe
the safe handler type
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities
The implementation of raw tabular databases stored in memory (RAM).