aGrUM
3.2.0
a C++ library for (probabilistic) graphical models
Toggle main menu visibility
DBRowGeneratorParser.cpp
Go to the documentation of this file.
1
20
27
28
#include <
agrum/base/database/DBRowGeneratorParser.h
>
29
30
#ifndef DOXYGEN_SHOULD_SKIP_THIS
31
33
# ifdef GUM_NO_INLINE
34
# include <
agrum/base/database/DBRowGeneratorParser_inl.h
>
35
# endif
/* GUM_NO_INLINE */
36
37
namespace
gum
{
38
39
namespace
learning
{
40
42
DBRowGeneratorParser::DBRowGeneratorParser
(
const
typename
DatabaseTable::Handler
& handler,
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 */
DBRowGeneratorParser.h
The class for parsing DatabaseTable rows and generating output rows.
DBRowGeneratorParser_inl.h
Template implementation of the DBRowGeneratorParser class.
gum::learning::DBRowGeneratorParser::DBRowGeneratorParser
DBRowGeneratorParser(const typename DatabaseTable::Handler &handler, const DBRowGeneratorSet &generator_set)
default constructor
gum::learning::DBRowGeneratorSet
The class used to pack sets of generators.
Definition
DBRowGeneratorSet.h:129
gum::learning::DatabaseTable::Handler
typename IDatabaseTable< DBTranslatedValue >::Handler Handler
the unsafe handler type
Definition
databaseTable.h:217
gum::learning
include the inlined functions if necessary
Definition
CSVParser.h:55
gum
gum is the global namespace for all aGrUM entities
Definition
agrum.h:46
std
STL namespace.
aGrUM
3.2.0
© PHW&CG&others - 2022
DoXyGeN 1.18.0