25 #ifndef GUM_LEARNING_DBROW_GENERATOR_IDENTITY_H 26 #define GUM_LEARNING_DBROW_GENERATOR_IDENTITY_H 72 template <
template <
typename >
class ALLOC = std::allocator >
155 #ifndef DOXYGEN_SHOULD_SKIP_THIS ALLOC< DBTranslatedValue > allocator_type
type for the allocators passed in arguments of methods
The base class for all DBRow generators.
allocator_type getAllocator() const
returns the allocator used
DBRowGeneratorIdentity(const std::vector< DBTranslatedValueType, ALLOC< DBTranslatedValueType > > column_types, const allocator_type &alloc=allocator_type())
default constructor
virtual DBRowGeneratorIdentity< ALLOC > * clone() const override final
virtual copy constructor
A filtered row generator that returns exactly the rows it gets in input.
gum is the global namespace for all aGrUM entities
The union class for storing the translated values in learning databases.
virtual std::size_t _computeRows(const DBRow< DBTranslatedValue, ALLOC > &row) final
computes the rows it will provide as output
DBTranslatedValueType
The nature of the elements handled by translators (discrete, continuous).
A DBRowGenerator class that returns exactly the rows it gets in input.
The class for storing a record in a database.
virtual const DBRow< DBTranslatedValue, ALLOC > & generate() final
generates one ouput DBRow for each DBRow passed to method setInputRow
The base class for all DBRow generators.
ALLOC< DBTranslatedValue > allocator_type
type for the allocators passed in arguments of methods