DIPlib Documentation - ©1995-2017 Quantitative Imaging Group, Delft University of Technology.

RegistryValid

Validate an registry item

SYNOPSIS

#include "dip_registry.h"

dip_Error dip_RegistryValid ( id, class, verdict )

FUNCTION

This function checks whether id has been registered in the Registry in the Registry class class. If verdict is not zero, the validation information (DIP_FALSE or DIP_TRUE) is copied to verdict. Otherwise an error is returned in case the validation fails.

See Register for more information about DIPlib's Registry.

ARGUMENTS

Data typeNameDescription
dip_intidRegistry ID
dip_intclassRegistry class
dip_Boolean *verdictPointer to a boolean containing the validation data

SEE ALSO

Register, Unregister, RegisterClass, RegistryList, RegistryGet, RegistryArrayNew