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) |
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 | has_type (void) const |
bool | has_name (void) const |
bool | has_cmt (void) const |
bool | has_info (void) const |
Public Attributes | |
tinfo_t | type |
current type | |
qstring | name |
current type name | |
qstring | cmt |
comment for current type | |
int | flags |
Type modification bits | |
Detailed Description
Information about how to modify the current type, used by tinfo_visitor_t.
Member Function Documentation
◆ set_new_type()
|
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:
Generated by