PetaVision  Alpha
ConfigFileArguments.hpp
1 /*
2  * ConfigFileArguments.hpp
3  *
4  * Created on: Nov 28, 2016
5  * Author: pschultz
6  */
7 
8 #ifndef CONFIGFILEARGUMENTS_HPP_
9 #define CONFIGFILEARGUMENTS_HPP_
10 
11 #include "Arguments.hpp"
12 #include "arch/mpi/mpi.h"
13 
14 namespace PV {
15 
21  public:
28  std::string const &configFile,
29  MPI_Comm communicator,
30  bool allowUnrecognizedArguments);
31 
35  virtual ~ConfigFileArguments() {}
36 
47  void resetState(
48  std::string const &configFile,
49  MPI_Comm communicator,
50  bool allowUnrecognizedArguments);
51 
52  protected:
56  int initialize(
57  std::string const &configFile,
58  MPI_Comm communicator,
59  bool allowUnrecognizedArguments);
60 
61  private:
66  int initialize_base();
67 };
68 
69 } /* namespace PV */
70 
71 #endif /* CONFIGFILEARGUMENTS_HPP_ */
void resetState()
Definition: Arguments.cpp:38
ConfigFileArguments(std::string const &configFile, MPI_Comm communicator, bool allowUnrecognizedArguments)
int initialize(std::string const &configFile, MPI_Comm communicator, bool allowUnrecognizedArguments)