VariableDef.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 "Variable.h"
00026 #include "VariableDef.h"
00027 
00028 
00029 namespace makefile
00030 {
00031 
00032 string VariableDef::toString()
00033 {
00034         return string((variable.getExport() ? "export " : "") + variable.getName() +
00035                         cstr("=") + variable.getquotedValue() + cstr('\n'));
00036 }
00037 
00038 }

Generated on Thu Apr 17 01:25:41 2014 for Hugintrunk by  doxygen 1.3.9.1