Oyranos Color Management System API - Version 0.9.6
Data Fields
oyCMM_s Struct Reference

The CMM API resources struct to implement and set by a CMM. More...

#include <oyCMM_s.h>

Inheritance diagram for oyCMM_s:
Inheritance graph
Collaboration diagram for oyCMM_s:
Collaboration graph

Data Fields

const oyOBJECT_e type_
 Type of object.
oyStruct_Copy_f copy
 Copy function.
oyStruct_Release_f release
 Release function.
oyObject_s oy_
 Oyranos internal object.
char cmm [8]
char * backend_version
oyCMMGetText_f getText
char ** texts
int oy_compatibility
oyCMMapi_sapi
oyIcon_sicon
int(* init )(oyStruct_s *library)
- Data Fields inherited from oyStruct_s
const oyOBJECT_e type_
 Type of object.
oyStruct_Copy_f copy
 Copy function.
oyStruct_Release_f release
 Release function.
oyObject_s oy_
 Oyranos internal object.

Additional Inherited Members

- Public Member Functions inherited from oyStruct_s
const char * oyStruct_GetTextFromModule (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags)
 get object infos from a module
const char * oyStruct_GetText (oyStruct_s *obj, oyNAME_e name_type, uint32_t flags)
 Get a text dump.
 oyStruct_RegisterStaticMessageFunc
 register a function for verbosity
 oyStruct_GetInfo
 get a additional string from a object
const char * oyStructTypeToText (oyOBJECT_e type)
 Objects type to small string.

Detailed Description

The CMM API resources struct to implement and set by a CMM.

See Also
Extending Oyranos
Examples:
oyranos_cmm_oJPG.c.

Field Documentation

oyCMMapi_s* oyCMM_s::api

must be casted to a according API, zero terminated list

Examples:
oyranos_cmm_oJPG.c.
char* oyCMM_s::backend_version

non translatable, eg "v1.17"

char oyCMM_s::cmm[8]

ICC signature, eg 'lcms'

oyStruct_Copy_f oyCMM_s::copy

Copy function.

oyCMMGetText_f oyCMM_s::getText

translated, e.g. "name": "lcms" "little cms" "A CMM with 100k ..." supported should be "name", "copyright" and "manufacturer". Optional is "help".

oyIcon_s* oyCMM_s::icon

module icon

int(* oyCMM_s::init)(oyStruct_s *library)

should be called before any access to members of oyCMMinfo_s

oyObject_s oyCMM_s::oy_

Oyranos internal object.

Features name and hash. Do not change during object life time.

int oyCMM_s::oy_compatibility

last supported Oyranos CMM API : OYRANOS_VERSION

oyStruct_Release_f oyCMM_s::release

Release function.

char** oyCMM_s::texts

zero terminated list for getText

const oyOBJECT_e oyCMM_s::type_

Type of object.

oyOBJECT_CMM_INFO_S The struct type tells Oyranos how to interprete hidden fields.