Flutter Engine
The Flutter Engine
Public Member Functions | List of all members
dart::kernel::ClassIndex Class Reference

#include <kernel_loader.h>

Public Member Functions

 ClassIndex (const TypedDataBase &kernel_data, intptr_t class_offset, intptr_t class_size)
 
intptr_t procedure_count () const
 
intptr_t ProcedureOffset (intptr_t index) const
 

Detailed Description

Definition at line 123 of file kernel_loader.h.

Constructor & Destructor Documentation

◆ ClassIndex()

dart::kernel::ClassIndex::ClassIndex ( const TypedDataBase kernel_data,
intptr_t  class_offset,
intptr_t  class_size 
)

Definition at line 195 of file kernel_loader.cc.

198 : reader_(library_kernel_data) {
199 Init(class_offset, class_size);
200}

Member Function Documentation

◆ procedure_count()

intptr_t dart::kernel::ClassIndex::procedure_count ( ) const
inline

Definition at line 131 of file kernel_loader.h.

131{ return procedure_count_; }

◆ ProcedureOffset()

intptr_t dart::kernel::ClassIndex::ProcedureOffset ( intptr_t  index) const
inline

Definition at line 133 of file kernel_loader.h.

133 {
134 return reader_.ReadUInt32At(procedure_index_offset_ + index * 4);
135 }
uint32_t ReadUInt32At(intptr_t offset) const

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