26#ifndef DOXYGEN_SHOULD_SKIP_THIS
100 return static_cast< const DatabaseTable&
>(
_handler_.database());
123 const std::vector< std::size_t >& cols_of_interest) {
the class used to read a row in the database and to transform it into a set of DBRow instances that c...
void reset()
resets the parser
std::size_t _generator_size_
the size of the generator set
const DatabaseTable & database() const
returns a reference on the database
DBRowGeneratorParser & operator=(const DBRowGeneratorParser &from)
copy operator
bool hasRows()
returns true if there are still rows that can be output by the DBRowGeneratorParser
void setRange(std::size_t begin, std::size_t end)
sets the area in the database the handler will handle
void setColumnsOfInterest(const std::vector< std::size_t > &cols_of_interest)
sets the columns of interest: the output DBRow needs only contain values fot these columns
DBRowGeneratorSet _generator_set_
the set of DBRow generators (might be empty)
DatabaseTable::Handler _handler_
the handler that is really used to parse the database
DBRowGeneratorSet & generatorSet()
returns the generator set that is actually used
const DBRow< DBTranslatedValue > & row()
returns a new output row with its corresponding weight
DatabaseTable::Handler & handler()
returns the handler used by the parser
The class used to pack sets of generators.
The class for storing a record in a database.
The class representing a tabular database as used by learning tasks.
typename IDatabaseTable< DBTranslatedValue >::Handler Handler
the unsafe handler type
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities