IDA C++ SDK 9.2
Loading...
Searching...
No Matches
valrng_t Class Reference

#include <hexrays.hpp>

Public Member Functions

 valrng_t (int size_=MAX_VLR_SIZE)
 valrng_t (const valrng_t &r)
 ~valrng_t ()
valrng_toperator= (const valrng_t &r)
void swap (valrng_t &r)
 DECLARE_COMPARISONS (valrng_t)
 DEFINE_MEMORY_ALLOCATION_FUNCS () void set_none()
void set_all ()
void set_unk ()
void hexapi set_eq (uvlr_t v)
void hexapi set_cmp (cmpop_t cmp, uvlr_t _value)
bool hexapi reduce_size (int new_size)
bool hexapi intersect_with (const valrng_t &r)
bool hexapi unite_with (const valrng_t &r)
void hexapi inverse ()
bool empty () const
bool all_values () const
bool is_unknown () const
bool hexapi has (uvlr_t v) const
void hexapi print (qstring *vout) const
const char *hexapi dstr () const
bool hexapi cvt_to_single_value (uvlr_t *v) const
bool hexapi cvt_to_cmp (cmpop_t *cmp, uvlr_t *val) const
int get_size () const
uvlr_t max_value () const
uvlr_t min_svalue () const
uvlr_t max_svalue () const

Protected Member Functions

void hexapi clear ()
void hexapi copy (const valrng_t &r)
valrng_t &hexapi assign (const valrng_t &r)

Protected Attributes

int flags
int size
union { 
   struct { 
      uvlr_t   value 
      uvlr_t   limit 
      svlr_t   stride 
   } 
   struct { 
      uvlr_t   zeroes 
      uvlr_t   ones 
   } 
   char   reserved [sizeof(qvector< int >)] 
}; 

Constructor & Destructor Documentation

◆ valrng_t() [1/2]

valrng_t::valrng_t ( int size_ = MAX_VLR_SIZE)
inlineexplicit

◆ valrng_t() [2/2]

valrng_t::valrng_t ( const valrng_t & r)
inline

◆ ~valrng_t()

valrng_t::~valrng_t ( )
inline

Member Function Documentation

◆ clear()

void valrng_t::clear ( )
inlineprotected

◆ copy()

void valrng_t::copy ( const valrng_t & r)
inlineprotected

◆ assign()

valrng_t & valrng_t::assign ( const valrng_t & r)
inlineprotected

◆ operator=()

valrng_t & valrng_t::operator= ( const valrng_t & r)
inline

◆ swap()

void valrng_t::swap ( valrng_t & r)
inline

◆ DECLARE_COMPARISONS()

valrng_t::DECLARE_COMPARISONS ( valrng_t )

◆ DEFINE_MEMORY_ALLOCATION_FUNCS()

valrng_t::DEFINE_MEMORY_ALLOCATION_FUNCS ( )
inline

◆ set_all()

void valrng_t::set_all ( )
inline

◆ set_unk()

void valrng_t::set_unk ( )
inline

◆ set_eq()

void valrng_t::set_eq ( uvlr_t v)
inline

◆ set_cmp()

void valrng_t::set_cmp ( cmpop_t cmp,
uvlr_t _value )
inline

◆ reduce_size()

bool valrng_t::reduce_size ( int new_size)
inline

◆ intersect_with()

bool valrng_t::intersect_with ( const valrng_t & r)
inline

◆ unite_with()

bool valrng_t::unite_with ( const valrng_t & r)
inline

◆ inverse()

void valrng_t::inverse ( )
inline

◆ empty()

bool valrng_t::empty ( ) const
inline

◆ all_values()

bool valrng_t::all_values ( ) const
inline

◆ is_unknown()

bool valrng_t::is_unknown ( ) const
inline

◆ has()

bool valrng_t::has ( uvlr_t v) const
inline

◆ print()

void valrng_t::print ( qstring * vout) const
inline

◆ dstr()

const char * valrng_t::dstr ( ) const
inline

◆ cvt_to_single_value()

bool valrng_t::cvt_to_single_value ( uvlr_t * v) const
inline

◆ cvt_to_cmp()

bool valrng_t::cvt_to_cmp ( cmpop_t * cmp,
uvlr_t * val ) const
inline

◆ get_size()

int valrng_t::get_size ( ) const
inline

◆ max_value()

uvlr_t valrng_t::max_value ( ) const
inline

◆ min_svalue()

uvlr_t valrng_t::min_svalue ( ) const
inline

◆ max_svalue()

uvlr_t valrng_t::max_svalue ( ) const
inline

Member Data Documentation

◆ flags

int valrng_t::flags
protected

◆ size

int valrng_t::size
protected

◆ value

uvlr_t valrng_t::value

◆ limit

uvlr_t valrng_t::limit

◆ stride

svlr_t valrng_t::stride

◆ zeroes

uvlr_t valrng_t::zeroes

◆ ones

uvlr_t valrng_t::ones

◆ reserved

char valrng_t::reserved[sizeof(qvector< int >)]

◆ [union]

union { ... } valrng_t

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