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

#include <perfetto-utils.h>

Collaboration diagram for v8::internal::PerfettoV8String:

Classes

struct  Hasher
 

Public Member Functions

 PerfettoV8String (Tagged< String > string)
 
 PerfettoV8String (const PerfettoV8String &) V8_NOEXCEPT=delete
 
PerfettoV8Stringoperator= (const PerfettoV8String &) V8_NOEXCEPT=delete
 
 PerfettoV8String (PerfettoV8String &&) V8_NOEXCEPT=default
 
PerfettoV8Stringoperator= (PerfettoV8String &&) V8_NOEXCEPT=default
 
bool is_one_byte () const
 
template<typename Proto >
void WriteToProto (Proto &proto) const
 
bool operator== (const PerfettoV8String &o) const
 
bool operator!= (const PerfettoV8String &o) const
 

Private Attributes

bool is_one_byte_
 
size_t size_
 
std::unique_ptr< uint8_t[]> buffer_
 

Detailed Description

Definition at line 23 of file perfetto-utils.h.

Constructor & Destructor Documentation

◆ PerfettoV8String() [1/3]

v8::internal::PerfettoV8String::PerfettoV8String ( Tagged< String > string)
explicit

Definition at line 15 of file perfetto-utils.cc.

Here is the call graph for this function:

◆ PerfettoV8String() [2/3]

v8::internal::PerfettoV8String::PerfettoV8String ( const PerfettoV8String & )
delete

◆ PerfettoV8String() [3/3]

v8::internal::PerfettoV8String::PerfettoV8String ( PerfettoV8String && )
default

Member Function Documentation

◆ is_one_byte()

bool v8::internal::PerfettoV8String::is_one_byte ( ) const
inline

Definition at line 33 of file perfetto-utils.h.

Here is the caller graph for this function:

◆ operator!=()

bool v8::internal::PerfettoV8String::operator!= ( const PerfettoV8String & o) const
inline

Definition at line 52 of file perfetto-utils.h.

◆ operator=() [1/2]

PerfettoV8String & v8::internal::PerfettoV8String::operator= ( const PerfettoV8String & )
delete

◆ operator=() [2/2]

PerfettoV8String & v8::internal::PerfettoV8String::operator= ( PerfettoV8String && )
default

◆ operator==()

bool v8::internal::PerfettoV8String::operator== ( const PerfettoV8String & o) const
inline

Definition at line 47 of file perfetto-utils.h.

◆ WriteToProto()

template<typename Proto >
void v8::internal::PerfettoV8String::WriteToProto ( Proto & proto) const
inline

Definition at line 35 of file perfetto-utils.h.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ buffer_

std::unique_ptr<uint8_t[]> v8::internal::PerfettoV8String::buffer_
private

Definition at line 66 of file perfetto-utils.h.

◆ is_one_byte_

bool v8::internal::PerfettoV8String::is_one_byte_
private

Definition at line 64 of file perfetto-utils.h.

◆ size_

size_t v8::internal::PerfettoV8String::size_
private

Definition at line 65 of file perfetto-utils.h.


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