Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
perfetto::protos::pbzero::InternedString_Decoder Class Reference

#include <profile_common.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::InternedString_Decoder:

Public Member Functions

 InternedString_Decoder (const uint8_t *data, size_t len)
 
 InternedString_Decoder (const std::string &raw)
 
 InternedString_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_iid () const
 
uint64_t iid () const
 
bool has_str () const
 
::protozero::ConstBytes str () const
 

Detailed Description

Definition at line 320 of file profile_common.pbzero.h.

Constructor & Destructor Documentation

◆ InternedString_Decoder() [1/3]

perfetto::protos::pbzero::InternedString_Decoder::InternedString_Decoder ( const uint8_t *  data,
size_t  len 
)
inline

Definition at line 324 of file profile_common.pbzero.h.

325 : TypedProtoDecoder(data, len) {}
std::shared_ptr< const fml::Mapping > data
Definition: texture_gles.cc:63

◆ InternedString_Decoder() [2/3]

perfetto::protos::pbzero::InternedString_Decoder::InternedString_Decoder ( const std::string &  raw)
inlineexplicit

Definition at line 326 of file profile_common.pbzero.h.

327 : TypedProtoDecoder(reinterpret_cast<const uint8_t*>(raw.data()),
328 raw.size()) {}

◆ InternedString_Decoder() [3/3]

perfetto::protos::pbzero::InternedString_Decoder::InternedString_Decoder ( const ::protozero::ConstBytes &  raw)
inlineexplicit

Definition at line 329 of file profile_common.pbzero.h.

330 : TypedProtoDecoder(raw.data, raw.size) {}

Member Function Documentation

◆ has_iid()

bool perfetto::protos::pbzero::InternedString_Decoder::has_iid ( ) const
inline

Definition at line 331 of file profile_common.pbzero.h.

331{ return at<1>().valid(); }

◆ has_str()

bool perfetto::protos::pbzero::InternedString_Decoder::has_str ( ) const
inline

Definition at line 333 of file profile_common.pbzero.h.

333{ return at<2>().valid(); }

◆ iid()

uint64_t perfetto::protos::pbzero::InternedString_Decoder::iid ( ) const
inline

Definition at line 332 of file profile_common.pbzero.h.

332{ return at<1>().as_uint64(); }

◆ str()

::protozero::ConstBytes perfetto::protos::pbzero::InternedString_Decoder::str ( ) const
inline

Definition at line 334 of file profile_common.pbzero.h.

334{ return at<2>().as_bytes(); }

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