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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 212 - (show annotations) (download) (as text)
Tue Jan 24 13:20:47 2006 UTC (14 years, 5 months ago) by johnpye
File MIME type: text/x-chdr
File size: 700 byte(s)
Changing nomenclature from ExtFn to ExtMethod
1 #ifndef ASCXX_EXTMETHOD_H
2 #define ASCXX_EXTMETHOD_H
3
4 extern "C"{
5 #include <utilities/ascConfig.h>
6 #include <compiler/compiler.h>
7 #include <compiler/extfunc.h>
8 }
9
10 #include "symchar.h"
11
12 /**
13 This is a wrapper for external methods as returned
14 by the getExtMethods method of the Library object. At this stage it
15 is purely for extracting meta-data about the ExtMethod.
16 */
17 class ExtMethod {
18 private:
19 const struct ExternalFunc *e;
20 public:
21 ExtMethod();
22 ExtMethod(const struct ExternalFunc *);
23 ExtMethod(const ExtMethod &);
24 const char *getHelp() const;
25 const char *getName() const;
26 const unsigned long getNumInputs() const;
27 const unsigned long getNumOutputs() const;
28 };
29
30 #endif // ASCXX_EXTMETHOD_H

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