00001
00002
00003
00004 #ifndef INTERPRETCOMMANDLINE_HEADER
00005 #define INTERPRETCOMMANDLINE_HEADER
00006
00007 #include "CCP4base.hh"
00008
00009 namespace phaser_io {
00010
00011 class InterpretCommandLine : public InputBase, virtual public CCP4base
00012
00013
00014
00015
00016
00017 {
00018 public:
00019 InterpretCommandLine(int argc, char* argv[]);
00020 InterpretCommandLine(Preprocessor& CommandLine);
00021 Token_value parse(std::istringstream&) {return END;}
00022 void analyse(void) {}
00023
00024 std::string getHKLIN1();
00025 std::vector<std::string> getHKLIN();
00026 std::string getXDSIN();
00027 std::string getSCAIN();
00028 std::string getHKLREF();
00029 std::string getHKLOUT();
00030 std::string getXMLOUT();
00031 std::string getXYZIN();
00032
00033 bool CopyFlag() const {return copy;}
00034 private:
00035 std::vector<std::string> HklinNames;
00036 std::string XDSinName;
00037 std::string SCAinName;
00038 std::string HklrefName;
00039 std::string HkloutName;
00040 std::string XmloutName;
00041 std::string XyzinName;
00042
00043 bool copy;
00044
00045 void initialise(Preprocessor& CommandLine);
00046 };
00047
00048 }
00049 #endif