dxcut/value.h File Reference
#include <dxcut/dex.h>
Go to the source code of this file.
Classes |
| struct | DexValue |
Enumerations |
| enum | DexValueType {
VALUE_BYTE = 0x00,
VALUE_SHORT = 0x02,
VALUE_CHAR = 0x03,
VALUE_INT = 0x04,
VALUE_LONG = 0x06,
VALUE_FLOAT = 0x10,
VALUE_DOUBLE = 0x11,
VALUE_STRING = 0x17,
VALUE_TYPE = 0x18,
VALUE_FIELD = 0x19,
VALUE_METHOD = 0x1a,
VALUE_ENUM = 0x1b,
VALUE_ARRAY = 0x1c,
VALUE_ANNOTATION = 0x1d,
VALUE_NULL = 0x1e,
VALUE_BOOLEAN = 0x1f,
VALUE_SENTINEL = 0xff
} |
Functions |
|
const char * | dxc_value_nice (DexValue *value) |
| | This returns a nicely formated version of the DexValue's contents in the form of a static buffer.
|
|
void | dxc_free_value (DexValue *value) |
| | Frees all data associated with this value. Does not attempt to free the passed pointer.
|
|
int | dxc_is_sentinel_value (DexValue *value) |
| | Returns true if this value marks the end of a value list.
|
|
void | dxc_make_sentinel_value (DexValue *value) |
| | Makes the passed value the end of a value list.
|
Detailed Description
Enumeration Type Documentation
Gives the type of value encoded in a DexValue structure.
- Enumerator:
| VALUE_BYTE |
A byte encoded in DexValue .value.val_byte.
|
| VALUE_SHORT |
A short encoded in DexValue .value.val_short.
|
| VALUE_CHAR |
A char encoded in DexValue .value.val_char.
|
| VALUE_INT |
An int encoded in DexValue .value.val_int.
|
| VALUE_LONG |
A long encoded in DexValue .value.val_long.
|
| VALUE_FLOAT |
A float encoded in DexValue .value.val_float.
|
| VALUE_DOUBLE |
A double encoded in DexValue .value.val_double.
|
| VALUE_STRING |
A string encoded in DexValue .value.val_string.
|
| VALUE_TYPE |
A type encoded in DexValue .value.val_type.
|
| VALUE_FIELD |
A field encoded in DexValue .value.val_field.
|
| VALUE_METHOD |
A method encoded in DexValue .value.val_method.
|
| VALUE_ENUM |
A enum encoded in DexValue .value.val_enum.
|
| VALUE_ARRAY |
A sentinel terminated array encoded in DexValue .value.val_array.
|
| VALUE_ANNOTATION |
An annotation encoded in DexValue .value.val_annotation. This field should never be NULL if DexValue .type is VALUE_ANNOTATION.
|
| VALUE_NULL |
The NULL Object reference.
|
| VALUE_BOOLEAN |
A boolean encoded in DexValue .value.val_boolean.
|