![]() |
Oyranos Colour Management System API |
#include <oyranos_core.h>
Macros | |
#define | OY_SELECT_FILTER 2048 |
select from filter More... | |
#define | OY_SELECT_COMMON 4096 |
select from policySelect typical from a associatable oyCMMapi9_s type of filter for providing common options. More... | |
Functions | |
const char * | oyStructTypeToText (oyOBJECT_e type) |
Objects type to small string. More... | |
char * | oyFilterRegistrationToText (const char *registration, oyFILTER_REG_e type, oyAlloc_f allocateFunc) |
analyse registration string More... | |
int | oyFilterRegistrationMatch (const char *registration, const char *pattern, oyOBJECT_e api_number) |
analyse registration string and compare with a given pattern More... | |
int | oyFilterRegistrationMatchKey (const char *registration1, const char *registration2, oyOBJECT_e api_number) |
compare two registration strings, skip key attributes More... | |
[Template file inheritance graph] +– oyranos_object.template.h
Oyranos is an open source Colour Management System
enum oyBOOLEAN_e |
boolean operations
enum oyERROR_e |
int oyFilterRegistrationMatch | ( | const char * | registration, |
const char * | pattern, | ||
oyOBJECT_e | api_number | ||
) |
analyse registration string and compare with a given pattern
Function oyFilterRegistrationMatch The rules are described in the module_api overview. The function is intensively used.
registration | registration string to analise |
pattern | pattern or key name to compare with |
api_number | select object type |
int oyFilterRegistrationMatchKey | ( | const char * | registration1, |
const char * | registration2, | ||
oyOBJECT_e | api_number | ||
) |
compare two registration strings, skip key attributes
Function oyFilterRegistrationMatchKey The rules are described in the module_api overview. The rules in this function map especially to key storage rules for Oyranos DB.
The non key part is handled as namespace and should match in order to consider the two keys from the same namespace. The second condition is the key name is stripped from all attributes. This means the string part after the last slash '/' is taken into account only until the first point '.' or end of string appears.
registration_a | registration key |
registration_b | registration key |
api_number | select object type |
char* oyFilterRegistrationToText | ( | const char * | registration, |
oyFILTER_REG_e | type, | ||
oyAlloc_f | allocateFunc | ||
) |
analyse registration string
Function oyFilterRegistrationToText
registration | registration string to analyse | |
[in] | fields | kind of answere in return |
[in] | allocateFunc | use this or Oyranos standard allocator |
For several oyFILTER_REG bits we compose a new registration string.
const char* oyStructTypeToText | ( | oyOBJECT_e | type | ) |
Objects type to small string.
Function oyStructTypeToText Give a basic description of inbuild object types.
References oyOBJECT_ARRAY2D_S, oyOBJECT_BLOB_S, oyOBJECT_CALLBACK_S, oyOBJECT_CMM_API10_S, oyOBJECT_CMM_API1_S, oyOBJECT_CMM_API2_S, oyOBJECT_CMM_API3_S, oyOBJECT_CMM_API4_S, oyOBJECT_CMM_API5_S, oyOBJECT_CMM_API6_S, oyOBJECT_CMM_API7_S, oyOBJECT_CMM_API8_S, oyOBJECT_CMM_API9_S, oyOBJECT_CMM_API_FILTER_S, oyOBJECT_CMM_API_FILTERS_S, oyOBJECT_CMM_API_MAX, oyOBJECT_CMM_API_S, oyOBJECT_CMM_APIS_S, oyOBJECT_CMM_DATA_TYPES_S, oyOBJECT_CMM_HANDLE_S, oyOBJECT_CMM_INFO_S, oyOBJECT_CMM_OBJECT_TYPE_S, oyOBJECT_CMM_UI_S, oyOBJECT_COLOUR_CONVERSION_S, oyOBJECT_COMP_S_, oyOBJECT_CONF_DOMAIN_S, oyOBJECT_CONFIG_S, oyOBJECT_CONFIGS_S, oyOBJECT_CONNECTOR_IMAGING_S, oyOBJECT_CONNECTOR_MAX_S, oyOBJECT_CONNECTOR_S, oyOBJECT_CONVERSION_S, oyOBJECT_EXTERNFUNC_S, oyOBJECT_FILE_LIST_S_, oyOBJECT_FILTER_CORE_S, oyOBJECT_FILTER_CORES_S, oyOBJECT_FILTER_GRAPH_S, oyOBJECT_FILTER_NODE_S, oyOBJECT_FILTER_NODES_S, oyOBJECT_FILTER_PLUG_S, oyOBJECT_FILTER_PLUGS_S, oyOBJECT_FILTER_SOCKET_S, oyOBJECT_FORMS_ARGS_S, oyOBJECT_HASH_S, oyOBJECT_ICON_S, oyOBJECT_IMAGE_S, oyOBJECT_INFO_STATIC_S, oyOBJECT_MODULE_S, oyOBJECT_MONITOR_S, oyOBJECT_NAME_S, oyOBJECT_NAMED_COLOUR_S, oyOBJECT_NAMED_COLOURS_S, oyOBJECT_OBJECT_S, oyOBJECT_OBSERVER_S, oyOBJECT_OPTION_S, oyOBJECT_OPTIONS_S, oyOBJECT_PIXEL_ACCESS_S, oyOBJECT_POINTER_S, oyOBJECT_PROFILE_S, oyOBJECT_PROFILE_TAG_S, oyOBJECT_PROFILES_S, oyOBJECT_RECTANGLE_S, oyOBJECT_STRUCT_LIST_S, and oyOBJECT_UI_HANDLER_S.
Referenced by oyFilterGraph_s::oyFilterGraph_ToText(), oyFilterPlug_s::oyFilterPlug_ConnectIntoSocket(), oyMessageFormat(), oyStruct_GetInfo(), and oyStruct_s::oyStruct_GetText().