AutoVariable.cpp

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 #include "AutoVariable.h"
00026 #include <stdexcept>
00027 
00028 namespace makefile
00029 {
00030 int AutoVariable::checkStrings()
00031 {
00032         return 0;
00033 }
00034 
00035 const string AutoVariable::getValue()
00036 {
00037         throw(std::runtime_error("AutoVariables have no predefined value."));
00038 }
00039 const string AutoVariable::getquotedValue()
00040 {
00041         return getValue();
00042 }
00043 const std::vector<string>& AutoVariable::getValues()
00044 {
00045         throw(std::runtime_error("AutoVariables have no predefined value."));
00046 }
00047 
00048 VariableDef& AutoVariable::getDef()
00049 {
00050         throw(std::runtime_error("AutoVariables can not be defined."));
00051 }
00052 
00053 }

Generated on Thu Oct 2 01:25:40 2014 for Hugintrunk by  doxygen 1.3.9.1