Sundance::OrderedHandle< PointerType > Class Template Reference

Inheritance diagram for Sundance::OrderedHandle< PointerType >:

Playa::Handle< PointerType >

List of all members.

Public Member Functions

 OrderedHandle ()
 OrderedHandle (Playa::Handleable< PointerType > *rawPtr)
 OrderedHandle (const RCP< PointerType > &smartPtr)
bool operator< (const OrderedHandle< PointerType > &other) const
bool operator!= (const OrderedHandle< PointerType > &other) const
bool operator== (const OrderedHandle< PointerType > &other) const


Detailed Description

template<class PointerType>
class Sundance::OrderedHandle< PointerType >

Class OrderedHandle is an extension to Playa::Handle that includes a comparison operator ("<" operator) so that the handle can be used in ordered containers such as STL maps and sets.

Definition at line 60 of file SundanceOrderedHandle.hpp.


Constructor & Destructor Documentation

template<class PointerType>
Sundance::OrderedHandle< PointerType >::OrderedHandle (  )  [inline]

empty ctor

Definition at line 64 of file SundanceOrderedHandle.hpp.

template<class PointerType>
Sundance::OrderedHandle< PointerType >::OrderedHandle ( Playa::Handleable< PointerType > *  rawPtr  )  [inline]

Construct from a raw ptr

Definition at line 67 of file SundanceOrderedHandle.hpp.

template<class PointerType>
Sundance::OrderedHandle< PointerType >::OrderedHandle ( const RCP< PointerType > &  smartPtr  )  [inline]

Construct from a smart ptr

Definition at line 70 of file SundanceOrderedHandle.hpp.


Member Function Documentation

template<class PointerType>
bool Sundance::OrderedHandle< PointerType >::operator!= ( const OrderedHandle< PointerType > &  other  )  const [inline]

Definition at line 109 of file SundanceOrderedHandle.hpp.

template<class PointerType>
bool Sundance::OrderedHandle< PointerType >::operator< ( const OrderedHandle< PointerType > &  other  )  const [inline]

comparison operator

Definition at line 74 of file SundanceOrderedHandle.hpp.

template<class PointerType>
bool Sundance::OrderedHandle< PointerType >::operator== ( const OrderedHandle< PointerType > &  other  )  const [inline]

Definition at line 116 of file SundanceOrderedHandle.hpp.

Site Contact