Hello,
Does anyone know how to encode elementSetDefs and the different entries Inside ?
Like
<elementSetDefs>
<elementSetDef setId="0">
<elementSetDefEntry name="NAME" dataType="RSSL_DT_ASCII_STRING" />
<elementSetDefEntry name="FID" dataType="RSSL_DT_INT_2" />
<elementSetDefEntry name="RIPPLETO" dataType="RSSL_DT_INT_2" />
<elementSetDefEntry name="TYPE" dataType="RSSL_DT_INT_1" />
<elementSetDefEntry name="LENGTH" dataType="RSSL_DT_UINT_2" />
<elementSetDefEntry name="RWFTYPE" dataType="RSSL_DT_UINT_1" />
<elementSetDefEntry name="RWFLEN" dataType="RSSL_DT_UINT_2" />
<elementSetDefEntry name="ENUMLENGTH" dataType="RSSL_DT_UINT_2" />
<elementSetDefEntry name="LONGNAME" dataType="RSSL_DT_ASCII_STRING" />
</elementSetDef>
</elementSetDefs>
In the documentation, it seems we can declare the elementSetDefs as an RsslBuffer :
Include/rtr/rsslVector.h: RsslBuffer encSetDefs; /*!< @brief Contains encoded set definition information when present. Presence is indicated by \ref RsslVectorFlags ::RSSL_VTF_HAS_SET_DEFS. When decoding, this contains encoded set definitions. When encoding, pre-encoded set definition information can be specified here; if not pre-encoded the user can encode set definitions and invoke rsslEncodeVectorSetDefsComplete() when ready to continue encoding RsslVector contents. */
But Can't find out how to declare the different elementSetDefEntry (what function to use and what kind of data).
Any clue ?
Kind regards,
Yannick