Module gwy :: Class DataValidateFlags
[hide private]
[frames] | no frames]

Class DataValidateFlags

source code

Flags controlling gwy_data_validate() behaviour.

Note passing DATA_VALIDATE_NO_REPORT is allowed only if DATA_VALIDATE_CORRECT is present too.


Since: 2.9

Note: All the enumerated values are defined at the module level, not the class level. The are just groupped by class here for easier orientation.

Class Variables [hide private]
  DATA_VALIDATE_ALL
All above flags combined.
  DATA_VALIDATE_CORRECT
Attempt to correct problems.
  DATA_VALIDATE_NO_REPORT
Do not report problems.
  DATA_VALIDATE_REF_COUNT
Report all object items with reference count higher than 1 as DATA_ERROR_REF_COUNT errors.
  DATA_VALIDATE_UNKNOWN
Report all unknown keys as DATA_ERROR_KEY_UNKNOWN errors.
Class Variable Details [hide private]

DATA_VALIDATE_REF_COUNT

Report all object items with reference count higher than 1 as DATA_ERROR_REF_COUNT errors. Obviously this makes sense only with `fresh' data containers.

DATA_VALIDATE_UNKNOWN

Report all unknown keys as DATA_ERROR_KEY_UNKNOWN errors. Note while a data item unknown to the current version of Gwyddion can come from a newer version therefore it can be in certain sense valid.