Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
datasrcs
TupleCut.h
Go to the documentation of this file.
1
/* -*- mode: c++ -*- */
2
14
#ifndef _TupleCut_H_
15
#define _TupleCut_H_
16
17
#include "
axes/Range.h
"
18
#include "
axes/AxesType.h
"
19
20
#ifdef _MSC_VER
21
#include <msdevstudio/MSconfig.h>
22
#endif
23
24
namespace
hippodraw {
25
26
class
DataSource;
27
43
class
MDL_HIPPOPLOT_API
TupleCut
44
{
45
private
:
46
49
std::string
m_label
;
50
55
Range
m_range
;
56
59
unsigned
int
m_column
;
60
64
bool
m_invert
;
65
70
bool
m_enabled
;
71
72
public
:
73
76
TupleCut
( );
77
78
/* Using the compiler generated copy constructor.
79
*/
80
// TupleCut ( const TupleCut & );
81
84
void
setColumn (
unsigned
int
col );
85
88
unsigned
int
getColumn ()
const
;
89
92
void
setRange (
const
Range
& range );
93
95
const
Range
& getRange()
const
;
96
99
void
setInversion (
bool
state );
100
102
bool
getInversion ()
const
;
103
106
void
toggleInverted();
107
110
void
setEnabled (
bool
yes =
true
);
111
114
bool
isEnabled ( )
const
;
115
118
const
std::string & getLabel ()
const
;
119
122
void
setLabel (
const
std::string & label );
123
128
bool
acceptRow (
const
DataSource
* source,
unsigned
int
i )
const
;
129
130
};
131
132
}
// namespace hippodraw
133
134
#endif // _TupleCut_H_
Generated for HippoDraw Class Library by