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

#include <safe_conversions_impl.h>

Collaboration diagram for v8::base::internal::RangeCheck:

Public Member Functions

constexpr RangeCheck ()=default
 
constexpr RangeCheck (bool is_in_lower_bound, bool is_in_upper_bound)
 
constexpr bool operator== (const RangeCheck &rhs) const =default
 
constexpr bool IsValid () const
 
constexpr bool IsInvalid () const
 
constexpr bool IsOverflow () const
 
constexpr bool IsUnderflow () const
 
constexpr bool IsOverflowFlagSet () const
 
constexpr bool IsUnderflowFlagSet () const
 

Private Attributes

const bool is_underflow_ = false
 
const bool is_overflow_ = false
 

Detailed Description

Definition at line 144 of file safe_conversions_impl.h.

Constructor & Destructor Documentation

◆ RangeCheck() [1/2]

v8::base::internal::RangeCheck::RangeCheck ( )
constexprdefault

◆ RangeCheck() [2/2]

v8::base::internal::RangeCheck::RangeCheck ( bool is_in_lower_bound,
bool is_in_upper_bound )
inlineconstexpr

Definition at line 147 of file safe_conversions_impl.h.

Member Function Documentation

◆ IsInvalid()

bool v8::base::internal::RangeCheck::IsInvalid ( ) const
inlineconstexpr

Definition at line 153 of file safe_conversions_impl.h.

◆ IsOverflow()

bool v8::base::internal::RangeCheck::IsOverflow ( ) const
inlineconstexpr

Definition at line 154 of file safe_conversions_impl.h.

Here is the caller graph for this function:

◆ IsOverflowFlagSet()

bool v8::base::internal::RangeCheck::IsOverflowFlagSet ( ) const
inlineconstexpr

Definition at line 156 of file safe_conversions_impl.h.

Here is the caller graph for this function:

◆ IsUnderflow()

bool v8::base::internal::RangeCheck::IsUnderflow ( ) const
inlineconstexpr

Definition at line 155 of file safe_conversions_impl.h.

Here is the caller graph for this function:

◆ IsUnderflowFlagSet()

bool v8::base::internal::RangeCheck::IsUnderflowFlagSet ( ) const
inlineconstexpr

Definition at line 157 of file safe_conversions_impl.h.

Here is the caller graph for this function:

◆ IsValid()

bool v8::base::internal::RangeCheck::IsValid ( ) const
inlineconstexpr

Definition at line 152 of file safe_conversions_impl.h.

Here is the caller graph for this function:

◆ operator==()

bool v8::base::internal::RangeCheck::operator== ( const RangeCheck & rhs) const
constexprdefault

Member Data Documentation

◆ is_overflow_

const bool v8::base::internal::RangeCheck::is_overflow_ = false
private

Definition at line 163 of file safe_conversions_impl.h.

◆ is_underflow_

const bool v8::base::internal::RangeCheck::is_underflow_ = false
private

Definition at line 162 of file safe_conversions_impl.h.


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