AutoVariable.h

Go to the documentation of this file.
00001 /*
00002 This file is part of hugin.
00003 
00004 hugin is free software: you can redistribute it and/or modify
00005 it under the terms of the GNU General Public License as published by
00006 the Free Software Foundation, either version 2 of the License, or
00007 (at your option) any later version.
00008 
00009 hugin is distributed in the hope that it will be useful,
00010 but WITHOUT ANY WARRANTY; without even the implied warranty of
00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00012 GNU General Public License for more details.
00013 
00014 You should have received a copy of the GNU General Public License
00015 along with hugin.  If not, see <http://www.gnu.org/licenses/>.
00016 */
00017 
00025 #ifndef AUTOVARIABLE_H_
00026 #define AUTOVARIABLE_H_
00027 
00028 
00029 #include "Variable.h"
00030 
00031 namespace makefile
00032 {
00039 class MAKEIMPEX AutoVariable: public makefile::Variable
00040 {
00042         virtual int checkStrings();
00043 public:
00044         AutoVariable(string name)
00045         : Variable(name)
00046         {
00047                 checkStrings();
00048         }
00049         virtual ~AutoVariable()
00050         {};
00051 
00053         virtual const string getValue();
00054         virtual const string getquotedValue();
00055         virtual const std::vector<string>& getValues();
00056 
00058         virtual VariableDef& getDef();
00059 };
00060 
00061 }
00062 
00063 #endif /* AUTOVARIABLE_H_ */

Generated on 22 Oct 2014 for Hugintrunk by  doxygen 1.4.7