Data Fields
Zorba_ItemSetter_s Struct Reference

Zorba_ItemSetter is designed to allow external functions to set the next XQuery data model item to be returned. More...

#include <zorba/zorbac.h>

Data Fields

XQC_Error(* set_double )(Zorba_ItemSetter *setter, double value)
 Call this to specify the next item as a double. More...
 
XQC_Error(* set_integer )(Zorba_ItemSetter *setter, int value)
 Call this to specify the next item as an integer. More...
 
XQC_Error(* set_string )(Zorba_ItemSetter *setter, const char *value)
 Call this to specify the next item as a string. More...
 
XQC_Error(* set_typed_value )(Zorba_ItemSetter *setter, XQC_ItemType type, const char *value)
 Call this to specify the next item as an arbitrary type, providing the value as a string. More...
 

Detailed Description

Zorba_ItemSetter is designed to allow external functions to set the next XQuery data model item to be returned.

Definition at line 171 of file zorbac.h.

Field Documentation

XQC_Error(* Zorba_ItemSetter_s::set_double)(Zorba_ItemSetter *setter, double value)

Call this to specify the next item as a double.

Definition at line 192 of file zorbac.h.

XQC_Error(* Zorba_ItemSetter_s::set_integer)(Zorba_ItemSetter *setter, int value)

Call this to specify the next item as an integer.

Definition at line 186 of file zorbac.h.

XQC_Error(* Zorba_ItemSetter_s::set_string)(Zorba_ItemSetter *setter, const char *value)

Call this to specify the next item as a string.

The Zorba implementation will take ownership of the char* and free it at an appropriate time. QQQ is this true?

Definition at line 180 of file zorbac.h.

XQC_Error(* Zorba_ItemSetter_s::set_typed_value)(Zorba_ItemSetter *setter, XQC_ItemType type, const char *value)

Call this to specify the next item as an arbitrary type, providing the value as a string.

Definition at line 199 of file zorbac.h.


The documentation for this struct was generated from the following file:
blog comments powered by Disqus