source: trunk/src/objects/RpAxisMarker.h @ 5119

Last change on this file since 5119 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.3 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#include <errno.h>
11
12#include "RpObject.h"
13
14#ifndef RAPPTURE_AXISMARKER_H
15#define RAPPTURE_AXISMARKER_H
16
17namespace Rappture {
18
19class AxisMarker : public Object
20{
21    public:
22
23        AxisMarker();
24
25        AxisMarker(const char *axisName, const char *label,
26                   const char *style, double at);
27
28        AxisMarker(const AxisMarker& o);
29
30        virtual ~AxisMarker();
31
32        void axisName (const char *a);
33        const char *axisName (void) const;
34
35        void style (const char *s);
36        const char *style (void) const;
37
38        void at (double a);
39        double at (void) const;
40
41        const char *xml(size_t indent, size_t tabstop);
42        const int is(void) const;
43
44    protected:
45
46        const char *_axisName;
47        const char *_style;
48        double _at;
49};
50
51} // namespace Rappture
52
53/*--------------------------------------------------------------------------*/
54
55#endif // RAPPTURE_AXISMARKER_H
Note: See TracBrowser for help on using the repository browser.