aGrUM  0.16.0
IDReader.h
Go to the documentation of this file.
1 
33 #ifndef GUM_ID_READER_H
34 #define GUM_ID_READER_H
35 
37 #include <agrum/agrum.h>
38 #include <iostream>
39 #include <string>
40 
41 namespace gum {
42 
51  template < typename GUM_SCALAR >
52  class IDReader {
53  public:
59  IDReader(InfluenceDiagram< GUM_SCALAR >* infdiag, const std::string& filePath);
60 
64  virtual ~IDReader();
65 
72  virtual void proceed() = 0;
73  };
74 
75 } /* namespace gum */
76 
77 #include "IDReader_tpl.h"
78 
79 #endif // GUM_ID_READER_H
virtual void proceed()=0
Reads the influence diagram from the file referenced by filePath given at the creation of class...
IDReader(InfluenceDiagram< GUM_SCALAR > *infdiag, const std::string &filePath)
Constructor A reader is created to reading a defined file.
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.
virtual ~IDReader()
Default destructor.
Copyright 2005-2019 Pierre-Henri WUILLEMIN et Christophe GONZALES (LIP6) {prenom.nom}_at_lip6.fr.
Definition: agrum.h:25
Pure virtual class for importing an ID from a file.
Definition: IDReader.h:52
Class representing an Influence Diagram.