ReflectedField

Represents information about a member variable of a class or variant (see ReflectedClass and ReflectedVariant).


$struct+ ReflectedField
{
    $ConstStringZ GetName() const { return m_name; }
    $ssize_t GetOffset() const { return m_offset; }

    //////////////// State //////////////////
    ConstStringZ m_name;
    ssize_t m_offset;
    const octet_t* m_bc;
};


ConstStringZ m_name

The name of the member variable represented as a pointer to a UTF-8 encoded null-terminated string (see ConstStringZ).


ssize_t m_offset

The offset in bytes to the member variable in the containing class.


const octet_t* m_bc

Pointer to an array of octets which is the byte code defining the type of the member variable.