"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Interface/MacroManager.h" between
getdp-3.4.0-source.tgz and getdp-3.5.0-source.tgz

About: GetDP is a general finite element solver using mixed elements to discretize de Rham-type complexes in one, two and three dimensions.

MacroManager.h  (getdp-3.4.0-source.tgz):MacroManager.h  (getdp-3.5.0-source.tgz)
skipping to change at line 16 skipping to change at line 16
#ifndef MACRO_MANAGER_H #ifndef MACRO_MANAGER_H
#define MACRO_MANAGER_H #define MACRO_MANAGER_H
#include <string> #include <string>
// Singleton, one macro manager for all parsers. // Singleton, one macro manager for all parsers.
class MacroManagerStack; class MacroManagerStack;
class MacroManagerMap; class MacroManagerMap;
class MacroManager class MacroManager {
{ private:
private:
MacroManagerMap *_macros; MacroManagerMap *_macros;
MacroManagerStack *_calls; MacroManagerStack *_calls;
MacroManager(); MacroManager();
static MacroManager *_instance; static MacroManager *_instance;
public :
public:
static MacroManager *Instance(); static MacroManager *Instance();
void clear(); void clear();
// macro in a file that is (being) parsed // macro in a file that is (being) parsed
int createMacro(const std::string &name, FILE *f, int createMacro(const std::string &name, FILE *f, const std::string &filename,
const std::string &filename, long int lineno); long int lineno);
int leaveMacro(FILE **f, std::string &filename, long int &lineno); int leaveMacro(FILE **f, std::string &filename, long int &lineno);
int enterMacro(const std::string &name, FILE **f, int enterMacro(const std::string &name, FILE **f, std::string &filename,
std::string &filename, long int &lineno) const; long int &lineno) const;
// explicit macro as a string // explicit macro as a string
int createStringMacro(const std::string &name, const std::string &value); int createStringMacro(const std::string &name, const std::string &value);
int enterStringMacro(const std::string &name) const; int enterStringMacro(const std::string &name) const;
}; };
#endif #endif
 End of changes. 4 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)