Defines | Functions
decision_making_parser.cpp File Reference
#include "Parsers.h"
#include "ParserExceptions.h"
#include <sstream>
Include dependency graph for decision_making_parser.cpp:

Go to the source code of this file.

Defines

#define CREATE_PARSERS
#define SearchFlag(NAME)   searchFlag(argc, argv, NAME)
#define SearchValue(NAME)   searchValue(argc, argv, NAME)

Functions

int main (int argc, char **argv)
bool parseToDot (std::ostream &parsing_result, std::ostream &errors, std::string file)
bool parseToDot (std::string result_prefix, std::ostream &errors, std::string file)
bool parseToXml (std::ostream &parsing_result, std::ostream &errors, std::string file)
bool parseToXml (std::string result_prefix, std::ostream &errors, std::string file)
int searchFlag (int argc, char **argv, string name)
int searchValue (int argc, char **argv, string name)
vector< string > split (string text, char del=':')

Define Documentation

#define CREATE_PARSERS
Value:
BTParser* btparser = 0;\
        FSMParser* fsmparser = 0;\
        TAOParser* taoparser = 0;\
        struct GC{\
                BTParser*& btparser;\
                FSMParser*& fsmparser;\
                TAOParser*& taoparser;\
                std::string file;\
                GC(BTParser*& btparser, FSMParser*& fsmparser, TAOParser*& taoparser, std::string file):\
                        btparser(btparser), fsmparser(fsmparser), taoparser(taoparser), file(file)\
                {\
                        btparser = createBT(file);\
                        fsmparser = createFSM(file);\
                        taoparser = createTAO(file);\
                }\
                ~GC(){\
                        del(btparser);\
                        del(fsmparser);\
                        del(taoparser);\
                }\
        } gc(btparser, fsmparser, taoparser, file);

Definition at line 16 of file decision_making_parser.cpp.

#define SearchFlag (   NAME)    searchFlag(argc, argv, NAME)

Definition at line 174 of file decision_making_parser.cpp.

#define SearchValue (   NAME)    searchValue(argc, argv, NAME)

Definition at line 182 of file decision_making_parser.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 189 of file decision_making_parser.cpp.

bool parseToDot ( std::ostream &  parsing_result,
std::ostream &  errors,
std::string  file 
)

Definition at line 101 of file decision_making_parser.cpp.

bool parseToDot ( std::string  result_prefix,
std::ostream &  errors,
std::string  file 
)

Definition at line 128 of file decision_making_parser.cpp.

bool parseToXml ( std::ostream &  parsing_result,
std::ostream &  errors,
std::string  file 
)

Definition at line 39 of file decision_making_parser.cpp.

bool parseToXml ( std::string  result_prefix,
std::ostream &  errors,
std::string  file 
)

Definition at line 70 of file decision_making_parser.cpp.

int searchFlag ( int  argc,
char **  argv,
string  name 
)

Definition at line 175 of file decision_making_parser.cpp.

int searchValue ( int  argc,
char **  argv,
string  name 
)

Definition at line 183 of file decision_making_parser.cpp.

vector<string> split ( string  text,
char  del = ':' 
)

Definition at line 157 of file decision_making_parser.cpp.



decision_making_parser
Author(s):
autogenerated on Wed Aug 26 2015 11:16:57