v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::SetOncePointer< T > Class Template Reference

#include <utils.h>

Collaboration diagram for v8::internal::SetOncePointer< T >:

Public Member Functions

 SetOncePointer ()=default
 
bool is_set () const
 
Tget () const
 
void set (T *value)
 
SetOncePointeroperator= (T *value)
 
bool operator== (std::nullptr_t) const
 
bool operator!= (std::nullptr_t) const
 

Private Attributes

Tpointer_ = nullptr
 

Detailed Description

template<typename T>
class v8::internal::SetOncePointer< T >

Definition at line 324 of file utils.h.

Constructor & Destructor Documentation

◆ SetOncePointer()

template<typename T >
v8::internal::SetOncePointer< T >::SetOncePointer ( )
default

Member Function Documentation

◆ get()

template<typename T >
T * v8::internal::SetOncePointer< T >::get ( ) const
inline

Definition at line 330 of file utils.h.

◆ is_set()

template<typename T >
bool v8::internal::SetOncePointer< T >::is_set ( ) const
inline

Definition at line 328 of file utils.h.

◆ operator!=()

template<typename T >
bool v8::internal::SetOncePointer< T >::operator!= ( std::nullptr_t ) const
inline

Definition at line 346 of file utils.h.

◆ operator=()

template<typename T >
SetOncePointer & v8::internal::SetOncePointer< T >::operator= ( T * value)
inline

Definition at line 340 of file utils.h.

Here is the call graph for this function:

◆ operator==()

template<typename T >
bool v8::internal::SetOncePointer< T >::operator== ( std::nullptr_t ) const
inline

Definition at line 345 of file utils.h.

◆ set()

template<typename T >
void v8::internal::SetOncePointer< T >::set ( T * value)
inline

Definition at line 335 of file utils.h.

Here is the caller graph for this function:

Member Data Documentation

◆ pointer_

template<typename T >
T* v8::internal::SetOncePointer< T >::pointer_ = nullptr
private

Definition at line 349 of file utils.h.


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