Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-04-19 09:09:51

0001 #ifndef ATOOLS_Org_Command_Line_Interface_H
0002 #define ATOOLS_Org_Command_Line_Interface_H
0003 
0004 #include "ATOOLS/Org/Yaml_Reader.H"
0005 
0006 #include "ATOOLS/Org/MyStrStream.H"
0007 
0008 namespace ATOOLS {
0009 
0010   namespace Option_Parser {
0011     class Option;
0012     class Parser;
0013   }
0014 
0015   class Command_Line_Interface : public Yaml_Reader {
0016 
0017     public:
0018 
0019       Command_Line_Interface(int argc, char* argv[]);
0020 
0021     private:
0022 
0023       void Parse(int argc, char* argv[]);
0024       bool ParseOptions(std::vector<Option_Parser::Option>&);
0025       bool ParseNoneOptions(Option_Parser::Parser&);
0026 
0027       void PrintUsageAndExit();
0028 
0029       MyStrStream m_yamlstream;
0030 
0031   };
0032 
0033 }
0034 
0035 #endif