Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::DoubleMessageDeserializationCluster Class Reference
Inheritance diagram for dart::DoubleMessageDeserializationCluster:
dart::MessageDeserializationCluster dart::ZoneAllocated

Public Member Functions

 DoubleMessageDeserializationCluster (bool is_canonical)
 
 ~DoubleMessageDeserializationCluster ()
 
void ReadNodes (MessageDeserializer *d)
 
void ReadNodesApi (ApiMessageDeserializer *d)
 
- Public Member Functions inherited from dart::MessageDeserializationCluster
 MessageDeserializationCluster (const char *name, bool is_canonical=false)
 
virtual ~MessageDeserializationCluster ()
 
virtual void ReadNodes (MessageDeserializer *d)=0
 
virtual void ReadEdges (MessageDeserializer *d)
 
virtual ObjectPtr PostLoad (MessageDeserializer *d)
 
virtual void ReadNodesApi (ApiMessageDeserializer *d)
 
virtual void ReadEdgesApi (ApiMessageDeserializer *d)
 
virtual void PostLoadApi (ApiMessageDeserializer *d)
 
void ReadNodesWrapped (MessageDeserializer *d)
 
void ReadNodesWrappedApi (ApiMessageDeserializer *d)
 
const char * name () const
 
bool is_canonical () const
 
- Public Member Functions inherited from dart::ZoneAllocated
 ZoneAllocated ()
 
void * operator new (size_t size)
 
void * operator new (size_t size, Zone *zone)
 
void operator delete (void *pointer)
 

Additional Inherited Members

- Protected Member Functions inherited from dart::MessageDeserializationCluster
ObjectPtr PostLoadAbstractType (MessageDeserializer *d)
 
ObjectPtr PostLoadLinkedHash (MessageDeserializer *d)
 
 DISALLOW_COPY_AND_ASSIGN (MessageDeserializationCluster)
 
- Protected Attributes inherited from dart::MessageDeserializationCluster
const char *const name_
 
const bool is_canonical_
 
intptr_t start_index_
 
intptr_t stop_index_
 

Detailed Description

Definition at line 995 of file message_snapshot.cc.

Constructor & Destructor Documentation

◆ DoubleMessageDeserializationCluster()

dart::DoubleMessageDeserializationCluster::DoubleMessageDeserializationCluster ( bool  is_canonical)
inlineexplicit

Definition at line 998 of file message_snapshot.cc.

MessageDeserializationCluster(const char *name, bool is_canonical=false)

◆ ~DoubleMessageDeserializationCluster()

dart::DoubleMessageDeserializationCluster::~DoubleMessageDeserializationCluster ( )
inline

Definition at line 1000 of file message_snapshot.cc.

1000{}

Member Function Documentation

◆ ReadNodes()

void dart::DoubleMessageDeserializationCluster::ReadNodes ( MessageDeserializer d)
inlinevirtual

Implements dart::MessageDeserializationCluster.

Definition at line 1002 of file message_snapshot.cc.

1002 {
1003 const intptr_t count = d->ReadUnsigned();
1004 for (intptr_t i = 0; i < count; i++) {
1005 double value = d->Read<double>();
1007 : Double::New(value));
1008 }
1009 }
int count
Definition: FontMgrTest.cpp:50
static DoublePtr NewCanonical(double d)
Definition: object.cc:23418
VULKAN_HPP_DEFAULT_DISPATCH_LOADER_DYNAMIC_STORAGE auto & d
Definition: main.cc:19
uint8_t value

◆ ReadNodesApi()

void dart::DoubleMessageDeserializationCluster::ReadNodesApi ( ApiMessageDeserializer d)
inlinevirtual

Reimplemented from dart::MessageDeserializationCluster.

Definition at line 1011 of file message_snapshot.cc.

1011 {
1012 intptr_t count = d->ReadUnsigned();
1013 for (intptr_t i = 0; i < count; i++) {
1014 Dart_CObject* dbl = d->Allocate(Dart_CObject_kDouble);
1015 dbl->value.as_double = d->Read<double>();
1016 d->AssignRef(dbl);
1017 }
1018 }
@ Dart_CObject_kDouble
union _Dart_CObject::@86 value

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