IDA Domain
Types::Iterator Class Reference

Iterator for user-defined types in the IDA type system. More...

#include <type.hpp>

Public Member Functions

 Iterator (const Database &database)
 Constructs a type iterator for the given database. More...
 
std::pair< bool, tinfo_t > get_first ()
 Retrieves the first user-defined type in the database. More...
 
std::pair< bool, tinfo_t > get_next ()
 Retrieves the next user-defined type in the database. More...
 

Detailed Description

Iterator for user-defined types in the IDA type system.

Constructor & Destructor Documentation

◆ Iterator()

Types::Iterator::Iterator ( const Database database)
inline

Constructs a type iterator for the given database.

Parameters
databaseReference to the active IDA database.

Member Function Documentation

◆ get_first()

std::pair<bool, tinfo_t> Types::Iterator::get_first ( )

Retrieves the first user-defined type in the database.

Returns
A pair <bool, tinfo_t>. If no type is found, the bool is false.

◆ get_next()

std::pair<bool, tinfo_t> Types::Iterator::get_next ( )

Retrieves the next user-defined type in the database.

Returns
A pair <bool, tinfo_t>. If no more types, the bool is false.

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