![]() |
Oyranos Colour Management System API |
the basic API interface More...
#include <oyCMMapi_s.h>


Public Types | |
| typedef int(* | oyCMMInit_f )(oyStruct_s *filter) |
| optional CMM init function | |
| typedef int(* | oyCMMMessageFuncSet_f )(oyMessage_f message_func) |
| optionaly sets a CMM message function | |
| typedef int(* | oyCMMCanHandle_f )(oyCMMQUERY_e type, uint32_t value) |
| CMM feature declaration function. | |
| typedef int(* | oyCMMOptions_Check_f )(oyOptions_s *validate) |
| a function to check options | |
Public Member Functions | |
| OYAPI oyCMMapi_s *OYEXPORT | oyCMMapi_New (oyObject_s object) |
| allocate a new CMMapi object | |
| OYAPI oyCMMapi_s *OYEXPORT | oyCMMapi_Copy (oyCMMapi_s *cmmapi, oyObject_s object) |
| copy or reference a CMMapi object | |
| OYAPI int OYEXPORT | oyCMMapi_Release (oyCMMapi_s **cmmapi) |
| release and possibly deallocate a oyCMMapi_s object | |
| void | oyCMMapi_Release__Members (oyCMMapi_s_ *cmmapi) |
| Custom CMMapi destructor. | |
| int | oyCMMapi_Init__Members (oyCMMapi_s_ *cmmapi) |
| Custom CMMapi constructor. | |
| int | oyCMMapi_Copy__Members (oyCMMapi_s_ *dst, oyCMMapi_s_ *src) |
| Custom CMMapi copy constructor. | |
Public Member Functions inherited from oyStruct_s | |
| const char * | oyStruct_GetText (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags) |
| get a text dump | |
Data Fields | |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
Data Fields inherited from oyStruct_s | |
| oyStruct_Copy_f | copy |
| oyStruct_Release_f | release |
the basic API interface
| OYAPI oyCMMapi_s *OYEXPORT oyCMMapi_Copy | ( | oyCMMapi_s * | cmmapi, |
| oyObject_s | object | ||
| ) |
copy or reference a CMMapi object
Function oyCMMapi_Copy
The function is for copying and for referencing. The reference is the most often used way, which saves resourcs and time.
| [in] | cmmapi | CMMapi struct object |
| object | NULL - means reference, the optional object triffers a real copy |
References oyOBJECT_CMM_API_S.
| int oyCMMapi_Copy__Members | ( | oyCMMapi_s_ * | dst, |
| oyCMMapi_s_ * | src | ||
| ) |
Custom CMMapi copy constructor.
Function oyCMMapi_Copy__Members
| int oyCMMapi_Init__Members | ( | oyCMMapi_s_ * | cmmapi | ) |
Custom CMMapi constructor.
Function oyCMMapi_Init__Members
| OYAPI oyCMMapi_s *OYEXPORT oyCMMapi_New | ( | oyObject_s | object | ) |
| OYAPI int OYEXPORT oyCMMapi_Release | ( | oyCMMapi_s ** | cmmapi | ) |
release and possibly deallocate a oyCMMapi_s object
Function oyCMMapi_Release
| [in,out] | cmmapi | CMMapi struct object |
References oyOBJECT_CMM_API_S.
| void oyCMMapi_Release__Members | ( | oyCMMapi_s_ * | cmmapi | ) |
Custom CMMapi destructor.
Function oyCMMapi_Release__Members
| oyStruct_Copy_f oyCMMapi_s::copy |
copy function
| oyStruct_Release_f oyCMMapi_s::release |
release function