vrecko
virtual reality framework
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Range.h
Go to the documentation of this file.
1
13
// header definitions
14
#ifndef _RANGE_H_
15
#define _RANGE_H_
16
17
// VRECKO namespace
18
namespace
vrecko
19
{
20
30
class
Range
31
{
32
public
:
33
37
enum
RangeType
38
{
39
RANGE_INTERVAL
,
40
RANGE_ENUMERATION
41
};
42
48
inline
bool
isInterval
()
const
49
{
50
return
(rangeType ==
RANGE_INTERVAL
);
51
}
52
58
inline
bool
isEnumeration
()
const
59
{
60
return
(rangeType ==
RANGE_ENUMERATION
);
61
}
62
63
protected
:
64
70
Range
(
RangeType
rangeType)
71
{
72
this->rangeType = rangeType;
73
}
74
80
Range
(
const
Range
& range)
81
{
82
*
this
= range;
83
}
84
85
private
:
86
87
RangeType
rangeType;
88
};
89
90
// end of vrecko namespace
91
}
92
93
// end header definitions
94
#endif
95
include
vrecko
Range.h
Generated on Tue Feb 19 2013 10:23:41 for vrecko by
1.8.3.1