32 #ifndef DOXYGEN_SHOULD_SKIP_THIS 35 # include <agrum/BN/io/DSL/cocoR/Parser.h> 36 #endif // DOXYGEN_SHOULD_SKIP_THIS 51 template <
typename GUM_SCALAR >
132 #ifndef GUM_NO_EXTERN_TEMPLATE_CLASS 140 #endif // DSLREADER_H Class representing a Bayesian Network.
Size errors()
publishing Errors API
void showErrorCounts(std::ostream &o=std::cerr)
send on std::cerr the number of errors and the number of warnings
bool errIsError(Idx i)
type of ith error or warning
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Idx errLine(Idx i)
line of ith error or warning
Pure virtual class for reading a BN from a file.
Pure virtual class for reading a BN from a file.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
const std::string & streamName() const
name of readen file
std::string errMsg(Idx i)
message of ith error or warning
bool trace() const
accessor to trace function (just write the number of parser line)
~DSLReader() final
Default destructor.
void showErrorsAndWarnings(std::ostream &o=std::cerr)
send on std::cerr the list of errors or warnings
DSL::Scanner & scanner()
Direct access to DSL scanner (mandatory for listener connection)
Idx errCol(Idx i)
col of ith error or warning
Size proceed() final
parse.
void showElegantErrorsAndWarnings(std::ostream &o=std::cerr)
send on std::cerr the list of errors or warnings with contents
Size Idx
Type for indexes.
BayesNet< GUM_SCALAR > * __bn
std::size_t Size
In aGrUM, hashed values are unsigned long int.
DSLReader(BayesNet< GUM_SCALAR > *bn, const std::string &filename)
Constructor A reader is defined for reading a defined file.
void showElegantErrors(std::ostream &o=std::cerr)
send on std::cerr the list of errorswith contents
A factory class to ease BayesNet construction.
BayesNetFactory< GUM_SCALAR > * __factory