V8 Project
v8::UniqueId Class Reference

General purpose unique identifier. More...

#include <v8.h>

+ Collaboration diagram for v8::UniqueId:

Public Member Functions

 UniqueId (intptr_t data)
 
bool operator== (const UniqueId &other) const
 
bool operator!= (const UniqueId &other) const
 
bool operator< (const UniqueId &other) const
 

Private Attributes

intptr_t data_
 

Detailed Description

General purpose unique identifier.

Definition at line 144 of file v8.h.

Constructor & Destructor Documentation

◆ UniqueId()

v8::UniqueId::UniqueId ( intptr_t  data)
inlineexplicit

Definition at line 146 of file v8.h.

147  : data_(data) {}
intptr_t data_
Definition: v8.h:162

Member Function Documentation

◆ operator!=()

bool v8::UniqueId::operator!= ( const UniqueId other) const
inline

Definition at line 153 of file v8.h.

153  {
154  return data_ != other.data_;
155  }

References data_.

◆ operator<()

bool v8::UniqueId::operator< ( const UniqueId other) const
inline

Definition at line 157 of file v8.h.

157  {
158  return data_ < other.data_;
159  }

References data_.

◆ operator==()

bool v8::UniqueId::operator== ( const UniqueId other) const
inline

Definition at line 149 of file v8.h.

149  {
150  return data_ == other.data_;
151  }

References data_.

Member Data Documentation

◆ data_

intptr_t v8::UniqueId::data_
private

Definition at line 162 of file v8.h.

Referenced by operator!=(), operator<(), and operator==().


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