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

Information about how to modify the current type, used by tinfo_visitor_t. More...

#include <typeinf.hpp>

Public Member Functions

void clear ()
void set_new_type (const tinfo_t &t)
 The visit_type() function may optionally save the modified type info.
void set_new_name (const qstring &n)
void set_new_cmt (const qstring &c, bool rptcmt)
bool has_type () const
bool has_name () const
bool has_cmt () const
bool is_rptcmt () const
bool has_info () const

Public Attributes

tinfo_t type
 current type
qstring name
 current type name
qstring cmt
 comment for current type
int flags = 0
 Type modification bits

Detailed Description

Information about how to modify the current type, used by tinfo_visitor_t.

Member Function Documentation

◆ clear()

void type_mods_t::clear ( )
inline

◆ set_new_type()

void type_mods_t::set_new_type ( const tinfo_t & t)
inline

The visit_type() function may optionally save the modified type info.

Use the following functions for that. The new name and comment will be applied only if the current tinfo element has storage for them.

◆ set_new_name()

void type_mods_t::set_new_name ( const qstring & n)
inline

◆ set_new_cmt()

void type_mods_t::set_new_cmt ( const qstring & c,
bool rptcmt )
inline

◆ has_type()

bool type_mods_t::has_type ( ) const
inline

◆ has_name()

bool type_mods_t::has_name ( ) const
inline

◆ has_cmt()

bool type_mods_t::has_cmt ( ) const
inline

◆ is_rptcmt()

bool type_mods_t::is_rptcmt ( ) const
inline

◆ has_info()

bool type_mods_t::has_info ( ) const
inline

Member Data Documentation

◆ type

tinfo_t type_mods_t::type

current type

◆ name

qstring type_mods_t::name

current type name

◆ cmt

qstring type_mods_t::cmt

comment for current type

◆ flags

int type_mods_t::flags = 0

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