typeinf.hpp
is the most complex header file in the IDA SDK. Although it's reasonably well-designed once you understand how to use it, there is likely to be a lot of difficulty in your near future. You probably want to start by ignoring the part of the header that your question asks about, and instead look at the class tinfo_t
, which is the primary data structure that IDA uses to represent types. From there, look at its member functions. For example, here are a number of member functions:
bool tinfo_t::is_ptr()
bool tinfo_t::is_array()
bool tinfo_t::is_func()
bool tinfo_t::is_complex()
bool tinfo_t::is_struct()
bool tinfo_t::is_union()
bool tinfo_t::is_udt()
bool tinfo_t::is_enum()
That should get you started. Good luck! You'll need it!