IDA C++ SDK 9.2
Loading...
Searching...
No Matches
user_graph_place_t Struct Reference

Structure returned by get_custom_viewer_place() if the first parameter is a graph viewer. More...

#include <graph.hpp>

Inheritance diagram for user_graph_place_t:
place_t

Public Attributes

int node
Public Attributes inherited from place_t
int lnnum
 Number of line within the current object.
void *ud const = 0

Additional Inherited Members

Public Member Functions inherited from place_t
 place_t ()
 Constructor.
 place_t (int ln)
 Constructor.
 DEFINE_MEMORY_ALLOCATION_FUNCS () virtual void idaapi print(qstring *vout
 Generate a short description of the location.
virtual uval_t idaapi touval (void *ud) const =0
 Map the location to a number.
virtual place_t *idaapi clone () const =0
 Clone the location.
virtual void idaapi copyfrom (const place_t *from)=0
 Copy the specified location object to the current object.
virtual place_t *idaapi makeplace (void *ud, uval_t x, int lnnum) const =0
 Map a number to a location.
virtual int idaapi compare (const place_t *t2) const =0
 Deprecated. Please consider compare2(const place_t *, void *) instead.
virtual void idaapi adjust (void *ud)=0
 Adjust the current location to point to a displayable object.
virtual bool idaapi prev (void *ud)=0
 Move to the previous displayable location.
virtual bool idaapi next (void *ud)=0
 Move to the next displayable location.
virtual bool idaapi beginning (void *ud) const =0
 Are we at the first displayable object?
virtual bool idaapi ending (void *ud) const =0
 Are we at the last displayable object?
virtual int idaapi generate (qstrvec_t *out, int *out_deflnnum, color_t *out_pfx_color, bgcolor_t *out_bgcolor, void *ud, int maxsize) const =0
 Generate text lines for the current location.
virtual void idaapi serialize (bytevec_t *out) const =0
 Serialize this instance.
virtual bool idaapi deserialize (const uchar **pptr, const uchar *end)=0
 De-serialize into this instance.
virtual int idaapi id () const =0
 Get the place's ID (i.e., the value returned by register_place_class())
virtual const char *idaapi name () const =0
 Get this place type name.
virtual ea_t idaapi toea () const
 Map the location to an ea_t.
virtual bool idaapi rebase (const segm_move_infos_t &)
 Rebase the place instance.
virtual place_t *idaapi enter (uint32 *) const
 Visit this place, possibly 'unhiding' a section of text.
virtual void idaapi leave (uint32) const
 Leave this place, possibly 'hiding' a section of text that was previously expanded (at enter()-time.)
virtual int idaapi compare2 (const place_t *t2, void *) const
 Compare two locations except line numbers (lnnum).
virtual bool idaapi equals (const place_t *t2, void *ud) const
 Compare two places for equality, ignoring line numbers (lnnum).

Detailed Description

Structure returned by get_custom_viewer_place() if the first parameter is a graph viewer.

Member Data Documentation

◆ node

int user_graph_place_t::node

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