00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
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 }