osgEarth 2.1.1
Public Member Functions | Private Attributes

osgEarth::Util::EarthManipulator::ActionOption Struct Reference

List of all members.

Public Member Functions

 ActionOption ()
 ActionOption (int option, bool value)
 ActionOption (int option, int value)
 ActionOption (int option, double value)
int option () const
bool boolValue () const
int intValue () const
double doubleValue () const

Private Attributes

int _option
union {
   bool   _bool_value
   int   _int_value
   double   _dbl_value
}; 

Detailed Description

Definition at line 100 of file EarthManipulator.


Constructor & Destructor Documentation

osgEarth::Util::EarthManipulator::ActionOption::ActionOption ( ) [inline]

Definition at line 101 of file EarthManipulator.

{ }
osgEarth::Util::EarthManipulator::ActionOption::ActionOption ( int  option,
bool  value 
) [inline]

Definition at line 102 of file EarthManipulator.

: _option(option), _bool_value(value) { }
osgEarth::Util::EarthManipulator::ActionOption::ActionOption ( int  option,
int  value 
) [inline]

Definition at line 103 of file EarthManipulator.

: _option(option), _int_value(value) { }
osgEarth::Util::EarthManipulator::ActionOption::ActionOption ( int  option,
double  value 
) [inline]

Definition at line 104 of file EarthManipulator.

: _option(option), _dbl_value(value) { }

Member Function Documentation

bool osgEarth::Util::EarthManipulator::ActionOption::boolValue ( ) const [inline]

Definition at line 107 of file EarthManipulator.

{ return _bool_value; }

Here is the caller graph for this function:

double osgEarth::Util::EarthManipulator::ActionOption::doubleValue ( ) const [inline]

Definition at line 109 of file EarthManipulator.

{ return _dbl_value; }

Here is the caller graph for this function:

int osgEarth::Util::EarthManipulator::ActionOption::intValue ( ) const [inline]

Definition at line 108 of file EarthManipulator.

{ return _int_value; }
int osgEarth::Util::EarthManipulator::ActionOption::option ( ) const [inline]

Definition at line 106 of file EarthManipulator.

{ return _option; }

Here is the caller graph for this function:


Member Data Documentation

union { ... } [private]

Definition at line 114 of file EarthManipulator.

Definition at line 116 of file EarthManipulator.

Definition at line 115 of file EarthManipulator.

Definition at line 112 of file EarthManipulator.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines