osgEarth 2.1.1
|
Public Member Functions | |
Revision () | |
Revision (int init) | |
void | reset () |
operator int () const | |
int | operator++ () |
int | operator-- () |
Private Attributes | |
int | _value |
A tracking revision. See "class Revisioned" below for details.
Definition at line 30 of file Revisioning.
osgEarth::Revision::Revision | ( | ) | [inline] |
Definition at line 32 of file Revisioning.
: _value(-1) { }
osgEarth::Revision::Revision | ( | int | init | ) | [inline] |
Definition at line 33 of file Revisioning.
: _value(init) { }
osgEarth::Revision::operator int | ( | ) | const [inline] |
Definition at line 35 of file Revisioning.
{ return _value; }
int osgEarth::Revision::operator++ | ( | ) | [inline] |
Definition at line 36 of file Revisioning.
{ return ++_value; }
int osgEarth::Revision::operator-- | ( | ) | [inline] |
Definition at line 37 of file Revisioning.
{ return --_value; }
void osgEarth::Revision::reset | ( | ) | [inline] |
Definition at line 34 of file Revisioning.
{ _value = -1; }
int osgEarth::Revision::_value [private] |
Definition at line 39 of file Revisioning.