00001 00017 #ifndef OSNL2OSIL_H 00018 #define OSNL2OSIL_H 00019 00020 00021 00022 #include "OSInstance.h" 00023 #include "OSnLNode.h" 00024 #include "nlp.h" 00025 #include <string> 00026 //#include <asl.h> 00027 00040 class OSnl2osil 00041 { 00042 public: 00044 OSnl2osil( std::string nlfilename); 00045 00047 ~OSnl2osil(); 00048 00054 bool createOSInstance(); 00055 00061 OSnLNode* walkTree(expr *e); 00062 00066 OSInstance *osinstance; 00067 private: 00068 00072 ograd *og; 00073 00076 ASL *asl; 00077 00080 FILE *nl; 00081 00084 char *stub; 00085 00086 }; 00087 #endif