#include <OSGRefPtr.h>
Public Types | |
| typedef ContainerPtr | Ref |
Public Member Functions | |
Constructors | |
| RefPtr (void) | |
| RefPtr (const RefPtr &refPtr) | |
| RefPtr (const Ref &pContainer) | |
Destructor | |
| virtual | ~RefPtr (void) |
Access | |
| operator Ref (void) const | |
| PtrStripper< ContainerPtr >::Object * | operator-> (void) const |
| Ref | get (void) const |
| RefPtr & | operator= (const Ref &pContainer) |
| RefPtr & | operator= (const RefPtr &refPtr) |
Comparison | |
| bool | operator< (const FieldContainerPtr &other) const |
| bool | operator== (const FieldContainerPtr &other) const |
| bool | operator!= (const FieldContainerPtr &other) const |
| bool | operator< (const RefPtr< ContainerPtr > &other) const |
| bool | operator== (const RefPtr< ContainerPtr > &other) const |
| bool | operator!= (const RefPtr< ContainerPtr > &other) const |
| bool | operator! (void) const |
Private Member Functions | |
| void | setRef (const Ref &pContainer) |
Private Attributes | |
| Ref | _pRef |
Definition at line 58 of file OSGRefPtr.h.
| typedef ContainerPtr OSG::RefPtr< ContainerPtr >::Ref |
Definition at line 64 of file OSGRefPtr.h.
| OSG::RefPtr< ContainerPtr >::RefPtr | ( | void | ) | [inline] |
| OSG::RefPtr< ContainerPtr >::RefPtr | ( | const RefPtr< ContainerPtr > & | refPtr | ) | [inline] |
Definition at line 61 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef, and OSG::setRefd().
| OSG::RefPtr< ContainerPtr >::RefPtr | ( | const Ref & | pContainer | ) | [inline, explicit] |
Definition at line 54 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef, and OSG::setRefd().
| OSG::RefPtr< ContainerPtr >::~RefPtr | ( | void | ) | [inline, virtual] |
Definition at line 68 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef, and OSG::subRef().
| OSG::RefPtr< ContainerPtr >::operator Ref | ( | void | ) | const |
| PtrStripper< ContainerPtr >::Object * OSG::RefPtr< ContainerPtr >::operator-> | ( | void | ) | const [inline] |
| RefPtr< ContainerPtr >::Ref OSG::RefPtr< ContainerPtr >::get | ( | void | ) | const [inline] |
Definition at line 87 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef.
00088 { 00089 return _pRef; 00090 }
| RefPtr< ContainerPtr > & OSG::RefPtr< ContainerPtr >::operator= | ( | const Ref & | pContainer | ) | [inline] |
Definition at line 93 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::setRef().
00094 { 00095 setRef(pContainer); 00096 00097 return *this; 00098 }
| RefPtr< ContainerPtr > & OSG::RefPtr< ContainerPtr >::operator= | ( | const RefPtr< ContainerPtr > & | refPtr | ) | [inline] |
Definition at line 101 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef, and OSG::RefPtr< ContainerPtr >::setRef().
00102 { 00103 setRef(refPtr._pRef); 00104 00105 return *this; 00106 }
| bool OSG::RefPtr< ContainerPtr >::operator< | ( | const FieldContainerPtr & | other | ) | const [inline] |
Definition at line 109 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef.
00110 { 00111 return _pRef < other; 00112 }
| bool OSG::RefPtr< ContainerPtr >::operator== | ( | const FieldContainerPtr & | other | ) | const [inline] |
Definition at line 115 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef.
00116 { 00117 return _pRef == other; 00118 }
| bool OSG::RefPtr< ContainerPtr >::operator!= | ( | const FieldContainerPtr & | other | ) | const [inline] |
Definition at line 121 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef.
00122 { 00123 return !(_pRef == other); 00124 }
| bool OSG::RefPtr< ContainerPtr >::operator< | ( | const RefPtr< ContainerPtr > & | other | ) | const [inline] |
Definition at line 128 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef.
00129 { 00130 return _pRef < other._pRef; 00131 }
| bool OSG::RefPtr< ContainerPtr >::operator== | ( | const RefPtr< ContainerPtr > & | other | ) | const [inline] |
Definition at line 134 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef.
00135 { 00136 return _pRef == other._pRef; 00137 }
| bool OSG::RefPtr< ContainerPtr >::operator!= | ( | const RefPtr< ContainerPtr > & | other | ) | const [inline] |
Definition at line 140 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef.
00141 { 00142 return !(_pRef == other._pRef); 00143 }
| bool OSG::RefPtr< ContainerPtr >::operator! | ( | void | ) | const [inline] |
Definition at line 146 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef, and NullFC.
| void OSG::RefPtr< ContainerPtr >::setRef | ( | const Ref & | pContainer | ) | [inline, private] |
Definition at line 152 of file OSGRefPtr.inl.
References OSG::RefPtr< ContainerPtr >::_pRef, and OSG::setRefd().
Referenced by OSG::RefPtr< ContainerPtr >::operator=().
Ref OSG::RefPtr< ContainerPtr >::_pRef [private] |
Definition at line 124 of file OSGRefPtr.h.
Referenced by OSG::RefPtr< ContainerPtr >::get(), OSG::RefPtr< ContainerPtr >::operator!(), OSG::RefPtr< ContainerPtr >::operator!=(), OSG::RefPtr< ContainerPtr >::operator<(), OSG::RefPtr< ContainerPtr >::operator=(), OSG::RefPtr< ContainerPtr >::operator==(), OSG::RefPtr< ContainerPtr >::RefPtr(), OSG::RefPtr< ContainerPtr >::setRef(), and OSG::RefPtr< ContainerPtr >::~RefPtr().