/[ascend]/trunk/pygtk/name.h
ViewVC logotype

Contents of /trunk/pygtk/name.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 532 - (show annotations) (download) (as text)
Mon Apr 24 02:23:08 2006 UTC (14 years, 1 month ago) by johnpye
File MIME type: text/x-chdr
File size: 651 byte(s)
Removed 'interface' directory in trunk/pygtk/interface (moved everything up a level)
Made corresponding changes to SCons* and spec files.
1 #ifndef SWIG_NAME_H
2 #define SWIG_NAME_H
3
4 #include <string>
5
6 #include "config.h"
7 extern "C"{
8 #include <utilities/ascConfig.h>
9 #include <compiler/fractions.h>
10 #include <compiler/compiler.h>
11 #include <compiler/dimen.h>
12 #include <compiler/types.h>
13 #include <compiler/name.h>
14 }
15
16 #include "symchar.h"
17
18 /*
19 Handles 'temporary names', which are used for example
20 when calling methods on instances.
21
22 This class will be renamed to 'Name' when used
23 from Python.
24 */
25 class Nam{
26 private:
27 struct Name *name;
28 public:
29 Nam();
30 Nam(const SymChar &);
31 Nam(struct Name*);
32 ~Nam();
33 struct Name *getInternalType() const;
34 const std::string getName() const;
35 };
36
37 #endif
38

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