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

Visual representation of a member of a complex type (struct/union/enum) More...

#include <typeinf.hpp>

Public Member Functions

void swap (value_repr_t &r)
 DEFINE_MEMORY_ALLOCATION_FUNCS () void clear()
bool empty () const
bool is_enum () const
bool is_offset () const
bool is_strlit () const
bool is_custom () const
bool is_stroff () const
bool is_typref () const
bool is_signed () const
bool has_tabform () const
bool has_lzeroes () const
uint64 get_vtype () const
void set_vtype (uint64 vt)
void set_signed (bool on)
void set_tabform (bool on)
void set_lzeroes (bool on)
void set_ap (const array_parameters_t &_ap)
void init_ap (array_parameters_t *_ap) const
bool from_opinfo (flags64_t flags, aflags_t afl, const opinfo_t *opinfo, const array_parameters_t *_ap)
size_t print (qstring *result, bool colored=false) const
bool parse_value_repr (const qstring &attr, type_t target_type=BTF_STRUCT)
 DECLARE_COMPARISONS (value_repr_t)

Public Attributes

uint64 bits = 0
union { 
   refinfo_t   ri 
 FRB_OFFSET. More...
   int32   strtype 
 FRB_STRLIT. More...
   struct { 
      adiff_t   delta 
 FRB_STROFF. More...
      uint32   type_ordinal 
 FRB_STROFF, FRB_ENUM. More...
   } 
   custom_data_type_info_t   cd 
 FRB_CUSTOM. More...
}; 
 Additional info.
array_parameters_t ap
 FRB_TABFORM, AP_SIGNED is ignored, use FRB_SIGNED instead.

Detailed Description

Visual representation of a member of a complex type (struct/union/enum)

Member Function Documentation

◆ swap()

void value_repr_t::swap ( value_repr_t & r)
inline

◆ DEFINE_MEMORY_ALLOCATION_FUNCS()

value_repr_t::DEFINE_MEMORY_ALLOCATION_FUNCS ( )
inline

◆ empty()

bool value_repr_t::empty ( ) const
inline

◆ is_enum()

bool value_repr_t::is_enum ( ) const
inline

◆ is_offset()

bool value_repr_t::is_offset ( ) const
inline

◆ is_strlit()

bool value_repr_t::is_strlit ( ) const
inline

◆ is_custom()

bool value_repr_t::is_custom ( ) const
inline

◆ is_stroff()

bool value_repr_t::is_stroff ( ) const
inline

◆ is_typref()

bool value_repr_t::is_typref ( ) const
inline

◆ is_signed()

bool value_repr_t::is_signed ( ) const
inline

◆ has_tabform()

bool value_repr_t::has_tabform ( ) const
inline

◆ has_lzeroes()

bool value_repr_t::has_lzeroes ( ) const
inline

◆ get_vtype()

uint64 value_repr_t::get_vtype ( ) const
inline

◆ set_vtype()

void value_repr_t::set_vtype ( uint64 vt)
inline

◆ set_signed()

void value_repr_t::set_signed ( bool on)
inline

◆ set_tabform()

void value_repr_t::set_tabform ( bool on)
inline

◆ set_lzeroes()

void value_repr_t::set_lzeroes ( bool on)
inline

◆ set_ap()

void value_repr_t::set_ap ( const array_parameters_t & _ap)
inline

◆ init_ap()

void value_repr_t::init_ap ( array_parameters_t * _ap) const
inline

◆ from_opinfo()

bool value_repr_t::from_opinfo ( flags64_t flags,
aflags_t afl,
const opinfo_t * opinfo,
const array_parameters_t * _ap )
inline

◆ print()

size_t value_repr_t::print ( qstring * result,
bool colored = false ) const
inline

◆ parse_value_repr()

bool value_repr_t::parse_value_repr ( const qstring & attr,
type_t target_type = BTF_STRUCT )
inline

◆ DECLARE_COMPARISONS()

value_repr_t::DECLARE_COMPARISONS ( value_repr_t )

Member Data Documentation

◆ bits

uint64 value_repr_t::bits = 0

◆ ri

refinfo_t value_repr_t::ri

FRB_OFFSET.

◆ strtype

int32 value_repr_t::strtype

FRB_STRLIT.

◆ delta

adiff_t value_repr_t::delta

FRB_STROFF.

◆ type_ordinal

uint32 value_repr_t::type_ordinal

FRB_STROFF, FRB_ENUM.

◆ cd

custom_data_type_info_t value_repr_t::cd

FRB_CUSTOM.

◆ [union]

union { ... } value_repr_t

Additional info.

◆ ap

array_parameters_t value_repr_t::ap

FRB_TABFORM, AP_SIGNED is ignored, use FRB_SIGNED instead.


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