![]() |
Oyranos Colour Management System API |
The API 3 to implement and set to provide low level ICC profile support. More...
#include <oyCMMapi3_s.h>
Public Types | |
typedef oyStructList_s *(* | oyCMMProfileTag_GetValues_f )(oyProfileTag_s *tag) |
typedef int(* | oyCMMProfileTag_Create_f )(oyProfileTag_s *tag, oyStructList_s *list, icTagTypeSignature tag_type, uint32_t version) |
![]() | |
typedef int(* | oyCMMInit_f )(oyStruct_s *filter) |
optional CMM init function More... | |
typedef int(* | oyCMMMessageFuncSet_f )(oyMessage_f message_func) |
optionaly sets a CMM message function More... | |
typedef int(* | oyCMMCanHandle_f )(oyCMMQUERY_e type, uint32_t value) |
CMM feature declaration function. More... | |
typedef int(* | oyCMMOptions_Check_f )(oyOptions_s *validate) |
a function to check options More... | |
Public Member Functions | |
OYAPI oyCMMapi3_s *OYEXPORT | oyCMMapi3_New (oyObject_s object) |
allocate a new CMMapi3 object More... | |
OYAPI oyCMMapi3_s *OYEXPORT | oyCMMapi3_Copy (oyCMMapi3_s *cmmapi3, oyObject_s object) |
copy or reference a CMMapi3 object More... | |
OYAPI int OYEXPORT | oyCMMapi3_Release (oyCMMapi3_s **cmmapi3) |
release and possibly deallocate a oyCMMapi3_s object More... | |
void | oyCMMapi3_Release__Members (oyCMMapi3_s_ *cmmapi3) |
Custom CMMapi3 destructor. More... | |
int | oyCMMapi3_Init__Members (oyCMMapi3_s_ *cmmapi3) |
Custom CMMapi3 constructor. More... | |
int | oyCMMapi3_Copy__Members (oyCMMapi3_s_ *dst, oyCMMapi3_s_ *src) |
Custom CMMapi3 copy constructor. More... | |
oyOBJECT_e | oyCMMapi3_Query_ (oyCMMinfo_s_ *cmm_info, oyCMMapi_s_ *api, oyPointer data, uint32_t *rank) |
Implements oyCMMapi_Check_f. More... | |
![]() | |
OYAPI oyCMMapi_s *OYEXPORT | oyCMMapi_New (oyObject_s object) |
allocate a new CMMapi object More... | |
OYAPI oyCMMapi_s *OYEXPORT | oyCMMapi_Copy (oyCMMapi_s *cmmapi, oyObject_s object) |
copy or reference a CMMapi object More... | |
OYAPI int OYEXPORT | oyCMMapi_Release (oyCMMapi_s **cmmapi) |
release and possibly deallocate a oyCMMapi_s object More... | |
void | oyCMMapi_Release__Members (oyCMMapi_s_ *cmmapi) |
Custom CMMapi destructor. More... | |
int | oyCMMapi_Init__Members (oyCMMapi_s_ *cmmapi) |
Custom CMMapi constructor. More... | |
int | oyCMMapi_Copy__Members (oyCMMapi_s_ *dst, oyCMMapi_s_ *src) |
Custom CMMapi copy constructor. More... | |
![]() | |
const char * | oyStruct_GetText (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags) |
get a text dump More... | |
Data Fields | |
oyStruct_Copy_f | copy |
oyStruct_Release_f | release |
oyCMMProfileTag_GetValues_f | oyCMMProfileTag_GetValues |
oyCMMProfileTag_Create_f | oyCMMProfileTag_Create |
![]() | |
oyStruct_Copy_f | copy |
oyStruct_Release_f | release |
![]() | |
oyStruct_Copy_f | copy |
oyStruct_Release_f | release |
The API 3 to implement and set to provide low level ICC profile support.
typedef int(* oyCMMProfileTag_Create_f)(oyProfileTag_s *tag, oyStructList_s *list, icTagTypeSignature tag_type, uint32_t version) |
typedef oyCMMProfileTag_Create_f
typedef oyStructList_s*(* oyCMMProfileTag_GetValues_f)(oyProfileTag_s *tag) |
typedef oyCMMProfileTag_GetValues_f
OYAPI oyCMMapi3_s *OYEXPORT oyCMMapi3_Copy | ( | oyCMMapi3_s * | cmmapi3, |
oyObject_s | object | ||
) |
copy or reference a CMMapi3 object
Function oyCMMapi3_Copy
The function is for copying and for referencing. The reference is the most often used way, which saves resourcs and time.
[in] | cmmapi3 | CMMapi3 struct object |
object | NULL - means reference, the optional object triggers a real copy |
References oyOBJECT_CMM_API3_S.
int oyCMMapi3_Copy__Members | ( | oyCMMapi3_s_ * | dst, |
oyCMMapi3_s_ * | src | ||
) |
Custom CMMapi3 copy constructor.
Function oyCMMapi3_Copy__Members
int oyCMMapi3_Init__Members | ( | oyCMMapi3_s_ * | cmmapi3 | ) |
Custom CMMapi3 constructor.
Function oyCMMapi3_Init__Members
OYAPI oyCMMapi3_s *OYEXPORT oyCMMapi3_New | ( | oyObject_s | object | ) |
oyOBJECT_e oyCMMapi3_Query_ | ( | oyCMMinfo_s_ * | cmm_info, |
oyCMMapi_s_ * | api, | ||
oyPointer | data, | ||
uint32_t * | rank | ||
) |
Implements oyCMMapi_Check_f.
Function oyCMMapi3_Query_
References oyOBJECT_CMM_API3_S.
Referenced by oyProfileTag_s::oyProfileTag_Create(), and oyProfileTag_s::oyProfileTag_Get().
OYAPI int OYEXPORT oyCMMapi3_Release | ( | oyCMMapi3_s ** | cmmapi3 | ) |
release and possibly deallocate a oyCMMapi3_s object
Function oyCMMapi3_Release
[in,out] | cmmapi3 | CMMapi3 struct object |
References oyOBJECT_CMM_API3_S.
void oyCMMapi3_Release__Members | ( | oyCMMapi3_s_ * | cmmapi3 | ) |
Custom CMMapi3 destructor.
Function oyCMMapi3_Release__Members
oyStruct_Copy_f oyCMMapi3_s::copy |
copy function
oyCMMProfileTag_Create_f oyCMMProfileTag_Create |
oyCMMProfileTag_GetValues_f oyCMMProfileTag_GetValues |
oyStruct_Release_f oyCMMapi3_s::release |
release function