An SBE message provides access to message fields via its methods.
To get/set a field value, use the corresponding method of the strongly typed message class.
The naming convention for setters is setFieldName(..)
.
To set the value of the optional field to null
, use the setFieldNameToNull()
method.
It is also possible to use NullFieldType
constants (OnixS::CME::ConflatedTCP::Messaging::NullUInt32, OnixS::CME::ConflatedTCP::Messaging::NullLocalMktDate,OnixS::CME::ConflatedTCP::Messaging::NullEnumNULL, OnixS::CME::ConflatedTCP::Messaging::NullPRICE9, etc.).
The naming convention for getters is fieldName()
.
Getters for optional fields return true
if the value is present, otherwise - false
.