Parent Directory | Revision Log
Merging in refactor of the C++ code, which is moved out of 'pygtk' and into 'ascxx'. Adding support for IPOPT 3.9.1, the current latest version. Support in dtar for parallel builds (possibly needs some testing still).
1 | #ifndef ASCXX_NAME_H |
2 | #define ASCXX_NAME_H |
3 | |
4 | #include <string> |
5 | |
6 | #include "config.h" |
7 | extern "C"{ |
8 | #include <ascend/general/platform.h> |
9 | #include <ascend/compiler/fractions.h> |
10 | #include <ascend/compiler/compiler.h> |
11 | #include <ascend/compiler/dimen.h> |
12 | #include <ascend/compiler/expr_types.h> |
13 | #include <ascend/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 |