ParseExp.h

Go to the documentation of this file.
00001 // -*- c-basic-offset: 4 -*-
00002 
00011 /*  This program is free software; you can redistribute it and/or
00012  *  modify it under the terms of the GNU General Public
00013  *  License as published by the Free Software Foundation; either
00014  *  version 2 of the License, or (at your option) any later version.
00015  *
00016  *  This software is distributed in the hope that it will be useful,
00017  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
00018  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00019  *  General Public License for more details.
00020  *
00021  *  You should have received a copy of the GNU General Public
00022  *  License along with this software. If not, see
00023  *  <http://www.gnu.org/licenses/>.
00024  *
00025  */
00026 
00027 #ifndef PARSEEXP_H
00028 #define PARSEEXP_H
00029 #include <map>
00030 #include <string>
00031 #include "hugin_config.h"
00032 
00033 namespace Parser
00034 {
00035 typedef std::map<std::string, double> ConstantMap;
00036 
00037 bool ParseExpression(const std::string& expression, double& result, const ConstantMap& constants = ConstantMap());
00038 void CleanUpParser();
00039 };
00040 
00041 #endif

Generated on 4 May 2016 for Hugintrunk by  doxygen 1.4.7