Last change
on this file since 597 was
511,
checked in by dkearney, 18 years ago
|
moving all .h files to their respective src directories, updating tools.py to include python's re module, updated setup.py.in to use .h files from the installed version of rappture and to adapt to the new location of .h files. .h files are now all stored in the lib directory under the rappture installation folder. this should simplify people's code, so they dont have to include wierd search paths for header files. adjusted the paths in rappture.in, allowing people to use their own version of python and perl. octave on the other hand is still broken for people downloading our binary and not using libhdf5-1.6.2. src's makefile.in was modified to copy the .h files from the core and cee directories over to the rappture installation directory. the top level makefile.in has all kinds of changes mainly you can now type in ./configure --prefix=... --with-matlab=... and then make install. this will build and install the gui, language bindings, and examples. these changes will probably break the automatic builds but the necessary changes to the rappture-runtime package should be committed in good time.
|
File size:
1.4 KB
|
Line | |
---|
1 | /* |
---|
2 | * ====================================================================== |
---|
3 | * Copyright (c) 2004-2005 Purdue Research Foundation |
---|
4 | * |
---|
5 | * See the file "license.terms" for information on usage and |
---|
6 | * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
---|
7 | * ====================================================================== |
---|
8 | */ |
---|
9 | #include <iostream> |
---|
10 | #include <string> |
---|
11 | #include <sstream> |
---|
12 | #include <stdlib.h> |
---|
13 | #include <errno.h> |
---|
14 | |
---|
15 | // #include "RpLibrary.h" |
---|
16 | |
---|
17 | #ifndef _RpABOUT_H |
---|
18 | #include "RpAbout.h" |
---|
19 | #endif |
---|
20 | |
---|
21 | #ifndef _RpOPTION_H |
---|
22 | #define _RpOPTION_H |
---|
23 | |
---|
24 | class RpOption |
---|
25 | { |
---|
26 | public: |
---|
27 | |
---|
28 | // users member fxns |
---|
29 | |
---|
30 | virtual RpOption& setLabel (std::string newLabel); |
---|
31 | virtual std::string getLabel () const; |
---|
32 | |
---|
33 | /* |
---|
34 | RpOption () |
---|
35 | : about (RpAbout()) |
---|
36 | {}; |
---|
37 | */ |
---|
38 | |
---|
39 | RpOption ( |
---|
40 | std::string label |
---|
41 | ) |
---|
42 | : about (RpAbout(label)) |
---|
43 | {}; |
---|
44 | |
---|
45 | // copy constructor |
---|
46 | RpOption ( const RpOption& myRpOption ) |
---|
47 | : about (RpAbout(myRpOption.about)) |
---|
48 | {} |
---|
49 | |
---|
50 | // default destructor |
---|
51 | virtual ~RpOption () |
---|
52 | { |
---|
53 | // clean up dynamic memory |
---|
54 | } |
---|
55 | |
---|
56 | private: |
---|
57 | |
---|
58 | RpAbout about; |
---|
59 | }; |
---|
60 | |
---|
61 | /*--------------------------------------------------------------------------*/ |
---|
62 | /*--------------------------------------------------------------------------*/ |
---|
63 | |
---|
64 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.