MNE-CPP
beta 0.1
Main Page
Related Pages
Modules
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
applications
mne_x_libs
xMeas
Measurement
text.h
Go to the documentation of this file.
1
//=============================================================================================================
36
#ifndef TEXT_H
37
#define TEXT_H
38
39
40
//*************************************************************************************************************
41
//=============================================================================================================
42
// INCLUDES
43
//=============================================================================================================
44
45
#include "
sngchnmeasurement.h
"
46
47
48
//*************************************************************************************************************
49
//=============================================================================================================
50
// Qt INCLUDES
51
//=============================================================================================================
52
53
#include <QSharedPointer>
54
55
56
//*************************************************************************************************************
57
//=============================================================================================================
58
// DEFINE NAMESPACE XMEASLIB
59
//=============================================================================================================
60
61
namespace
XMEASLIB
62
{
63
64
65
//=============================================================================================================
72
class
XMEASSHARED_EXPORT
Text
:
public
SngChnMeasurement
73
{
74
public
:
75
typedef
QSharedPointer<Text>
SPtr
;
76
typedef
QSharedPointer<const Text>
ConstSPtr
;
78
//=========================================================================================================
82
Text
();
83
//=========================================================================================================
87
virtual
~
Text
();
88
89
//=========================================================================================================
95
void
setText(
const
QString& text);
96
//=========================================================================================================
102
inline
const
QString& getText()
const
;
103
104
//=========================================================================================================
111
virtual
void
setValue
(
double
) {;};
112
//=========================================================================================================
119
virtual
double
getValue
()
const
{
return
-1;};
120
121
private
:
122
QString m_Text;
123
};
124
125
126
//*************************************************************************************************************
127
//=============================================================================================================
128
// INLINE DEFINITIONS
129
//*************************************************************************************************************
130
131
inline
const
QString&
Text::getText
()
const
132
{
133
return
m_Text;
134
}
135
136
}
// NAMESPACE
137
138
#endif // TEXT_H
XMEASLIB::Text::getText
const QString & getText() const
Definition:
text.h:131
XMEASLIB::Text
The Text class is the base class of every Text Measurement.
Definition:
text.h:72
XMEASSHARED_EXPORT
#define XMEASSHARED_EXPORT
Definition:
xmeas_global.h:54
XMEASLIB::Text::SPtr
QSharedPointer< Text > SPtr
Definition:
text.h:75
XMEASLIB::Text::getValue
virtual double getValue() const
Definition:
text.h:119
XMEASLIB::Text::setValue
virtual void setValue(double)
Definition:
text.h:111
XMEASLIB::SngChnMeasurement
The SngChnMeasurement class is the base class of every SngChnMeasurement.
Definition:
sngchnmeasurement.h:72
sngchnmeasurement.h
Contains the declaration of the SngChnMeasurement base class.
XMEASLIB::Text::ConstSPtr
QSharedPointer< const Text > ConstSPtr
Definition:
text.h:76
Generated on Mon Jun 9 2014 15:58:06 for MNE-CPP by
1.8.7