sorter Struct Reference

List of all members.

Public Member Functions

 sorter ()
 sorter (Real32 value, Int32 index)
bool operator< (const sorter &a) const
bool operator<= (const sorter &a) const
bool operator> (const sorter &a) const
bool operator>= (const sorter &a) const

Public Attributes

Real32 _value
Int32 _index


Detailed Description

Definition at line 2692 of file OSGParticles.cpp.


Constructor & Destructor Documentation

sorter::sorter (  )  [inline]

Definition at line 2694 of file OSGParticles.cpp.

02694 {}

sorter::sorter ( Real32  value,
Int32  index 
) [inline]

Definition at line 2696 of file OSGParticles.cpp.

02697     {
02698         _value=value;
02699         _index=index;
02700     }


Member Function Documentation

bool sorter::operator< ( const sorter a  )  const [inline]

Definition at line 2702 of file OSGParticles.cpp.

References _value.

02703     {
02704         if(_value < a._value)
02705             return true;
02706 
02707         return false;
02708     }

bool sorter::operator<= ( const sorter a  )  const [inline]

Definition at line 2710 of file OSGParticles.cpp.

References _value.

02711     {
02712         if(_value <= a._value)
02713             return true;
02714 
02715         return false;
02716     }

bool sorter::operator> ( const sorter a  )  const [inline]

Definition at line 2718 of file OSGParticles.cpp.

02719     {
02720         return ! (a < *this);
02721     }

bool sorter::operator>= ( const sorter a  )  const [inline]

Definition at line 2723 of file OSGParticles.cpp.

02724     {
02725         return ! (a <= *this);
02726     }


Member Data Documentation

Definition at line 2728 of file OSGParticles.cpp.

Referenced by operator<(), and operator<=().

Definition at line 2729 of file OSGParticles.cpp.


The documentation for this struct was generated from the following file:

Generated on Mon Mar 17 12:02:59 2008 for OpenSG by  doxygen 1.5.5