#ifndef ASCXX_METHOD_H #define ASCXX_METHOD_H #include #include "config.h" extern "C"{ #include #include #include #include #include #include #include #include #include #include } #include "symchar.h" /** Initialisation functions are specified in models using "METHOD" statements. This class acts as a holder for these funtions, so that they can be passed from a type to an instance via instanc.run(method). (@TODO rename this class to Method or similar) */ class Method{ private: struct InitProcedure *initproc; public: Method(struct InitProcedure *initproc); Method(); Method(const Method &); ~Method(); struct InitProcedure *getInternalType() const; const char *getName() const; SymChar getSym() const; }; #endif