/[ascend]/trunk/pygtk/interface/method.h
ViewVC logotype

Contents of /trunk/pygtk/interface/method.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 132 - (show annotations) (download) (as text)
Wed Dec 21 00:14:13 2005 UTC (14 years, 6 months ago) by johnpye
File MIME type: text/x-chdr
File size: 914 byte(s)
Adding the PyGTK interface to CMU repository. Whaddyareckon?
1 #ifndef SWIG_METHOD_H
2 #define SWIG_METHOD_H
3
4 #include <string>
5
6 extern "C"{
7 #include <utilities/ascConfig.h>
8 #include <general/list.h>
9 #include <compiler/instance_enum.h>
10 #include <compiler/watchpt.h>
11
12 #include <compiler/fractions.h>
13 #include <compiler/compiler.h>
14 #include <compiler/dimen.h>
15 #include <compiler/types.h>
16 #include <compiler/proc.h>
17 #include <compiler/initialize.h>
18
19 }
20
21 #include "symchar.h"
22
23 /**
24 Initialisation functions are specified
25 in models using "METHOD" statements.
26
27 This class acts as a holder for these funtions, so that they
28 can be passed from a type to an instance via instanc.run(method).
29
30 (@TODO rename this class to Method or similar)
31 */
32 class Method{
33 private:
34 struct InitProcedure *initproc;
35 public:
36 Method();
37 Method(struct InitProcedure *initproc);
38 ~Method();
39 struct InitProcedure *getInternalType() const;
40 const char *getName() const;
41 SymChar getSym() const;
42 };
43
44 #endif

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22