21 #ifndef otbWrapperCommandLineParser_h
22 #define otbWrapperCommandLineParser_h
24 #include "itkObjectFactory.h"
59 typedef enum { OK, NOMODULENAME, MULTIPLEMODULENAME, INVALIDMODULENAME, NOMODULEPATH, INVALIDMODULEPATH, DEFAULT } ParseResultType;
62 std::vector<std::string> GetAttribut(
const std::string& key,
const std::string& exp);
63 std::vector<std::string> GetAttribut(
const std::string& key,
const std::vector<std::string>& exp);
66 std::string GetAttributAsString(
const std::string& key,
const std::string& exp);
67 std::string GetAttributAsString(
const std::string& key,
const std::vector<std::string>& exp);
70 bool IsAttributExists(
const std::string &key,
const std::string& exp);
71 bool IsAttributExists(
const std::string &key,
const std::vector<std::string>& exp);
80 std::string GetPathsAsString(
const std::string& exp);
81 std::string GetPathsAsString(
const std::vector<std::string>&
vexp);
92 std::vector<std::string> GetKeyList(
const std::string& exp);
93 std::vector<std::string> GetKeyList(
const std::vector<std::string>& exp);
109 bool IsAValidKey(
const std::string& foundKey);
117 #endif // otbWrapperCommandLineParser_h_