oyOption_s Struct Reference
[Values Handling]

Option for rendering. More...

#include <oyranos_alpha.h>


Data Fields

oyOBJECT_e type_
oyStruct_Copy_f copy
oyStruct_Release_f release
oyObject_s oy_
uint32_t id
char * registration
int version [3]
oyVALUETYPE_e value_type
oyValue_uvalue
oyOPTIONSOURCE_e source
uint32_t flags

Related Functions

(Note that these are not member functions.)

oyOption_soyOption_New (oyObject_s object)
 new option
oyOption_soyOption_Copy (oyOption_s *option, oyObject_s object)
 copy or reference a option
int oyOption_Release (oyOption_s **obj)
 release a option
int oyOption_Clear (oyOption_s *s)
 clear a option
int oyOption_GetId (oyOption_s *obj)
 get the identification number of a option
char * oyOption_GetValueText (oyOption_s *obj, oyAlloc_f allocateFunc)
 get value as a text dump
const char * oyOption_GetText (oyOption_s *obj, oyNAME_e type)
 get a text dump
int oyOption_SetFromText (oyOption_s *obj, const char *text)
 set a option value from a string


Detailed Description

Option for rendering.

Todo:
include the oyOptions_t_ type for gui elements should be used in a list oyColourTransformOptions_s to form a options set oyOptions_t_ covers as well the UI part which should be separated as of the SimpleToolkitAbstraction project: http://www.oyranos.org/wiki/index.php?title=XML_Plug-in_options As of this architecture change The UI part must be decided to obtain a place. Probably in oyOptions_s? Thus the oyOption_s::name member should be removed.
The id field maps to a oyWidget_s object. Options and widgets are to be queried by the according function / CMM combination.

Version:
Oyranos: 0.1.8
Since:
2007/00/00 (Oyranos: 0.1.x)
Date:
2008/04/14

Field Documentation

oyStruct_Copy_f oyOption_s::copy

copy function

uint32_t oyOption_s::id

id to map to events and widgets

Referenced by oyOption_GetId(), and oyOption_Release().

oyStruct_Release_f oyOption_s::release

release function

Referenced by oyOption_New().

the source of this value

Referenced by oyOptions_s::oyOptions_DoFilter(), and oyOptions_s::oyOptions_ForFilter_().

as for oyCMMapi4_s::version


Generated on Thu Jun 11 13:23:09 2009 for Oyranos by  doxygen 1.5.8