osgEarth 2.1.1
Public Member Functions | Private Attributes

osgEarth::Revision Struct Reference

List of all members.

Public Member Functions

 Revision ()
 Revision (int init)
void reset ()
 operator int () const
int operator++ ()
int operator-- ()

Private Attributes

int _value

Detailed Description

A tracking revision. See "class Revisioned" below for details.

Definition at line 30 of file Revisioning.


Constructor & Destructor Documentation

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) { }

Member Function Documentation

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; }

Member Data Documentation

Definition at line 39 of file Revisioning.


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