v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SmartPointerBase< Deallocator, T > Class Template Reference

#include <smart-pointers.h>

Public Member Functions

 SmartPointerBase ()
 
 SmartPointerBase (T *ptr)
 
 SmartPointerBase (const SmartPointerBase< Deallocator, T > &rhs)
 
Toperator-> () const
 
Toperator* () const
 
Tget () const
 
Toperator[] (size_t i)
 
const Toperator[] (size_t i) const
 
TDetach ()
 
void Reset (T *new_value)
 
SmartPointerBase< Deallocator,
T > & 
operator= (const SmartPointerBase< Deallocator, T > &rhs)
 
bool is_empty () const
 

Protected Member Functions

 ~SmartPointerBase ()
 

Detailed Description

template<typename Deallocator, typename T>
class v8::internal::SmartPointerBase< Deallocator, T >

Definition at line 36 of file smart-pointers.h.

Constructor & Destructor Documentation

SmartPointerBase ( )
inline

Definition at line 39 of file smart-pointers.h.

SmartPointerBase ( T ptr)
inlineexplicit

Definition at line 42 of file smart-pointers.h.

SmartPointerBase ( const SmartPointerBase< Deallocator, T > &  rhs)
inline

Definition at line 46 of file smart-pointers.h.

~SmartPointerBase ( )
inlineprotected

Definition at line 105 of file smart-pointers.h.

Member Function Documentation

T* Detach ( )
inline

Definition at line 75 of file smart-pointers.h.

Referenced by StringsStorage::GetName().

T& operator* ( ) const
inline

Definition at line 53 of file smart-pointers.h.

T* operator-> ( ) const
inline

Definition at line 51 of file smart-pointers.h.

SmartPointerBase<Deallocator, T>& operator= ( const SmartPointerBase< Deallocator, T > &  rhs)
inline

Definition at line 90 of file smart-pointers.h.

T& operator[] ( size_t  i)
inline

Definition at line 58 of file smart-pointers.h.

const T& operator[] ( size_t  i) const
inline

Definition at line 63 of file smart-pointers.h.

void Reset ( T new_value)
inline

Definition at line 81 of file smart-pointers.h.

Referenced by CodeStubGraphBuilderBase::CodeStubGraphBuilderBase().


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