webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Public Member Functions | Friends | List of all members
google::protobuf.internal::shared_ptr< T > Class Template Reference

#include <shared_ptr.h>

Public Types

typedef T element_type
 

Public Member Functions

 shared_ptr ()
 
 shared_ptr (T *ptr)
 
template<typename U >
 shared_ptr (const shared_ptr< U > &ptr)
 
 shared_ptr (const shared_ptr< T > &ptr)
 
template<typename U >
shared_ptr< T > & operator= (const shared_ptr< U > &ptr)
 
shared_ptr< T > & operator= (const shared_ptr< T > &ptr)
 
 ~shared_ptr ()
 
template<typename Y >
void reset (Y *p)
 
void reset ()
 
void swap (shared_ptr< T > &r)
 
Tget () const
 
Toperator* () const
 
Toperator-> () const
 
long use_count () const
 
bool unique () const
 

Friends

template<typename U >
class weak_ptr
 
template<typename U >
class shared_ptr
 
template<typename U , typename V >
shared_ptr< U > static_pointer_cast (const shared_ptr< V > &rhs)
 

Member Typedef Documentation

◆ element_type

Constructor & Destructor Documentation

◆ shared_ptr() [1/4]

template<typename T>
google::protobuf.internal::shared_ptr< T >::shared_ptr ( )
inline

◆ shared_ptr() [2/4]

template<typename T>
google::protobuf.internal::shared_ptr< T >::shared_ptr ( T ptr)
inlineexplicit

◆ shared_ptr() [3/4]

template<typename T>
template<typename U >
google::protobuf.internal::shared_ptr< T >::shared_ptr ( const shared_ptr< U > &  ptr)
inline

◆ shared_ptr() [4/4]

template<typename T>
google::protobuf.internal::shared_ptr< T >::shared_ptr ( const shared_ptr< T > &  ptr)
inline

◆ ~shared_ptr()

template<typename T>
google::protobuf.internal::shared_ptr< T >::~shared_ptr ( )
inline

Member Function Documentation

◆ get()

template<typename T>
T* google::protobuf.internal::shared_ptr< T >::get ( ) const
inline

◆ operator*()

template<typename T>
T& google::protobuf.internal::shared_ptr< T >::operator* ( ) const
inline

◆ operator->()

template<typename T>
T* google::protobuf.internal::shared_ptr< T >::operator-> ( ) const
inline

◆ operator=() [1/2]

template<typename T>
template<typename U >
shared_ptr<T>& google::protobuf.internal::shared_ptr< T >::operator= ( const shared_ptr< U > &  ptr)
inline

◆ operator=() [2/2]

template<typename T>
shared_ptr<T>& google::protobuf.internal::shared_ptr< T >::operator= ( const shared_ptr< T > &  ptr)
inline

◆ reset() [1/2]

template<typename T>
template<typename Y >
void google::protobuf.internal::shared_ptr< T >::reset ( Y *  p)
inline

◆ reset() [2/2]

template<typename T>
void google::protobuf.internal::shared_ptr< T >::reset ( )
inline

◆ swap()

template<typename T>
void google::protobuf.internal::shared_ptr< T >::swap ( shared_ptr< T > &  r)
inline

◆ unique()

template<typename T>
bool google::protobuf.internal::shared_ptr< T >::unique ( ) const
inline

◆ use_count()

template<typename T>
long google::protobuf.internal::shared_ptr< T >::use_count ( ) const
inline

Friends And Related Function Documentation

◆ shared_ptr

template<typename T>
template<typename U >
friend class shared_ptr
friend

◆ static_pointer_cast

template<typename T>
template<typename U , typename V >
shared_ptr<U> static_pointer_cast ( const shared_ptr< V > &  rhs)
friend

◆ weak_ptr

template<typename T>
template<typename U >
friend class weak_ptr
friend

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