source: branches/1.3/src/objects/RpBoolean.h @ 5348

Last change on this file since 5348 was 3362, checked in by ldelgass, 11 years ago

Merge nanovis2 branch to trunk

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
16namespace Rappture {
17
18class 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.