IDA Domain
Xrefs::FromIterator Class Reference

Iterator for outgoing cross-references (from the specified address). More...

#include <xref.hpp>

+ Inheritance diagram for Xrefs::FromIterator:
+ Collaboration diagram for Xrefs::FromIterator:

Public Member Functions

 FromIterator (const Database &database, const ea_t ea)
 Constructs an iterator for cross-references from a given address. More...
 
std::pair< bool, xrefblk_t > get_first ()
 Retrieves the first outgoing xref. More...
 
std::pair< bool, xrefblk_t > get_next ()
 Retrieves the next outgoing xref. More...
 

Additional Inherited Members

- Protected Member Functions inherited from Xrefs::Iterator
 Iterator (const Database &database, const ea_t ea)
 
- Protected Attributes inherited from Xrefs::Iterator
const Databasem_database
 
const ea_t m_ea
 
xrefblk_t m_xrefblk
 

Detailed Description

Iterator for outgoing cross-references (from the specified address).

Constructor & Destructor Documentation

◆ FromIterator()

Xrefs::FromIterator::FromIterator ( const Database database,
const ea_t  ea 
)
inline

Constructs an iterator for cross-references from a given address.

Parameters
databaseReference to the active IDA database.
eaThe source effective address.

Member Function Documentation

◆ get_first()

std::pair<bool, xrefblk_t> Xrefs::FromIterator::get_first ( )

Retrieves the first outgoing xref.

Returns
A pair <bool, xrefblk_t>. The bool is false if no xref is found.

◆ get_next()

std::pair<bool, xrefblk_t> Xrefs::FromIterator::get_next ( )

Retrieves the next outgoing xref.

Returns
A pair <bool, xrefblk_t>. The bool is false if no more xrefs exist.

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