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

Bitfield type information (see tinfo_t::get_bitfield_details()) More...

#include <typeinf.hpp>

Public Member Functions

 bitfield_type_data_t (uchar _nbytes=0, uchar _width=0, bool _is_unsigned=false)
bool serialize (qtype *type, type_t mods) const
 DECLARE_COMPARISONS (bitfield_type_data_t)
void swap (bitfield_type_data_t &r)
bool is_valid_bitfield () const

Public Attributes

uchar nbytes
 enclosing type size (1,2,4,8 bytes)
uchar width
 number of bits
bool is_unsigned
 is bitfield unsigned?

Detailed Description

Bitfield type information (see tinfo_t::get_bitfield_details())

Constructor & Destructor Documentation

◆ bitfield_type_data_t()

bitfield_type_data_t::bitfield_type_data_t ( uchar _nbytes = 0,
uchar _width = 0,
bool _is_unsigned = false )
inline

Member Function Documentation

◆ serialize()

bool bitfield_type_data_t::serialize ( qtype * type,
type_t mods ) const

◆ DECLARE_COMPARISONS()

bitfield_type_data_t::DECLARE_COMPARISONS ( bitfield_type_data_t )
inline

◆ swap()

void bitfield_type_data_t::swap ( bitfield_type_data_t & r)
inline

◆ is_valid_bitfield()

bool bitfield_type_data_t::is_valid_bitfield ( ) const
inline

Member Data Documentation

◆ nbytes

uchar bitfield_type_data_t::nbytes

enclosing type size (1,2,4,8 bytes)

◆ width

uchar bitfield_type_data_t::width

number of bits

◆ is_unsigned

bool bitfield_type_data_t::is_unsigned

is bitfield unsigned?


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