00001 00017 #ifndef OSNL2OSIL_H 00018 #define OSNL2OSIL_H 00019 00020 00021 00022 #include "OSInstance.h" 00023 #include "OSnLNode.h" 00024 #include <string> 00025 00026 00040 struct ograd; 00041 struct ASL; 00042 struct expr; 00043 00044 00045 class OSnl2osil 00046 { 00047 public: 00049 OSnl2osil( std::string nlfilename); 00050 00052 ~OSnl2osil(); 00053 00059 bool createOSInstance(); 00060 00066 OSnLNode* walkTree(expr *e); 00067 00071 OSInstance *osinstance; 00072 private: 00073 00077 ograd *og; 00078 00081 ASL *asl; 00082 00085 FILE *nl; 00086 00089 char *stub; 00090 00091 }; 00092 #endif