v8toolkit  0.0.1
Utility library for embedding V8 Javascript engine in a c++ program
Public Types | Public Member Functions | Friends | List of all members
testing::internal::scoped_ptr< T > Class Template Reference

#include <gtest-port.h>

Public Types

typedef T element_type
 

Public Member Functions

 scoped_ptr (T *p=NULL)
 
 ~scoped_ptr ()
 
T & operator* () const
 
T * operator-> () const
 
T * get () const
 
T * release ()
 
void reset (T *p=NULL)
 

Friends

void swap (scoped_ptr &a, scoped_ptr &b)
 

Detailed Description

template<typename T>
class testing::internal::scoped_ptr< T >

Definition at line 1115 of file gtest-port.h.

Member Typedef Documentation

template<typename T>
typedef T testing::internal::scoped_ptr< T >::element_type

Definition at line 1117 of file gtest-port.h.

Constructor & Destructor Documentation

template<typename T>
testing::internal::scoped_ptr< T >::scoped_ptr ( T *  p = NULL)
inlineexplicit

Definition at line 1119 of file gtest-port.h.

template<typename T>
testing::internal::scoped_ptr< T >::~scoped_ptr ( )
inline

Definition at line 1120 of file gtest-port.h.

Member Function Documentation

template<typename T>
T& testing::internal::scoped_ptr< T >::operator* ( ) const
inline

Definition at line 1122 of file gtest-port.h.

template<typename T>
T* testing::internal::scoped_ptr< T >::operator-> ( ) const
inline

Definition at line 1123 of file gtest-port.h.

template<typename T>
T* testing::internal::scoped_ptr< T >::get ( ) const
inline

Definition at line 1124 of file gtest-port.h.

template<typename T>
T* testing::internal::scoped_ptr< T >::release ( )
inline

Definition at line 1126 of file gtest-port.h.

template<typename T>
void testing::internal::scoped_ptr< T >::reset ( T *  p = NULL)
inline

Definition at line 1132 of file gtest-port.h.

Friends And Related Function Documentation

template<typename T>
void swap ( scoped_ptr< T > &  a,
scoped_ptr< T > &  b 
)
friend

Definition at line 1141 of file gtest-port.h.


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