PetaVision  Alpha
CommandLineArguments.hpp
1 /*
2  * PVArguments.hpp
3  *
4  * Created on: Sep 21, 2015
5  * Author: pschultz
6  */
7 
8 #ifndef COMMANDLINEARGUMENTS_HPP_
9 #define COMMANDLINEARGUMENTS_HPP_
10 
11 #include "Arguments.hpp"
12 #include <vector>
13 
14 namespace PV {
15 
23  public:
31  CommandLineArguments(int argc, char const *const *argv, bool allowUnrecognizedArguments);
32 
33  /*
34  * The destructor for CommandLineArguments.
35  */
36  virtual ~CommandLineArguments() {}
37 
84  void resetState(int argc, char const *const *argv, bool allowUnrecognizedArguments);
85 
86  private:
91  int initialize_base();
92 
97  int initialize(int argc, char const *const *argv, bool allowUnrecognizedArguments);
98 };
99 
100 } /* namespace PV */
101 
102 #endif /* COMMANDLINEARGUMENTS_HPP_ */
CommandLineArguments(int argc, char const *const *argv, bool allowUnrecognizedArguments)
void resetState()
Definition: Arguments.cpp:38
int initialize(int argc, char const *const *argv, bool allowUnrecognizedArguments)