tool/Command.h
branch1.4-foe
changeset 1707 11ec009e145d
parent 1166 006244d53f68
child 1363 11c0b2caa253
equal deleted inserted replaced
1706:c55ebaa206f8 1707:11ec009e145d
    68         int getDomain() const;
    68         int getDomain() const;
    69         void setDataType(const string &);
    69         void setDataType(const string &);
    70         const string &getDataType() const;
    70         const string &getDataType() const;
    71 		void setForce(bool);
    71 		void setForce(bool);
    72 		bool getForce() const;
    72 		bool getForce() const;
       
    73 		void setOutputFile(const string &);
       
    74 		const string &getOutputFile() const;
    73 
    75 
    74         bool matchesSubstr(const string &) const;
    76         bool matchesSubstr(const string &) const;
    75         bool matchesAbbrev(const string &) const;
    77         bool matchesAbbrev(const string &) const;
    76 
    78 
    77         virtual string helpString() const = 0;
    79         virtual string helpString() const = 0;
   104         int alias;
   106         int alias;
   105         int position;
   107         int position;
   106 		int domain;
   108 		int domain;
   107 		string dataType;
   109 		string dataType;
   108 		bool force;
   110 		bool force;
       
   111 		string outputFile;
   109 
   112 
   110         Command();
   113         Command();
   111 };
   114 };
   112 
   115 
   113 /****************************************************************************/
   116 /****************************************************************************/
   166     return force;
   169     return force;
   167 }
   170 }
   168 
   171 
   169 /****************************************************************************/
   172 /****************************************************************************/
   170 
   173 
       
   174 inline const string &Command::getOutputFile() const
       
   175 {
       
   176     return outputFile;
       
   177 }
       
   178 
       
   179 /****************************************************************************/
       
   180 
   171 #endif
   181 #endif