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::iLink3::Messaging::NullUInt32, OnixS::CME::iLink3::Messaging::NullLocalMktDate,OnixS::CME::iLink3::Messaging::NullEnumNULL, OnixS::CME::iLink3::Messaging::NullPRICE9, etc.).
The naming convention for getters is fieldName()
.
Getters for optional fields return true
if the value is present, otherwise - false
.