Tizen Native API  4.0
_Eina_Value_Type Struct Reference

Public Attributes

unsigned int version
unsigned int value_size
const char * name
Eina_Bool(* setup )(const Eina_Value_Type *type, void *mem)
Eina_Bool(* flush )(const Eina_Value_Type *type, void *mem)
Eina_Bool(* copy )(const Eina_Value_Type *type, const void *src, void *dst)
int(* compare )(const Eina_Value_Type *type, const void *a, const void *b)
Eina_Bool(* convert_to )(const Eina_Value_Type *type, const Eina_Value_Type *convert, const void *type_mem, void *convert_mem)
Eina_Bool(* convert_from )(const Eina_Value_Type *type, const Eina_Value_Type *convert, void *type_mem, const void *convert_mem)
Eina_Bool(* vset )(const Eina_Value_Type *type, void *mem, va_list args)
Eina_Bool(* pset )(const Eina_Value_Type *type, void *mem, const void *ptr)
Eina_Bool(* pget )(const Eina_Value_Type *type, const void *mem, void *ptr)

Detailed Description

API to access values.

Since (EFL) :
1.2
Examples:
eina_value_03.c.

Member Data Documentation

int(* _Eina_Value_Type::compare)(const Eina_Value_Type *type, const void *a, const void *b)

how to compare values, both memory are value_size

Eina_Bool(* _Eina_Value_Type::convert_from)(const Eina_Value_Type *type, const Eina_Value_Type *convert, void *type_mem, const void *convert_mem)

how to convert values, both memory are value_size

Eina_Bool(* _Eina_Value_Type::convert_to)(const Eina_Value_Type *type, const Eina_Value_Type *convert, const void *type_mem, void *convert_mem)

how to convert values, both memory are value_size

Eina_Bool(* _Eina_Value_Type::copy)(const Eina_Value_Type *type, const void *src, void *dst)

how to copy values, both memory are value_size

clear any values from mem

name for debug and introspection

Eina_Bool(* _Eina_Value_Type::pget)(const Eina_Value_Type *type, const void *mem, void *ptr)

how to read memory

Eina_Bool(* _Eina_Value_Type::pset)(const Eina_Value_Type *type, void *mem, const void *ptr)

how to set memory from pointer

mem will be malloc(value_size) and should be configured

byte size of value

Examples:
eina_value_03.c.
Eina_Bool(* _Eina_Value_Type::vset)(const Eina_Value_Type *type, void *mem, va_list args)

how to set memory from variable argument