FlightGear next
flightgear::Octree::Ordered< T > Class Template Reference

Decorate an object with a double value, and use that value to order items, for the purpoises of the STL algorithms. More...

#include <PositionedOctree.hxx>

Public Member Functions

 Ordered (const T &v, double x)
 
 Ordered (const Ordered< T > &a)
 
Ordered< T > & operator= (const Ordered< T > &a)
 
bool operator< (const Ordered< T > &other) const
 
bool operator> (const Ordered< T > &other) const
 
const T & get () const
 
double order () const
 

Detailed Description

template<class T>
class flightgear::Octree::Ordered< T >

Decorate an object with a double value, and use that value to order items, for the purpoises of the STL algorithms.

Definition at line 44 of file PositionedOctree.hxx.

Constructor & Destructor Documentation

◆ Ordered() [1/2]

template<class T>
flightgear::Octree::Ordered< T >::Ordered ( const T & v,
double x )
inline

Definition at line 47 of file PositionedOctree.hxx.

◆ Ordered() [2/2]

template<class T>
flightgear::Octree::Ordered< T >::Ordered ( const Ordered< T > & a)
inline

Definition at line 54 of file PositionedOctree.hxx.

Member Function Documentation

◆ get()

template<class T>
const T & flightgear::Octree::Ordered< T >::get ( ) const
inline

Definition at line 77 of file PositionedOctree.hxx.

◆ operator<()

template<class T>
bool flightgear::Octree::Ordered< T >::operator< ( const Ordered< T > & other) const
inline

Definition at line 67 of file PositionedOctree.hxx.

◆ operator=()

template<class T>
Ordered< T > & flightgear::Octree::Ordered< T >::operator= ( const Ordered< T > & a)
inline

Definition at line 60 of file PositionedOctree.hxx.

◆ operator>()

template<class T>
bool flightgear::Octree::Ordered< T >::operator> ( const Ordered< T > & other) const
inline

Definition at line 72 of file PositionedOctree.hxx.

◆ order()

template<class T>
double flightgear::Octree::Ordered< T >::order ( ) const
inline

Definition at line 80 of file PositionedOctree.hxx.


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