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

#include <config.hpp>

Classes

struct  num_range_t
struct  params_t

Public Member Functions

constexpr cfgopt_t (const char *_n, char *_p, size_t _sz, bool _long=true)
constexpr cfgopt_t (const char *_n, qstring *_p, bool _long=true)
constexpr cfgopt_t (const char *_n, int *_p)
constexpr cfgopt_t (const char *_n, uint *_p)
constexpr cfgopt_t (const char *_n, char *_p)
constexpr cfgopt_t (const char *_n, uchar *_p)
constexpr cfgopt_t (const char *_n, short *_p)
constexpr cfgopt_t (const char *_n, ushort *_p)
constexpr cfgopt_t (const char *_n, int *_p, int _min, int _max)
constexpr cfgopt_t (const char *_n, uint *_p, uint _min, uint _max)
constexpr cfgopt_t (const char *_n, char *_p, char _min, char _max)
constexpr cfgopt_t (const char *_n, uchar *_p, uchar _min, uchar _max)
constexpr cfgopt_t (const char *_n, short *_p, short _min, short _max)
constexpr cfgopt_t (const char *_n, ushort *_p, ushort _min, ushort _max)
constexpr cfgopt_t (const char *_n, bool *_p, bool _flags)
constexpr cfgopt_t (const char *_n, uchar *_p, uchar _flags)
constexpr cfgopt_t (const char *_n, ushort *_p, ushort _flags)
constexpr cfgopt_t (const char *_n, uint32 *_p, uint32 _flags)
constexpr cfgopt_t (const char *_n, int64 *_p)
constexpr cfgopt_t (const char *_n, uint64 *_p)
constexpr cfgopt_t (const char *_n, int64 *_p, int64 _min, int64 _max)
constexpr cfgopt_t (const char *_n, uint64 *_p, uint64 _min, uint64 _max)
constexpr cfgopt_t (const char *_n, cfgopt_handler_t *_p)
constexpr cfgopt_t (const char *_n, cfgopt_handler2_t *_p, int64 _p1=0, int64 _p2=0)
constexpr cfgopt_t (const char *_n, jvalue_t *_p)
template<class T>
constexpr cfgopt_t (const char *_n, qstring T::*, size_t _mbroff, bool _long=true)
template<class T>
constexpr cfgopt_t (const char *_n, char *T::*, size_t _mbroff, bool _long=true)
 CTR_CFGOPT (int, 0) CTR_CFGOPT(uint
IDPOPT_NUM_UNS CTR_CFGOPT (char, IDPOPT_NUM_CHAR) CTR_CFGOPT(uchar
IDPOPT_NUM_UNS IDPOPT_NUM_UNS IDPOPT_NUM_CHAR CTR_CFGOPT (short, IDPOPT_NUM_SHORT) CTR_CFGOPT(ushort
 CTR_CFGOPT (int, 0) CTR_CFGOPT(uint
IDPOPT_NUM_UNS CTR_CFGOPT (char, IDPOPT_NUM_CHAR) CTR_CFGOPT(uchar
IDPOPT_NUM_UNS IDPOPT_NUM_UNS IDPOPT_NUM_CHAR CTR_CFGOPT (short, IDPOPT_NUM_SHORT) CTR_CFGOPT(ushort
 CTR_CFGOPT (bool, IDPOPT_BIT_BOOL)
 CTR_CFGOPT (uchar, IDPOPT_BIT_UCHAR)
 CTR_CFGOPT (ushort, IDPOPT_BIT_USHORT)
 CTR_CFGOPT (uint32, 0)
template<class T>
constexpr cfgopt_t (const char *_n, int64 T::*, size_t _mbroff)
template<class T>
constexpr cfgopt_t (const char *_n, uint64 T::*, size_t _mbroff)
template<class T>
constexpr cfgopt_t (const char *_n, jvalue_t T::*, size_t _mbroff)
template<class T>
constexpr cfgopt_t (const char *_n, int64 T::*, size_t _mbroff, int64 _min, int64 _max)
template<class T>
constexpr cfgopt_t (const char *_n, uint64 T::*, size_t _mbroff, uint64 _min, uint64 _max)
constexpr cfgopt_t (const char *_n, cfgopt_handler3_t *_p, int64 _p1=0, int64 _p2=0)
int type () const
int qualifier () const
bool is_mbroff () const
bool get_number (int64 *out, lexer_t *lx, const token_t &_t, int range_bit, int usign_bit) const
const char * apply (int vtype, const void *vdata, void *obj=nullptr) const
const char * apply (lexer_t *lx, int vtype, const void *vdata, void *obj=nullptr) const

Public Attributes

const char * name
union { 
   void *   ptr 
   size_t   mbroff 
   cfgopt_handler_t *   hnd 
   cfgopt_handler2_t *   hnd2 
   cfgopt_handler3_t *   hnd3 
}; 
int flags
union { 
   size_t   buf_size 
   num_range_t   num_range 
   uint32   bit_flags 
   params_t   params 
   void *   mbroff_obj 
}; 

Constructor & Destructor Documentation

◆ cfgopt_t() [1/33]

cfgopt_t::cfgopt_t ( const char * _n,
char * _p,
size_t _sz,
bool _long = true )
inlineconstexpr

◆ cfgopt_t() [2/33]

cfgopt_t::cfgopt_t ( const char * _n,
qstring * _p,
bool _long = true )
inlineconstexpr

◆ cfgopt_t() [3/33]

cfgopt_t::cfgopt_t ( const char * _n,
int * _p )
inlineconstexpr

◆ cfgopt_t() [4/33]

cfgopt_t::cfgopt_t ( const char * _n,
uint * _p )
inlineconstexpr

◆ cfgopt_t() [5/33]

cfgopt_t::cfgopt_t ( const char * _n,
char * _p )
inlineconstexpr

◆ cfgopt_t() [6/33]

cfgopt_t::cfgopt_t ( const char * _n,
uchar * _p )
inlineconstexpr

◆ cfgopt_t() [7/33]

cfgopt_t::cfgopt_t ( const char * _n,
short * _p )
inlineconstexpr

◆ cfgopt_t() [8/33]

cfgopt_t::cfgopt_t ( const char * _n,
ushort * _p )
inlineconstexpr

◆ cfgopt_t() [9/33]

cfgopt_t::cfgopt_t ( const char * _n,
int * _p,
int _min,
int _max )
inlineconstexpr

◆ cfgopt_t() [10/33]

cfgopt_t::cfgopt_t ( const char * _n,
uint * _p,
uint _min,
uint _max )
inlineconstexpr

◆ cfgopt_t() [11/33]

cfgopt_t::cfgopt_t ( const char * _n,
char * _p,
char _min,
char _max )
inlineconstexpr

◆ cfgopt_t() [12/33]

cfgopt_t::cfgopt_t ( const char * _n,
uchar * _p,
uchar _min,
uchar _max )
inlineconstexpr

◆ cfgopt_t() [13/33]

cfgopt_t::cfgopt_t ( const char * _n,
short * _p,
short _min,
short _max )
inlineconstexpr

◆ cfgopt_t() [14/33]

cfgopt_t::cfgopt_t ( const char * _n,
ushort * _p,
ushort _min,
ushort _max )
inlineconstexpr

◆ cfgopt_t() [15/33]

cfgopt_t::cfgopt_t ( const char * _n,
bool * _p,
bool _flags )
inlineconstexpr

◆ cfgopt_t() [16/33]

cfgopt_t::cfgopt_t ( const char * _n,
uchar * _p,
uchar _flags )
inlineconstexpr

◆ cfgopt_t() [17/33]

cfgopt_t::cfgopt_t ( const char * _n,
ushort * _p,
ushort _flags )
inlineconstexpr

◆ cfgopt_t() [18/33]

cfgopt_t::cfgopt_t ( const char * _n,
uint32 * _p,
uint32 _flags )
inlineconstexpr

◆ cfgopt_t() [19/33]

cfgopt_t::cfgopt_t ( const char * _n,
int64 * _p )
inlineconstexpr

◆ cfgopt_t() [20/33]

cfgopt_t::cfgopt_t ( const char * _n,
uint64 * _p )
inlineconstexpr

◆ cfgopt_t() [21/33]

cfgopt_t::cfgopt_t ( const char * _n,
int64 * _p,
int64 _min,
int64 _max )
inlineconstexpr

◆ cfgopt_t() [22/33]

cfgopt_t::cfgopt_t ( const char * _n,
uint64 * _p,
uint64 _min,
uint64 _max )
inlineconstexpr

◆ cfgopt_t() [23/33]

cfgopt_t::cfgopt_t ( const char * _n,
cfgopt_handler_t * _p )
inlineconstexpr

◆ cfgopt_t() [24/33]

cfgopt_t::cfgopt_t ( const char * _n,
cfgopt_handler2_t * _p,
int64 _p1 = 0,
int64 _p2 = 0 )
inlineconstexpr

◆ cfgopt_t() [25/33]

cfgopt_t::cfgopt_t ( const char * _n,
jvalue_t * _p )
inlineconstexpr

◆ cfgopt_t() [26/33]

template<class T>
cfgopt_t::cfgopt_t ( const char * _n,
qstring T::* ,
size_t _mbroff,
bool _long = true )
inlineconstexpr

◆ cfgopt_t() [27/33]

template<class T>
cfgopt_t::cfgopt_t ( const char * _n,
char *T::* ,
size_t _mbroff,
bool _long = true )
inlineconstexpr

◆ cfgopt_t() [28/33]

template<class T>
cfgopt_t::cfgopt_t ( const char * _n,
int64 T::* ,
size_t _mbroff )
inlineconstexpr

◆ cfgopt_t() [29/33]

template<class T>
cfgopt_t::cfgopt_t ( const char * _n,
uint64 T::* ,
size_t _mbroff )
inlineconstexpr

◆ cfgopt_t() [30/33]

template<class T>
cfgopt_t::cfgopt_t ( const char * _n,
jvalue_t T::* ,
size_t _mbroff )
inlineconstexpr

◆ cfgopt_t() [31/33]

template<class T>
cfgopt_t::cfgopt_t ( const char * _n,
int64 T::* ,
size_t _mbroff,
int64 _min,
int64 _max )
inlineconstexpr

◆ cfgopt_t() [32/33]

template<class T>
cfgopt_t::cfgopt_t ( const char * _n,
uint64 T::* ,
size_t _mbroff,
uint64 _min,
uint64 _max )
inlineconstexpr

◆ cfgopt_t() [33/33]

cfgopt_t::cfgopt_t ( const char * _n,
cfgopt_handler3_t * _p,
int64 _p1 = 0,
int64 _p2 = 0 )
inlineconstexpr

Member Function Documentation

◆ CTR_CFGOPT() [1/10]

cfgopt_t::CTR_CFGOPT ( int ,
0  )

◆ CTR_CFGOPT() [2/10]

IDPOPT_NUM_UNS cfgopt_t::CTR_CFGOPT ( char ,
IDPOPT_NUM_CHAR  )

◆ CTR_CFGOPT() [3/10]

IDPOPT_NUM_UNS IDPOPT_NUM_UNS IDPOPT_NUM_CHAR cfgopt_t::CTR_CFGOPT ( short ,
IDPOPT_NUM_SHORT  )

◆ CTR_CFGOPT() [4/10]

cfgopt_t::CTR_CFGOPT ( int ,
0  )

◆ CTR_CFGOPT() [5/10]

IDPOPT_NUM_UNS cfgopt_t::CTR_CFGOPT ( char ,
IDPOPT_NUM_CHAR  )

◆ CTR_CFGOPT() [6/10]

IDPOPT_NUM_UNS IDPOPT_NUM_UNS IDPOPT_NUM_CHAR cfgopt_t::CTR_CFGOPT ( short ,
IDPOPT_NUM_SHORT  )

◆ CTR_CFGOPT() [7/10]

cfgopt_t::CTR_CFGOPT ( bool ,
IDPOPT_BIT_BOOL  )

◆ CTR_CFGOPT() [8/10]

cfgopt_t::CTR_CFGOPT ( uchar ,
IDPOPT_BIT_UCHAR  )

◆ CTR_CFGOPT() [9/10]

cfgopt_t::CTR_CFGOPT ( ushort ,
IDPOPT_BIT_USHORT  )

◆ CTR_CFGOPT() [10/10]

cfgopt_t::CTR_CFGOPT ( uint32 ,
0  )

◆ type()

int cfgopt_t::type ( ) const
inline

◆ qualifier()

int cfgopt_t::qualifier ( ) const
inline

◆ is_mbroff()

bool cfgopt_t::is_mbroff ( ) const
inline

◆ get_number()

bool cfgopt_t::get_number ( int64 * out,
lexer_t * lx,
const token_t & _t,
int range_bit,
int usign_bit ) const

◆ apply() [1/2]

const char * cfgopt_t::apply ( int vtype,
const void * vdata,
void * obj = nullptr ) const
inline

◆ apply() [2/2]

const char * cfgopt_t::apply ( lexer_t * lx,
int vtype,
const void * vdata,
void * obj = nullptr ) const
inline

Member Data Documentation

◆ name

const char* cfgopt_t::name

◆ ptr

void* cfgopt_t::ptr

◆ mbroff

size_t cfgopt_t::mbroff

◆ hnd

cfgopt_handler_t* cfgopt_t::hnd

◆ hnd2

cfgopt_handler2_t* cfgopt_t::hnd2

◆ hnd3

cfgopt_handler3_t* cfgopt_t::hnd3

◆ [union]

union { ... } cfgopt_t

◆ flags

int cfgopt_t::flags

◆ buf_size

size_t cfgopt_t::buf_size

◆ num_range

num_range_t cfgopt_t::num_range

◆ bit_flags

uint32 cfgopt_t::bit_flags

◆ params

params_t cfgopt_t::params

◆ mbroff_obj

void* cfgopt_t::mbroff_obj

◆ [union]

union { ... } cfgopt_t

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