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>
GetAttribute(
const std::string& key,
const std::string& exp);
63 std::vector<std::string>
GetAttribute(
const std::string& key,
const std::vector<std::string>& exp);
92 std::vector<std::string>
GetKeyList(
const std::string& exp);
93 std::vector<std::string>
GetKeyList(
const std::vector<std::string>& exp);
This class check the validity of a command line application.
std::string GetAttributeAsString(const std::string &key, const std::string &exp)
std::string GetPathsAsString(const std::string &exp)
std::vector< std::string > GetKeyList(const std::string &exp)
CommandLineParser::ParseResultType GetModuleName(std::string &modName, const std::vector< std::string > &exp)
itk::SmartPointer< Self > Pointer
std::vector< std::string > GetAttribute(const std::string &key, const std::vector< std::string > &exp)
CommandLineParser::ParseResultType GetPaths(std::vector< std::string > &paths, const std::string &exp)
bool IsAValidKey(const std::string &foundKey)
void operator=(const CommandLineParser &)=delete
~CommandLineParser() override
bool IsAttributeExists(const std::string &key, const std::vector< std::string > &exp)
CommandLineParser::ParseResultType GetModuleName(std::string &modName, const std::string &exp)
std::vector< std::string > GetKeyList(const std::vector< std::string > &exp)
CommandLineParser::ParseResultType GetPaths(std::vector< std::string > &paths, const std::vector< std::string > &exp)
bool IsAttributeExists(const std::string &key, const std::string &exp)
std::vector< std::string > GetAttribute(const std::string &key, const std::string &exp)
std::string GetAttributeAsString(const std::string &key, const std::vector< std::string > &exp)
itk::SmartPointer< const Self > ConstPointer
std::string GetPathsAsString(const std::vector< std::string > &vexp)
CommandLineParser(const CommandLineParser &)=delete
The "otb" namespace contains all Orfeo Toolbox (OTB) classes.