Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::CompressedStackMaps::RawPayloadHandle Class Reference

#include <object.h>

Public Member Functions

 RawPayloadHandle ()
 
 RawPayloadHandle (const RawPayloadHandle &)=default
 
RawPayloadHandleoperator= (const RawPayloadHandle &)=default
 
const UntaggedCompressedStackMaps::Payloadpayload () const
 
bool IsNull () const
 
RawPayloadHandleoperator= (const UntaggedCompressedStackMaps::Payload *payload)
 
RawPayloadHandleoperator= (const CompressedStackMaps &maps)
 
RawPayloadHandleoperator= (CompressedStackMapsPtr maps)
 
uintptr_t payload_size () const
 
const uint8_t * data () const
 
bool UsesGlobalTable () const
 
bool IsGlobalTable () const
 

Detailed Description

Definition at line 6332 of file object.h.

Constructor & Destructor Documentation

◆ RawPayloadHandle() [1/2]

dart::CompressedStackMaps::RawPayloadHandle::RawPayloadHandle ( )
inline

Definition at line 6334 of file object.h.

6334{}

◆ RawPayloadHandle() [2/2]

dart::CompressedStackMaps::RawPayloadHandle::RawPayloadHandle ( const RawPayloadHandle )
default

Member Function Documentation

◆ data()

const uint8_t * dart::CompressedStackMaps::RawPayloadHandle::data ( ) const
inline

Definition at line 6365 of file object.h.

6365{ return payload()->data(); }
const UntaggedCompressedStackMaps::Payload * payload() const
Definition: object.h:6338

◆ IsGlobalTable()

bool dart::CompressedStackMaps::RawPayloadHandle::IsGlobalTable ( ) const
inline

Definition at line 6372 of file object.h.

6372 {
6374 payload()->flags_and_size());
6375 }
static DecodeResult decode(std::string path)
Definition: png_codec.cpp:124

◆ IsNull()

bool dart::CompressedStackMaps::RawPayloadHandle::IsNull ( ) const
inline

Definition at line 6341 of file object.h.

6341{ return payload_ == nullptr; }

◆ operator=() [1/4]

RawPayloadHandle & dart::CompressedStackMaps::RawPayloadHandle::operator= ( CompressedStackMapsPtr  maps)
inline

Definition at line 6355 of file object.h.

6355 {
6357 payload_ = maps.untag()->payload();
6358 return *this;
6359 }
static ObjectPtr null()
Definition: object.h:433
#define ASSERT(E)

◆ operator=() [2/4]

RawPayloadHandle & dart::CompressedStackMaps::RawPayloadHandle::operator= ( const CompressedStackMaps maps)
inline

Definition at line 6349 of file object.h.

6349 {
6350 ASSERT(!maps.IsNull());
6351 payload_ = maps.untag()->payload();
6352 return *this;
6353 }

◆ operator=() [3/4]

RawPayloadHandle & dart::CompressedStackMaps::RawPayloadHandle::operator= ( const RawPayloadHandle )
default

◆ operator=() [4/4]

RawPayloadHandle & dart::CompressedStackMaps::RawPayloadHandle::operator= ( const UntaggedCompressedStackMaps::Payload payload)
inline

Definition at line 6343 of file object.h.

6344 {
6345 payload_ = payload;
6346 return *this;
6347 }

◆ payload()

const UntaggedCompressedStackMaps::Payload * dart::CompressedStackMaps::RawPayloadHandle::payload ( ) const
inline

Definition at line 6338 of file object.h.

6338 {
6339 return payload_;
6340 }

◆ payload_size()

uintptr_t dart::CompressedStackMaps::RawPayloadHandle::payload_size ( ) const
inline

Definition at line 6361 of file object.h.

6361 {
6363 payload()->flags_and_size());
6364 }

◆ UsesGlobalTable()

bool dart::CompressedStackMaps::RawPayloadHandle::UsesGlobalTable ( ) const
inline

Definition at line 6367 of file object.h.

6367 {
6369 payload()->flags_and_size());
6370 }

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