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

#include <d8.h>

Collaboration diagram for v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >:

Public Member Functions

 DisallowReassignment (const char *name, T value)
 
 operator T () const
 
T get () const
 
DisallowReassignmentoperator= (T value)
 
void Overwrite (T value)
 

Private Attributes

const char * name_
 
T value_
 
bool specified_ = false
 

Detailed Description

template<class T, bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
class v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >

Definition at line 406 of file d8.h.

Constructor & Destructor Documentation

◆ DisallowReassignment()

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::DisallowReassignment ( const char * name,
T value )
inline

Definition at line 408 of file d8.h.

Member Function Documentation

◆ get()

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
T v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::get ( ) const
inline

Definition at line 412 of file d8.h.

◆ operator T()

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::operator T ( ) const
inline

Definition at line 411 of file d8.h.

◆ operator=()

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
DisallowReassignment & v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::operator= ( T value)
inline

Definition at line 413 of file d8.h.

◆ Overwrite()

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
void v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::Overwrite ( T value)
inline

Definition at line 429 of file d8.h.

Member Data Documentation

◆ name_

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
const char* v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::name_
private

Definition at line 432 of file d8.h.

◆ specified_

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
bool v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::specified_ = false
private

Definition at line 434 of file d8.h.

◆ value_

template<class T , bool kAllowIdenticalAssignment = std::is_same<T, bool>::value>
T v8::ShellOptions::DisallowReassignment< T, kAllowIdenticalAssignment >::value_
private

Definition at line 433 of file d8.h.


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