Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
xml
AxisModelXML.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _AxisModelXML_H_
15
#define _AxisModelXML_H_
16
17
#include "
BaseXML.h
"
18
19
#include "
axes/AxesType.h
"
20
21
namespace
hippodraw {
22
23
class
AxisModelBase;
24
class
AxisTickXML;
25
31
class
MDL_HIPPOPLOT_API
AxisModelXML
:
virtual
public
BaseXML
32
{
33
34
private
:
35
37
static
AxisModelXML
*
s_instance
;
38
41
AxisTickXML
*
m_axistick_xml
;
42
44
std::string
m_autorange
;
45
47
std::string
m_low
;
48
50
std::string
m_high
;
51
53
std::string
m_scale_factor
;
54
56
std::string
m_log
;
57
61
std::string
m_auto_tick
;
62
64
AxisModelXML
(
const
AxisModelXML
& );
65
68
void
createChildren (
XmlElement
&,
const
AxisModelBase
& );
69
72
void
createChildren (
const
XmlElement
* element,
AxisModelBase
* model );
73
74
public
:
75
78
AxisModelXML
(
XmlController
* controller );
79
82
~
AxisModelXML
();
83
86
void
setAttributes (
XmlElement
& tag,
const
AxisModelBase
& plotter );
87
90
void
setAttributes (
AxisModelBase
* model,
const
XmlElement
* element );
91
93
hippodraw::Axes::Type
getAxis (
const
XmlElement
* element,
94
const
std::string & tagname );
95
98
bool
isLog (
const
XmlElement
* element );
99
100
};
101
102
}
// namespace hippodraw
103
104
#endif // _AxisModelXML_H_
Generated for HippoDraw Class Library by