Last change
on this file since 3177 was
3177,
checked in by mmc, 12 years ago
|
Updated all of the copyright notices to reference the transfer to
the new HUBzero Foundation, LLC.
|
File size:
1.1 KB
|
Line | |
---|
1 | /* |
---|
2 | * ====================================================================== |
---|
3 | * AUTHOR: Derrick Kearney, Purdue University |
---|
4 | * Copyright (c) 2004-2012 HUBzero Foundation, LLC |
---|
5 | * |
---|
6 | * See the file "license.terms" for information on usage and |
---|
7 | * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
---|
8 | * ====================================================================== |
---|
9 | */ |
---|
10 | |
---|
11 | #include "RpObject.h" |
---|
12 | |
---|
13 | #ifndef RAPPTURE_BOOLEAN_H |
---|
14 | #define RAPPTURE_BOOLEAN_H |
---|
15 | |
---|
16 | namespace Rappture { |
---|
17 | |
---|
18 | class Boolean : public Object |
---|
19 | { |
---|
20 | public: |
---|
21 | |
---|
22 | Boolean ( const char *path, |
---|
23 | int val); |
---|
24 | |
---|
25 | Boolean ( const char *path, |
---|
26 | int val, |
---|
27 | const char *label, |
---|
28 | const char *desc); |
---|
29 | |
---|
30 | Boolean ( const Boolean& o ); |
---|
31 | virtual ~Boolean (); |
---|
32 | |
---|
33 | Accessor<int> def; |
---|
34 | Accessor<int> cur; |
---|
35 | |
---|
36 | const char *xml(size_t indent, size_t tabstop); |
---|
37 | const int is() const; |
---|
38 | }; |
---|
39 | |
---|
40 | } // namespace Rappture |
---|
41 | |
---|
42 | /*--------------------------------------------------------------------------*/ |
---|
43 | |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.