Bike-X  0.8
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OVR::Ptr< C > Class Template Reference

#include "OVR_RefCount.h"

Inheritance diagram for OVR::Ptr< C >:
Inheritance graph
Collaboration diagram for OVR::Ptr< C >:
Collaboration graph

Public Member Functions

OVR_FORCE_INLINE Ptr ()
 
OVR_FORCE_INLINE Ptr (C &robj)
 
OVR_FORCE_INLINE Ptr (Pickable< C > v)
 
OVR_FORCE_INLINE Ptr (Ptr< C > &other, PickType)
 
OVR_FORCE_INLINE Ptr (C *pobj)
 
OVR_FORCE_INLINE Ptr (const Ptr< C > &src)
 
template<class R >
OVR_FORCE_INLINE Ptr (Ptr< R > &src)
 
template<class R >
OVR_FORCE_INLINE Ptr (Pickable< R > v)
 
OVR_FORCE_INLINE ~Ptr ()
 
OVR_FORCE_INLINE bool operator== (const Ptr &other) const
 
OVR_FORCE_INLINE bool operator!= (const Ptr &other) const
 
OVR_FORCE_INLINE bool operator== (C *pother) const
 
OVR_FORCE_INLINE bool operator!= (C *pother) const
 
OVR_FORCE_INLINE bool operator< (const Ptr &other) const
 
template<class R >
OVR_FORCE_INLINE const Ptr< C > & operator= (const Ptr< R > &src)
 
OVR_FORCE_INLINE const Ptr< C > & operator= (const Ptr< C > &src)
 
OVR_FORCE_INLINE const Ptr< C > & operator= (C *psrc)
 
OVR_FORCE_INLINE const Ptr< C > & operator= (C &src)
 
OVR_FORCE_INLINE Ptr< C > & operator= (Pickable< C > src)
 
template<class R >
OVR_FORCE_INLINE Ptr< C > & operator= (Pickable< R > src)
 
template<class R >
OVR_FORCE_INLINE Ptr< C > & SetPtr (const Ptr< R > &src)
 
OVR_FORCE_INLINE Ptr< C > & SetPtr (const Ptr< C > &src)
 
OVR_FORCE_INLINE Ptr< C > & SetPtr (C *psrc)
 
OVR_FORCE_INLINE Ptr< C > & SetPtr (C &src)
 
OVR_FORCE_INLINE Ptr< C > & SetPtr (Pickable< C > src)
 
OVR_FORCE_INLINE void NullWithoutRelease ()
 
OVR_FORCE_INLINE void Clear ()
 
OVR_FORCE_INLINE C *& GetRawRef ()
 
OVR_FORCE_INLINE C * GetPtr () const
 
OVR_FORCE_INLINE C & operator* () const
 
OVR_FORCE_INLINE C * operator-> () const
 
OVR_FORCE_INLINE operator C * () const
 
OVR_FORCE_INLINE Ptr< C > & Pick (Ptr< C > &other)
 
OVR_FORCE_INLINE Ptr< C > & Pick (Pickable< C > v)
 
template<class R >
OVR_FORCE_INLINE Ptr< C > & Pick (Pickable< R > v)
 
OVR_FORCE_INLINE Ptr< C > & Pick (C *p)
 

Protected Attributes

C * pObject
 

Detailed Description

template<class C>
class OVR::Ptr< C >

Definition at line 344 of file OVR_RefCount.h.

Constructor & Destructor Documentation

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( )
inline

Definition at line 356 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( C &  robj)
inline

Definition at line 361 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( Pickable< C >  v)
inline

Definition at line 364 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( Ptr< C > &  other,
PickType   
)
inline

Definition at line 368 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( C *  pobj)
inline

Definition at line 373 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( const Ptr< C > &  src)
inline

Definition at line 378 of file OVR_RefCount.h.

template<class C>
template<class R >
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( Ptr< R > &  src)
inline

Definition at line 385 of file OVR_RefCount.h.

template<class C>
template<class R >
OVR_FORCE_INLINE OVR::Ptr< C >::Ptr ( Pickable< R >  v)
inline

Definition at line 391 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::~Ptr ( )
inline

Definition at line 397 of file OVR_RefCount.h.

Member Function Documentation

template<class C>
OVR_FORCE_INLINE void OVR::Ptr< C >::Clear ( void  )
inline

Definition at line 496 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE C* OVR::Ptr< C >::GetPtr ( ) const
inline

Definition at line 506 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE C*& OVR::Ptr< C >::GetRawRef ( )
inline

Definition at line 503 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE void OVR::Ptr< C >::NullWithoutRelease ( )
inline

Definition at line 490 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE OVR::Ptr< C >::operator C * ( ) const
inline

Definition at line 510 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE bool OVR::Ptr< C >::operator!= ( const Ptr< C > &  other) const
inline

Definition at line 404 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE bool OVR::Ptr< C >::operator!= ( C *  pother) const
inline

Definition at line 407 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE C& OVR::Ptr< C >::operator* ( ) const
inline

Definition at line 507 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE C* OVR::Ptr< C >::operator-> ( ) const
inline

Definition at line 508 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE bool OVR::Ptr< C >::operator< ( const Ptr< C > &  other) const
inline

Definition at line 410 of file OVR_RefCount.h.

template<class C>
template<class R >
OVR_FORCE_INLINE const Ptr<C>& OVR::Ptr< C >::operator= ( const Ptr< R > &  src)
inline

Definition at line 414 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE const Ptr<C>& OVR::Ptr< C >::operator= ( const Ptr< C > &  src)
inline

Definition at line 422 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE const Ptr<C>& OVR::Ptr< C >::operator= ( C *  psrc)
inline

Definition at line 430 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE const Ptr<C>& OVR::Ptr< C >::operator= ( C &  src)
inline

Definition at line 437 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::operator= ( Pickable< C >  src)
inline

Definition at line 443 of file OVR_RefCount.h.

template<class C>
template<class R >
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::operator= ( Pickable< R >  src)
inline

Definition at line 448 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE bool OVR::Ptr< C >::operator== ( const Ptr< C > &  other) const
inline

Definition at line 403 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE bool OVR::Ptr< C >::operator== ( C *  pother) const
inline

Definition at line 406 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::Pick ( Ptr< C > &  other)
inline

Definition at line 515 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::Pick ( Pickable< C >  v)
inline

Definition at line 527 of file OVR_RefCount.h.

template<class C>
template<class R >
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::Pick ( Pickable< R >  v)
inline

Definition at line 539 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::Pick ( C *  p)
inline

Definition at line 550 of file OVR_RefCount.h.

template<class C>
template<class R >
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::SetPtr ( const Ptr< R > &  src)
inline

Definition at line 455 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::SetPtr ( const Ptr< C > &  src)
inline

Definition at line 463 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::SetPtr ( C *  psrc)
inline

Definition at line 471 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::SetPtr ( C &  src)
inline

Definition at line 478 of file OVR_RefCount.h.

template<class C>
OVR_FORCE_INLINE Ptr<C>& OVR::Ptr< C >::SetPtr ( Pickable< C >  src)
inline

Definition at line 484 of file OVR_RefCount.h.

Field Documentation

template<class C>
C* OVR::Ptr< C >::pObject
protected

Definition at line 351 of file OVR_RefCount.h.


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