view width data class
More...
#include <view_mode.h>
|
enum | Type { NARROW = 60
, NORMAL = 120
, WIDE = 180
, ILLEGAL = 0
} |
| types of view width
|
|
◆ ViewWidth()
construct with 't'. NO explicit
- Parameters
-
◆ operator ViewWidth::Type()
type operator
- Returns
- type Id
◆ operator!=() [1/2]
bool rcsc::ViewWidth::operator!= |
( |
const ViewWidth & |
w | ) |
const |
|
inline |
compare operator.
- Parameters
-
- Returns
- compared result
This operator should declare and defined at the global scope...
◆ operator!=() [2/2]
compare operator.
- Parameters
-
- Returns
- compared result
◆ operator++() [1/2]
const ViewWidth & rcsc::ViewWidth::operator++ |
( |
| ) |
|
increase view width type
- Returns
- const reference to this object
◆ operator++() [2/2]
const ViewWidth rcsc::ViewWidth::operator++ |
( |
int |
| ) |
|
increase view width type
- Returns
- old value
◆ operator--() [1/2]
const ViewWidth & rcsc::ViewWidth::operator-- |
( |
| ) |
|
decrease view width type
- Returns
- const reference to this object
◆ operator--() [2/2]
const ViewWidth rcsc::ViewWidth::operator-- |
( |
int |
| ) |
|
increase view width type
- Returns
- old value
◆ operator=()
substituion operator by type Id
- Parameters
-
- Returns
- reference to itself
◆ operator==() [1/2]
bool rcsc::ViewWidth::operator== |
( |
const ViewWidth & |
w | ) |
const |
|
inline |
compare operator.
- Parameters
-
- Returns
- compared result
This operator should declare and defined at the global scope...
◆ operator==() [2/2]
compare operator.
- Parameters
-
- Returns
- compared result
◆ parse()
static method. get the type described by string
- Parameters
-
- Returns
- type Id
◆ str()
std::string rcsc::ViewWidth::str |
( |
| ) |
const |
get width type name
- Returns
- the name string of width type
◆ type()
get type Id
- Returns
- type Id
◆ width() [1/2]
double rcsc::ViewWidth::width |
( |
| ) |
const |
|
inline |
get degree value depending on the current type and server param
- Returns
- degree value
◆ width() [2/2]
get degree value depending on the current type and server param
- Parameters
-
- Returns
- degree value
The documentation for this class was generated from the following file: