The DataType class provides the set of enumeration values that represent each and every supported OMM data type, including all OMM containers, messages, and primitives. Each class representing OMM data identifies itself with an appropriate DataType enumeration value (e.g., DataType::FieldListEnum, DataType::RefreshMsgEnum). You can use the Data::getDataType() method to learn the data type of a given object.
The DataType class list of enumeration values contains two special enumeration values, which can only be received when reading or extracting information from OMM containers or messages:
• DataType::ErrorEnum, which indicates an error condition was detected. For more details, refer to Section 3.2.5.
• DataType::NoDataEnum, which signifies a lack of data on the summary of a container, message payload, or attribute.