Project

General

Profile

Statistics
| Branch: | Revision:

root / src / nedxml / nedxmlparser.h @ 68da4f12

History | View | Annotate | Download (937 Bytes)

1
//==========================================================================
2
//  NEDXMLPARSER.H - part of
3
//
4
//                     OMNeT++/OMNEST
5
//            Discrete System Simulation in C++
6
//
7
//==========================================================================
8

    
9
/*--------------------------------------------------------------*
10
  Copyright (C) 2002-2008 Andras Varga
11
  Copyright (C) 2006-2008 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 __NEDXMLPARSER_H
19
#define __NEDXMLPARSER_H
20

    
21
#include "nedelement.h"
22
#include "nederror.h"
23

    
24
NAMESPACE_BEGIN
25

    
26
/**
27
 * Simple front-end to NED XML parsing: invokes SAXParser with NEDSAXHandler.
28
 *
29
 * @ingroup XMLParser
30
 */
31
NEDXML_API NEDElement *parseXML(const char *filename, NEDErrorStore *errors);
32

    
33
NAMESPACE_END
34

    
35

    
36
#endif
37