| IDA SDK

Public Attributes | Public Member Functions | List of all members
type_mods_t Struct Reference

## Detailed Description

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

## Public Attributes
tinfo_t | type
| current type
qstring | name
| current type name
qstring | cmt
| comment for current type
int | flags = 0
| Type modification bits

## Public Member Functions
void | clear ()
void | set_new_type (const tinfo_t &t)
| The visit_type() function may optionally save the modified type info. More...
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

## Member Function Documentation

## ◆ 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.

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

- typeinf.hpp