GDB (xrefs)
Loading...
Searching...
No Matches
Classes | Public Member Functions | Private Member Functions | Private Attributes | List of all members
struct_field_searcher Struct Reference

Classes

struct  found_field
 

Public Member Functions

 struct_field_searcher (const char *name, struct type *outermost_type, bool looking_for_baseclass)
 
void search (struct value *arg, LONGEST offset, struct type *type)
 
const std::vector< found_field > & fields ()
 
struct valuebaseclass ()
 

Private Member Functions

void update_result (struct value *v, LONGEST boffset)
 

Private Attributes

const char * m_name
 
const bool m_looking_for_baseclass
 
LONGEST m_last_boffset = 0
 
struct valuem_baseclass = nullptr
 
std::vector< found_fieldm_fields
 
struct typem_outermost_type
 
std::vector< struct type * > m_struct_path
 

Detailed Description

Definition at line 1862 of file valops.c.

Constructor & Destructor Documentation

◆ struct_field_searcher()

struct_field_searcher::struct_field_searcher ( const char *  name,
struct type outermost_type,
bool  looking_for_baseclass 
)
inline

Definition at line 1875 of file valops.c.

Member Function Documentation

◆ baseclass()

struct value * struct_field_searcher::baseclass ( )
inline

Definition at line 1898 of file valops.c.

References m_baseclass.

Referenced by search_struct_field().

◆ fields()

const std::vector< found_field > & struct_field_searcher::fields ( )
inline

Definition at line 1893 of file valops.c.

References m_fields.

Referenced by search_struct_field().

◆ search()

void struct_field_searcher::search ( struct value arg,
LONGEST  offset,
struct type type 
)

◆ update_result()

void struct_field_searcher::update_result ( struct value v,
LONGEST  boffset 
)
private

Member Data Documentation

◆ m_baseclass

struct value* struct_field_searcher::m_baseclass = nullptr
private

Definition at line 1918 of file valops.c.

Referenced by baseclass(), and update_result().

◆ m_fields

std::vector<found_field> struct_field_searcher::m_fields
private

Definition at line 1922 of file valops.c.

Referenced by fields(), and update_result().

◆ m_last_boffset

LONGEST struct_field_searcher::m_last_boffset = 0
private

Definition at line 1915 of file valops.c.

Referenced by update_result().

◆ m_looking_for_baseclass

const bool struct_field_searcher::m_looking_for_baseclass
private

Definition at line 1911 of file valops.c.

Referenced by search(), and update_result().

◆ m_name

const char* struct_field_searcher::m_name
private

Definition at line 1908 of file valops.c.

Referenced by search(), and update_result().

◆ m_outermost_type

struct type* struct_field_searcher::m_outermost_type
private

Definition at line 1926 of file valops.c.

Referenced by update_result().

◆ m_struct_path

std::vector<struct type *> struct_field_searcher::m_struct_path
private

Definition at line 1931 of file valops.c.

Referenced by search(), and update_result().


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