aGrUM 2.3.2
a C++ library for (probabilistic) graphical models
DBRowGeneratorParser.cpp
Go to the documentation of this file.
1
20
27
29
30#ifndef DOXYGEN_SHOULD_SKIP_THIS
31
33# ifdef GUM_NO_INLINE
35# endif /* GUM_NO_INLINE */
36
37namespace gum {
38
39 namespace learning {
40
43 const DBRowGeneratorSet& generator_set) :
44 _handler_(handler),
45 _generator_set_(generator_set), _generator_size_(generator_set.size()) {
46 GUM_CONSTRUCTOR(DBRowGeneratorParser);
47 }
48
49
51 DBRowGeneratorParser::DBRowGeneratorParser(const DBRowGeneratorParser& from) :
52 _handler_(from._handler_), _generator_set_(from._generator_set_),
53 _generator_size_(from._generator_size_) {
54 GUM_CONS_CPY(DBRowGeneratorParser);
55 }
56
57
59 DBRowGeneratorParser::DBRowGeneratorParser(DBRowGeneratorParser&& from) :
60 _handler_(std::move(from._handler_)), _generator_set_(std::move(from._generator_set_)),
61 _generator_size_(from._generator_size_) {
62 GUM_CONS_MOV(DBRowGeneratorParser);
63 }
64
65
67 DBRowGeneratorParser* DBRowGeneratorParser::clone() const {
68 return new DBRowGeneratorParser(*this);
69 }
70
71
73 DBRowGeneratorParser::~DBRowGeneratorParser() { GUM_DESTRUCTOR(DBRowGeneratorParser); }
74
75 } /* namespace learning */
76
77} /* namespace gum */
78
79#endif /* DOXYGEN_SHOULD_SKIP_THIS */
The class for parsing DatabaseTable rows and generating output rows.
Template implementation of the DBRowGeneratorParser class.
DBRowGeneratorParser(const typename DatabaseTable::Handler &handler, const DBRowGeneratorSet &generator_set)
default constructor
The class used to pack sets of generators.
typename IDatabaseTable< DBTranslatedValue >::Handler Handler
the unsafe handler type
include the inlined functions if necessary
Definition CSVParser.h:54
gum is the global namespace for all aGrUM entities
Definition agrum.h:46
STL namespace.