Get an array of registry IDs
#include "dip_registry.h"
dip_Error dip_RegistryList ( id, class, resources )
This function obtains an array of the registered IDs of the Registry class class. See Register for more information about DIPlib's Registry.
The following code gives an example of a class-specific register list function:
dip_Error dip_MsrRegistryList ( dip_IntegerArray *measurement, dip_Resources resources ) { DIP_FN_DECLARE("dip_MsrRegistryList"); DIPXJ( dip_RegistryList( measurement, DIP_REGISTRY_CLASS_MEASUREMENT, resources )); dip_error: DIP_FN_EXIT; }
Data type | Name | Description |
dip_IntegerArray * | id | Pointer to an array of Registry IDs |
dip_int | class | Registry class |
dip_Resources | resources | Resources tracking structure. See ResourcesNew |
Register, Unregister, RegisterClass, RegistryGet, RegistryValid, RegistryArrayNew
DIPlib on-line documentation | Function reference | Global function index