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

Contents of /trunk/pygtk/name.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 669 - (show annotations) (download) (as text)
Wed Jun 21 07:00:45 2006 UTC (17 years, 11 months ago) by johnpye
File MIME type: text/x-chdr
File size: 658 byte(s)
Merged changes from DAE branch (revisions 702 to 819) back into trunk.
This adds the Integration API to the ASCEND solver (in base/generic).
Also provides pre-alpha support for 'IDA' from the SUNDIALS suite, a DAE solver.
Many other minor code clean-ups, including adoption of new 'ASC_NEW' and friends (to replace 'ascmalloc')
Added some very sketchy stuff providing 'DIFF(...)' syntax, although it is anticipated that this will be removed.
1 #ifndef ASCXX_NAME_H
2 #define ASCXX_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/expr_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