Function cras::hasField

Function Documentation

bool cras::hasField(const ::cras::Cloud &cloud, const ::std::string &fieldName)

Return true if the cloud contains a field with the given name.

Parameters:
  • cloud[in] The cloud to search.

  • fieldName[in] Name of the field.

Returns:

Whether the field is there or not.