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
[legend]

Classes

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 
)
inline

Member Function Documentation

◆ GetField()

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

◆ GetOffsetOf()

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

Definition at line 95 of file ProcessStructReader.h.

Member Data Documentation

◆ m_addr_byte_size

size_t lldb_private::ProcessStructReader::m_addr_byte_size
protected

Definition at line 38 of file ProcessStructReader.h.

◆ m_byte_order

lldb::ByteOrder lldb_private::ProcessStructReader::m_byte_order
protected

Definition at line 37 of file ProcessStructReader.h.

◆ m_data

DataExtractor lldb_private::ProcessStructReader::m_data
protected

Definition at line 36 of file ProcessStructReader.h.

◆ m_fields

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

Definition at line 35 of file ProcessStructReader.h.


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