00001 /* $Id: OSnl2osil.h 2698 2009-06-09 04:14:07Z kmartin $ */ 00018 #ifndef OSNL2OSIL_H 00019 #define OSNL2OSIL_H 00020 00021 00022 00023 #include "OSInstance.h" 00024 #include "OSnLNode.h" 00025 #include <string> 00026 00027 00041 struct ograd; 00042 struct ASL; 00043 struct expr; 00044 00045 00046 class OSnl2osil 00047 { 00048 public: 00050 OSnl2osil( std::string nlfilename); 00051 00053 ~OSnl2osil(); 00054 00060 bool createOSInstance(); 00061 00067 OSnLNode* walkTree(expr *e); 00068 00072 OSInstance *osinstance; 00073 private: 00074 00078 ograd *og; 00079 00082 ASL *asl; 00083 00086 FILE *nl; 00087 00090 char *stub; 00091 00092 }; 00093 #endif