class StructValue

Defined at line 309 of file ../../src/lib/fidl_codec/wire_object.h

An instance of a Struct.

Public Methods

void AddField (std::string_view name, uint32_t id, std::unique_ptr<Value> value)

Defined at line 219 of file ../../src/lib/fidl_codec/wire_object.cc

std::pair<const Type *, const Value *> GetFieldValue (std::string_view field_name)

Defined at line 210 of file ../../src/lib/fidl_codec/wire_object.cc

bool NeedsToLoadHandleInfo (int64_t timestamp, zx_koid_t tid, semantic::HandleSemantic * handle_semantic)

Defined at line 226 of file ../../src/lib/fidl_codec/wire_object.cc

size_t DisplaySize (const Type * for_type, size_t remaining_size)

Defined at line 236 of file ../../src/lib/fidl_codec/wire_object.cc

void PrettyPrint (const Type * for_type, PrettyPrinter & printer)

Defined at line 258 of file ../../src/lib/fidl_codec/wire_object.cc

void Visit (Visitor * visitor, const Type * for_type)

Defined at line 294 of file ../../src/lib/fidl_codec/wire_object.cc

void StructValue (const Struct & struct_definition)

Defined at line 311 of file ../../src/lib/fidl_codec/wire_object.h

const Struct & struct_definition ()

Defined at line 313 of file ../../src/lib/fidl_codec/wire_object.h

const std::map<const StructMember *, std::unique_ptr<Value>> & fields ()

Defined at line 314 of file ../../src/lib/fidl_codec/wire_object.h

void AddField (const StructMember * member, std::unique_ptr<Value> value)

Defined at line 316 of file ../../src/lib/fidl_codec/wire_object.h

void AddField (std::string_view name, std::unique_ptr<Value> value)

Defined at line 320 of file ../../src/lib/fidl_codec/wire_object.h

StructValue * AsStructValue ()

Defined at line 326 of file ../../src/lib/fidl_codec/wire_object.h

const StructValue * AsStructValue ()

Defined at line 327 of file ../../src/lib/fidl_codec/wire_object.h