Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
xml
TupleCutXML.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _TupleCutXML_H_
15
#define _TupleCutXML_H_
16
17
#include "
BaseXML.h
"
18
19
#include "
axes/AxesType.h
"
20
21
#include <vector>
22
23
namespace
hippodraw {
24
25
class
TupleCut;
26
32
class
MDL_HIPPOPLOT_API
TupleCutXML
:
public
BaseXML
33
{
34
35
private
:
36
38
static
TupleCutXML
*
s_instance
;
39
41
std::string
m_low
;
42
44
std::string
m_high
;
45
47
std::string
m_invert
;
48
50
std::string
m_column
;
51
58
std::string
m_dim
;
59
62
std::string
m_axis
;
63
65
TupleCutXML
(
const
TupleCutXML
& );
66
68
void
createChildren (
XmlElement
&,
const
TupleCut
& );
69
72
void
setAxisAttributes (
TupleCut
* cut,
73
hippodraw::Axes::Type
axis,
74
const
XmlElement
* element )
const
;
75
76
public
:
77
80
TupleCutXML
(
XmlController
* controller );
81
85
XmlElement
* createElement (
unsigned
int
i,
const
TupleCut
& cut );
86
90
bool
hasMultiDimTupleCut (
const
XmlElement
* element )
const
;
91
94
TupleCut
* getObject (
const
XmlElement
& tag )
const
;
95
99
void
getObjects (
const
XmlElement
* element,
100
std::vector < TupleCut * > & cuts );
101
105
void
setAttributes (
TupleCut
* & cut,
const
XmlElement
* element )
const
;
106
107
};
108
109
}
// namespace hippodraw
110
111
#endif // _TupleCutXML_H_
Generated for HippoDraw Class Library by