Public Member Functions | Private Attributes | Friends
android::sp< T > Class Template Reference

#include <libinline.h>

List of all members.

Public Member Functions

T * get () const
 operator T * () const
T & operator* () const
T * operator-> () const
spoperator= (T *other)
spoperator= (const sp< T > &other)
template<typename U >
spoperator= (const sp< U > &other)
 sp ()
 sp (T *other)
 ~sp ()

Private Attributes

T * m_ptr

Friends

class wp

Detailed Description

template<typename T>
class android::sp< T >

Definition at line 11 of file libinline.h.


Constructor & Destructor Documentation

template<typename T>
android::sp< T >::sp ( ) [inline]

Definition at line 13 of file libinline.h.

template<typename T>
android::sp< T >::sp ( T *  other) [inline]

Definition at line 14 of file libinline.h.

template<typename T>
android::sp< T >::~sp ( ) [inline]

Definition at line 15 of file libinline.h.


Member Function Documentation

template<typename T>
T* android::sp< T >::get ( ) const [inline]

Definition at line 22 of file libinline.h.

template<typename T>
android::sp< T >::operator T * ( ) const [inline]

Definition at line 23 of file libinline.h.

template<typename T>
T& android::sp< T >::operator* ( ) const [inline]

Definition at line 20 of file libinline.h.

template<typename T>
T* android::sp< T >::operator-> ( ) const [inline]

Definition at line 21 of file libinline.h.

template<typename T>
sp& android::sp< T >::operator= ( T *  other) [inline]

Definition at line 16 of file libinline.h.

template<typename T>
sp& android::sp< T >::operator= ( const sp< T > &  other) [inline]

Definition at line 17 of file libinline.h.

template<typename T>
template<typename U >
sp& android::sp< T >::operator= ( const sp< U > &  other) [inline]

Definition at line 19 of file libinline.h.


Friends And Related Function Documentation

template<typename T>
friend class wp [friend]

Definition at line 25 of file libinline.h.


Member Data Documentation

template<typename T>
T* android::sp< T >::m_ptr [private]

Definition at line 26 of file libinline.h.


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


dji_ronin
Author(s):
autogenerated on Sat Jun 8 2019 20:15:32