libcsem  0.2
csem_micro_tree.h File Reference
#include "csem_rdfa_tree.h"

Go to the source code of this file.

Defines

#define CSEM_NS_C_BEGIN
#define CSEM_NS_C_END

Typedefs

typedef typedefCSEM_NS_C_BEGIN
struct CSEM_Id 
CSEM_Id
 Id object defined with @id.

Functions

CSEM_ListCSEM_Item_GetRefs (CSEM_Item *item)
 Get @itemref values.
CSEM_Error CSEM_Item_SetRefs (CSEM_Item *item, const CSEM_List *refs, CSEM_Bool free)
 Set @itemref values.
CSEM_Error CSEM_Id_Create (CSEM_Id **id, const char *value)
 Create id object with @id value.
void CSEM_Id_Dispose (CSEM_Id *id)
 Dispose id object.
CSEM_ListCSEM_Id_GetProperties (CSEM_Id *id)
 Get properties of the id object.
CSEM_Error CSEM_Id_AddProperty (CSEM_Id *id, CSEM_Property *property)
 Add a property to the id object.
char * CSEM_Id_GetId (CSEM_Id *id)
 Get @id value of the id object.

Define Documentation

#define CSEM_NS_C_BEGIN
#define CSEM_NS_C_END

Typedef Documentation

typedef typedefCSEM_NS_C_BEGIN struct CSEM_Id CSEM_Id

Id object defined with @id.


Function Documentation

Add a property to the id object.

Parameters:
id[in]id object
property[in]property to be added
Returns:
error code
CSEM_Error CSEM_Id_Create ( CSEM_Id **  id,
const char *  value 
)

Create id object with @id value.

Parameters:
id[out]id object to be created
value[in]id value (not copied internally)
Returns:
error code
void CSEM_Id_Dispose ( CSEM_Id id)

Dispose id object.

Parameters:
id[in]id object to be freed
char* CSEM_Id_GetId ( CSEM_Id id)

Get @id value of the id object.

Parameters:
id[in]id object
Examples:
sample_micro_search.c, and sample_micro_tree.c.

Get properties of the id object.

Parameters:
id[in]id object
Examples:
sample_micro_search.c, and sample_micro_tree.c.

Get @itemref values.

Parameters:
item[in]item
Examples:
sample_micro_search.c, and sample_micro_tree.c.
CSEM_Error CSEM_Item_SetRefs ( CSEM_Item item,
const CSEM_List refs,
CSEM_Bool  free 
)

Set @itemref values.

Parameters:
item[in]item
refs[in]@itemref values (not copied internally)
free[in]if CSEM_TRUE is set, the old @itemref values are freed.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines