OS  2.10.2
OSiLReader.h
Go to the documentation of this file.
1 /* $Id: OSiLReader.h 5284 2017-12-08 13:52:50Z stefan $ */
17 #ifndef OSILREADER_H
18 #define OSILREADER_H
19 
20 #include "OSInstance.h"
21 #include "OSiLParserData.h"
22 #include "OSgLParserData.h"
23 #include "OSnLParserData.h"
24 #include "OSErrorClass.h"
25 
26 #include <string>
27 
28 
38 {
39 
40 public:
41 
45  OSiLReader( );
46 
50  ~OSiLReader();
51 
60  OSInstance* readOSiL(const std::string& osil)
61 #if __cplusplus < 201100
62  throw(ErrorClass)
63 #endif
64  ;
65 
66 
67 private:
71  OSInstance *m_osinstance;
72 
75  OSiLParserData *m_parserData;
76 
80  OSgLParserData *m_osglData;
81 
85  OSnLParserData *m_osnlData;
86 };
87 
88 
89 
90 #endif
OSiLReader
Used to read an OSiL string.
Definition: OSiLReader.h:37
OSErrorClass.h
OSnLParserData
The OSnLParserData Class.
Definition: OSnLParserData.h:29
OSInstance
The in-memory representation of an OSiL instance..
Definition: OSInstance.h:2262
OSgLParserData
The OSgLParserData Class.
Definition: OSgLParserData.h:33
OSInstance.h
This file defines the OSInstance class along with its supporting classes.
OSnLParserData.h
OSgLParserData.h
OSiLParserData.h
ErrorClass
used for throwing exceptions.
Definition: OSErrorClass.h:31
OSiLParserData
The OSiLParserData Class, used to store parser data.
Definition: OSiLParserData.h:34
OSiLReader::OSiLReader
OSiLReader()
Default constructor.
OSiLReader::readOSiL
OSInstance * readOSiL(const std::string &osil)
parse the OSiL model instance.
OSiLReader::~OSiLReader
~OSiLReader()
Class destructor.