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

Contents of /trunk/ascxx/name.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2327 - (show annotations) (download) (as text)
Wed Dec 22 07:17:24 2010 UTC (13 years, 8 months ago) by jpye
File MIME type: text/x-chdr
File size: 697 byte(s)
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