OMNeT++ NEDXML  6.0.3
xmlastparser.h
Go to the documentation of this file.
1 //==========================================================================
2 // XMLASTPARSER.H - part of
3 //
4 // OMNeT++/OMNEST
5 // Discrete System Simulation in C++
6 //
7 //==========================================================================
8 
9 /*--------------------------------------------------------------*
10  Copyright (C) 2002-2017 Andras Varga
11  Copyright (C) 2006-2017 OpenSim Ltd.
12 
13  This file is distributed WITHOUT ANY WARRANTY. See the file
14  `license' for details on this and other legal matters.
15 *--------------------------------------------------------------*/
16 
17 
18 #ifndef __OMNETPP_NEDXML_XMLASTPARSER_H
19 #define __OMNETPP_NEDXML_XMLASTPARSER_H
20 
21 #include "errorstore.h"
22 #include "astnode.h"
23 
24 namespace omnetpp {
25 namespace nedxml {
26 
33 NEDXML_API ASTNode *parseXML(const char *filename, ErrorStore *errors);
34 
35 } // namespace nedxml
36 } // namespace omnetpp
37 
38 
39 #endif
40 
astnode.h
NEDXML_API
#define NEDXML_API
Definition: nedxmldefs.h:31
omnetpp::nedxml::parseXML
NEDXML_API ASTNode * parseXML(const char *filename, ErrorStore *errors)
Simple front-end to load an AST from an XML file. Invokes SAXParser with ASTBuilder.
omnetpp
Definition: astbuilder.h:25
errorstore.h