|
|
bool | InRangeByLength (s32 val) const |
| |
|
void | AssertInRangeByLength (s32 val) const |
| |
|
u32 | GetType () const |
| |
|
s32 | GetMin () const |
| |
|
s32 | GetMax () const |
| |
|
s32 | GetDefault () const |
| |
|
u64 | GetLongDefault () const |
| |
|
bool | InRange (s32 val) const |
| |
|
void | AssertInRange (s32 val) const |
| |
|
| VD (u32 type, u32 len, u32 pos, s32 min, s32 vdef, s32 max) |
| |
|
| VD (u32 type, u32 len, u32 pos, u64 longdef) |
| |
|
void | AssertIsType (u32 type) const |
| |
| template<class CC > |
| s32 | GetBitsAsS32 (const typename CC::ATOM_TYPE &a) const |
| |
| template<class CC > |
| void | SetBitsAsS32 (typename CC::ATOM_TYPE &a, s32 val) const |
| |
| template<class CC > |
| u64 | GetBitsAsU64 (const typename CC::ATOM_TYPE &a) const |
| |
| template<class CC > |
| void | SetBitsAsU64 (typename CC::ATOM_TYPE &a, u64 val) const |
| |
|
template<class CC > |
| u32 | GetValueU32 (const typename CC::ATOM_TYPE &a) const |
| |
|
template<class CC > |
| void | SetValueU32 (typename CC::ATOM_TYPE &a, const u32 val) const |
| |
|
template<class CC > |
| s32 | GetValueS32 (const typename CC::ATOM_TYPE &a) const |
| |
|
template<class CC > |
| void | SetValueS32 (typename CC::ATOM_TYPE &a, const s32 val) const |
| |
|
template<class CC > |
| bool | GetValueBool (const typename CC::ATOM_TYPE &a) const |
| |
|
template<class CC > |
| void | SetValueBool (typename CC::ATOM_TYPE &a, const bool val) const |
| |
|
template<class CC > |
| u32 | GetValueUnary (const typename CC::ATOM_TYPE &a) const |
| |
|
template<class CC > |
| void | SetValueUnary (typename CC::ATOM_TYPE &a, const u32 val) const |
| |
|
|
static bool | ValidType (u32 type) |
| |
|
static void | AssertValidType (u32 type) |
| |
|
static const char * | GetTypeName (u32 t) |
| |
|
static s32 | GetMin (u32 type, u32 bits) |
| |
|
static s32 | GetMax (u32 type, u32 bits) |
| |
|
static u32 | MakeMask (u32 length) |
| |
| template<class CC > |
| static u32 | GetFieldAsBits (const u32 length, const u32 start, const typename CC::ATOM_TYPE &a) |
| | Raw bits value. More...
|
| |
|
template<class CC > |
| static void | SetFieldAsBits (const u32 length, const u32 start, typename CC::ATOM_TYPE &a, const u32 val) |
| |
|
template<class CC > |
| static u64 | GetLongFieldAsBits (const u32 length, const u32 start, const typename CC::ATOM_TYPE &a) |
| |
|
template<class CC > |
| static void | SetLongFieldAsBits (const u32 length, const u32 start, typename CC::ATOM_TYPE &a, const u64 val) |
| |
|
template<class CC > |
| static u32 | GetFieldAsU32 (const u32 length, const u32 start, const typename CC::ATOM_TYPE &a) |
| | u32 value
|
| |
|
template<class CC > |
| static void | SetFieldAsU32 (const u32 length, const u32 start, typename CC::ATOM_TYPE &a, const u32 val) |
| |
|
template<class CC > |
| static s32 | GetFieldAsS32 (const u32 length, const u32 start, const typename CC::ATOM_TYPE &a) |
| | s32 value
|
| |
|
template<class CC > |
| static void | SetFieldAsS32 (const u32 length, const u32 start, typename CC::ATOM_TYPE &a, const s32 val) |
| |
|
template<class CC > |
| static bool | GetFieldAsBool (const u32 length, const u32 start, const typename CC::ATOM_TYPE &a) |
| | bool value
|
| |
|
template<class CC > |
| static void | SetFieldAsBool (const u32 length, const u32 start, typename CC::ATOM_TYPE &a, const bool val) |
| |
|
template<class CC > |
| static u32 | GetFieldAsUnary (const u32 length, const u32 start, const typename CC::ATOM_TYPE &a) |
| | unary value
|
| |
|
template<class CC > |
| static void | SetFieldAsUnary (const u32 length, const u32 start, typename CC::ATOM_TYPE &a, const u32 val) |
| |
A VD is a 'value description'.