LLDB mainline
Classes | Public Member Functions | Protected Attributes | List of all members
lldb_private::ProcessStructReader Class Reference

#include <ProcessStructReader.h>

Collaboration diagram for lldb_private::ProcessStructReader:
Collaboration graph


struct  FieldImpl

Public Member Functions

 ProcessStructReader (Process *process, lldb::addr_t base_addr, CompilerType struct_type)
template<typename RetType >
RetType GetField (ConstString name, RetType fail_value=RetType())
size_t GetOffsetOf (ConstString name, size_t fail_value=SIZE_MAX)

Protected Attributes

std::map< ConstString, FieldImplm_fields
DataExtractor m_data
lldb::ByteOrder m_byte_order
size_t m_addr_byte_size

Detailed Description

Definition at line 27 of file ProcessStructReader.h.

Constructor & Destructor Documentation

◆ ProcessStructReader()

lldb_private::ProcessStructReader::ProcessStructReader ( Process process,
lldb::addr_t  base_addr,
CompilerType  struct_type 

Member Function Documentation

◆ GetField()

template<typename RetType >
RetType lldb_private::ProcessStructReader::GetField ( ConstString  name,
RetType  fail_value = RetType() 

◆ GetOffsetOf()

size_t lldb_private::ProcessStructReader::GetOffsetOf ( ConstString  name,
size_t  fail_value = SIZE_MAX 

Definition at line 96 of file ProcessStructReader.h.

References m_fields.

Member Data Documentation

◆ m_addr_byte_size

size_t lldb_private::ProcessStructReader::m_addr_byte_size

Definition at line 38 of file ProcessStructReader.h.

Referenced by ProcessStructReader().

◆ m_byte_order

lldb::ByteOrder lldb_private::ProcessStructReader::m_byte_order

Definition at line 37 of file ProcessStructReader.h.

Referenced by ProcessStructReader().

◆ m_data

DataExtractor lldb_private::ProcessStructReader::m_data

Definition at line 36 of file ProcessStructReader.h.

Referenced by GetField(), and ProcessStructReader().

◆ m_fields

std::map<ConstString, FieldImpl> lldb_private::ProcessStructReader::m_fields

Definition at line 35 of file ProcessStructReader.h.

Referenced by GetField(), GetOffsetOf(), and ProcessStructReader().

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