xmlastparser.h Source File

NEDXML API: xmlastparser.h Source File
NEDXML API
xmlastparser.h
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
24namespace omnetpp {
25namespace nedxml {
26
33NEDXML_API ASTNode *parseXML(const char *filename, ErrorStore *errors);
34
35} // namespace nedxml
36} // namespace omnetpp
37
38
39#endif
40
Definition astnode.h:88
Definition errorstore.h:38
NEDXML_API ASTNode * parseXML(const char *filename, ErrorStore *errors)
Simple front-end to load an AST from an XML file. Invokes SAXParser with ASTBuilder.