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

#include <debug_annotation.pbzero.h>

Inheritance diagram for perfetto::protos::pbzero::DebugAnnotation_Decoder:

Public Member Functions

 DebugAnnotation_Decoder (const uint8_t *data, size_t len)
 
 DebugAnnotation_Decoder (const std::string &raw)
 
 DebugAnnotation_Decoder (const ::protozero::ConstBytes &raw)
 
bool has_name () const
 
::protozero::ConstChars name () const
 
bool has_string_value () const
 
::protozero::ConstChars string_value () const
 
bool has_legacy_json_value () const
 
::protozero::ConstChars legacy_json_value () const
 

Detailed Description

Definition at line 27 of file debug_annotation.pbzero.h.

Constructor & Destructor Documentation

◆ DebugAnnotation_Decoder() [1/3]

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

Definition at line 31 of file debug_annotation.pbzero.h.

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

◆ DebugAnnotation_Decoder() [2/3]

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

Definition at line 33 of file debug_annotation.pbzero.h.

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

◆ DebugAnnotation_Decoder() [3/3]

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

Definition at line 36 of file debug_annotation.pbzero.h.

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

Member Function Documentation

◆ has_legacy_json_value()

bool perfetto::protos::pbzero::DebugAnnotation_Decoder::has_legacy_json_value ( ) const
inline

Definition at line 42 of file debug_annotation.pbzero.h.

42{ return at<9>().valid(); }

◆ has_name()

bool perfetto::protos::pbzero::DebugAnnotation_Decoder::has_name ( ) const
inline

Definition at line 38 of file debug_annotation.pbzero.h.

38{ return at<10>().valid(); }

◆ has_string_value()

bool perfetto::protos::pbzero::DebugAnnotation_Decoder::has_string_value ( ) const
inline

Definition at line 40 of file debug_annotation.pbzero.h.

40{ return at<6>().valid(); }

◆ legacy_json_value()

::protozero::ConstChars perfetto::protos::pbzero::DebugAnnotation_Decoder::legacy_json_value ( ) const
inline

Definition at line 43 of file debug_annotation.pbzero.h.

43 {
44 return at<9>().as_string();
45 }

◆ name()

::protozero::ConstChars perfetto::protos::pbzero::DebugAnnotation_Decoder::name ( ) const
inline

Definition at line 39 of file debug_annotation.pbzero.h.

39{ return at<10>().as_string(); }

◆ string_value()

::protozero::ConstChars perfetto::protos::pbzero::DebugAnnotation_Decoder::string_value ( ) const
inline

Definition at line 41 of file debug_annotation.pbzero.h.

41{ return at<6>().as_string(); }

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