Note
Use the callback api and the rmt_PropertyGetxxx accessors to traverse this structure.
struct rmtProperty {
rmtBool initialised;
rmtPropertyType type;
rmtPropertyFlags flags;
rmtPropertyValue value;
rmtPropertyValue lastFrameValue;
rmtPropertyValue prevValue;
rmtU32 prevValueFrame;
char const * name;
char const * description;
rmtPropertyValue defaultValue;
rmtProperty * parent;
rmtProperty * firstChild;
rmtProperty * lastChild;
rmtProperty * nextSibling;
rmtU32 nameHash;
rmtU32 uniqueID;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | RMTProperty.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | DEFAULTVALUE
The struct member offsets. |
| public static final int | DESCRIPTION
The struct member offsets. |
| public static final int | FIRSTCHILD
The struct member offsets. |
| public static final int | FLAGS
The struct member offsets. |
| public static final int | INITIALISED
The struct member offsets. |
| public static final int | LASTCHILD
The struct member offsets. |
| public static final int | LASTFRAMEVALUE
The struct member offsets. |
| public static final int | NAME
The struct member offsets. |
| public static final int | NAMEHASH
The struct member offsets. |
| public static final int | NEXTSIBLING
The struct member offsets. |
| public static final int | PARENT
The struct member offsets. |
| public static final int | PREVVALUE
The struct member offsets. |
| public static final int | PREVVALUEFRAME
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | TYPE
The struct member offsets. |
| public static final int | UNIQUEID
The struct member offsets. |
| public static final int | VALUE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | RMTProperty(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static RMTProperty | |
| public static RMTProperty. | calloc(int
the buffer capacity capacity)Returns a new |
| public static RMTProperty | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RMTProperty. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected RMTProperty | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static RMTProperty | |
| public static RMTProperty | |
| public static RMTProperty. | create(int
the buffer capacity capacity)Returns a new |
| public static RMTProperty. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static RMTProperty | |
| public static RMTProperty. | |
| public RMTPropertyValue | |
| public RMTProperty | defaultValue(RMTPropertyValue value)
Copies the specified |
| public RMTProperty | defaultValue(Consumer<RMTPropertyValue> consumer)
Passes the |
| public ByteBuffer | |
| public RMTProperty | description(ByteBuffer value)
Sets the address of the specified encoded string to the |
| public String | |
| public RMTProperty | |
| public RMTProperty | |
| public int | |
| public RMTProperty | |
| public boolean | initialised()
gets set to |
| public RMTProperty | |
| public RMTProperty | |
| public RMTProperty | |
| public RMTPropertyValue | |
| public RMTProperty | lastFrameValue(RMTPropertyValue value)
Copies the specified |
| public RMTProperty | lastFrameValue(Consumer<RMTPropertyValue> consumer)
Passes the |
| public static RMTProperty | |
| public static RMTProperty. | malloc(int
the buffer capacity capacity)Returns a new |
| public static RMTProperty | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static RMTProperty. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public ByteBuffer | |
| public RMTProperty | |
| public int | |
| public RMTProperty | |
| public String | |
| public static RMTPropertyValue | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static String | |
| public RMTProperty | |
| public RMTProperty | nextSibling(RMTProperty value)
Sets the address of the specified |
| public static RMTProperty | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static RMTProperty | |
| public static void | |
| public static RMTPropertyValue | |
| public static void | |
| public static ByteBuffer | |
| public static void | |
| public static int | |
| public static void | |
| public static String | |
| public static RMTProperty | |
| public static void | |
| public static RMTProperty | |
| public static void | |
| public static RMTPropertyValue | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static RMTPropertyValue | |
| public static void | |
| public RMTProperty | parent()
parent link specifically placed after default value so that variadic macro can initialise it |
| public RMTProperty | |
| public RMTPropertyValue | |
| public RMTProperty | |
| public RMTProperty | |
| public int | |
| public RMTProperty | |
| public RMTProperty | set(boolean initialised, int type, int flags, RMTPropertyValue value, RMTPropertyValue lastFrameValue, RMTPropertyValue prevValue, int prevValueFrame, ByteBuffer name, ByteBuffer description, RMTPropertyValue defaultValue, RMTProperty parent, RMTProperty firstChild, RMTProperty lastChild, RMTProperty nextSibling, int nameHash, int uniqueID)
Initializes this struct with the specified values. |
| public RMTProperty | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public RMTProperty | |
| public int | |
| public RMTProperty | |
| public static void | |
| public RMTPropertyValue | |
| public RMTProperty | |
| public RMTProperty |