Home | Documentation |
dom.cpp File Reference
updated Mon Apr 22 2024 by Robert van Engelen
|
Classes | |
class | soap_dom_attribute |
The xsd__anyAttribute DOM attribute node structure (xsd__anyAttribute is a typedef of soap_dom_attribute) More... | |
class | soap_dom_element |
The xsd__anyType DOM element node structure (xsd__anyType is a typedef of soap_dom_element) More... | |
Namespaces | |
SOAP_DOM_EXTERNAL_NAMESPACE | |
Typedefs | |
typedef soap_dom_attribute | xsd__anyAttribute |
The xsd__anyAttribute DOM attribute node structure (xsd__anyAttribute is a typedef of soap_dom_attribute) More... | |
typedef soap_dom_element | xsd__anyType |
The xsd__anyType DOM element node structure (xsd__anyType is a typedef of soap_dom_element) More... | |
Functions | |
SOAP_FMAC3 void SOAP_FMAC4 | soap_serialize_xsd__anyType (struct soap *, const struct soap_dom_element *) |
SOAP_FMAC1 void SOAP_FMAC2 | soap_default_xsd__anyType (struct soap *, struct soap_dom_element *) |
SOAP_FMAC3 int SOAP_FMAC4 | soap_put_xsd__anyType (struct soap *, const struct soap_dom_element *, const char *, const char *) |
SOAP_FMAC1 int SOAP_FMAC2 | soap_out_xsd__anyType (struct soap *, const char *, int, const struct soap_dom_element *, const char *) |
SOAP_FMAC3 struct soap_dom_element *SOAP_FMAC4 | soap_get_xsd__anyType (struct soap *, struct soap_dom_element *, const char *, const char *) |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_in_xsd__anyType (struct soap *, const char *, struct soap_dom_element *, const char *) |
SOAP_FMAC3 void SOAP_FMAC4 | soap_serialize_xsd__anyAttribute (struct soap *, const struct soap_dom_attribute *) |
SOAP_FMAC1 void SOAP_FMAC2 | soap_default_xsd__anyAttribute (struct soap *, struct soap_dom_attribute *) |
SOAP_FMAC3 int SOAP_FMAC4 | soap_put_xsd__anyAttribute (struct soap *, const struct soap_dom_attribute *, const char *, const char *) |
SOAP_FMAC1 int SOAP_FMAC2 | soap_out_xsd__anyAttribute (struct soap *, const char *, int, const struct soap_dom_attribute *, const char *) |
SOAP_FMAC3 struct soap_dom_attribute *SOAP_FMAC4 | soap_get_xsd__anyAttribute (struct soap *, struct soap_dom_attribute *, const char *, const char *) |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_in_xsd__anyAttribute (struct soap *, const char *, struct soap_dom_attribute *, const char *) |
SOAP_FMAC3 void SOAP_FMAC4 | SOAP_DOM_EXTERNAL_NAMESPACE::soap_markelement (struct soap *, const void *, int) |
SOAP_FMAC3 void *SOAP_FMAC4 | SOAP_DOM_EXTERNAL_NAMESPACE::soap_getelement (struct soap *, const char *, int *) |
SOAP_FMAC3 int SOAP_FMAC4 | SOAP_DOM_EXTERNAL_NAMESPACE::soap_putelement (struct soap *, const void *, const char *, int, int) |
SOAP_FMAC3 void *SOAP_FMAC4 | SOAP_DOM_EXTERNAL_NAMESPACE::soap_dupelement (struct soap *, const void *, int) |
SOAP_FMAC3 void SOAP_FMAC4 | SOAP_DOM_EXTERNAL_NAMESPACE::soap_delelement (const void *, int) |
SOAP_FMAC3 void SOAP_FMAC4 | soap_markelement (struct soap *, const void *, int) |
SOAP_FMAC3 void *SOAP_FMAC4 | soap_getelement (struct soap *, const char *, int *) |
SOAP_FMAC3 int SOAP_FMAC4 | soap_putelement (struct soap *, const void *, const char *, int, int) |
SOAP_FMAC3 void *SOAP_FMAC4 | soap_dupelement (struct soap *, const void *, int) |
SOAP_FMAC3 void SOAP_FMAC4 | soap_delelement (const void *, int) |
static int | out_element (struct soap *, const struct soap_dom_element *, const char *, const char *) |
static int | out_attribute (struct soap *, const char *, const char *, const char *, int) |
static const char * | soap_push_prefix (struct soap *, const char *, size_t, const char *, int, int) |
static const char * | soap_prefix_of (struct soap *, const char *) |
static const char * | soap_ns_to_set (struct soap *, const char *) |
static const char * | soap_ns_to_get (struct soap *, const char *) |
static const char * | soap_ns_to_find (struct soap *, const char *) |
static struct soap_dom_element * | new_element (struct soap *) |
static struct soap_dom_attribute * | new_attribute (struct soap *) |
static int | soap_tag_match (const char *, const char *) |
static int | soap_patt_match (const char *, const char *) |
static int | soap_name_match (const char *, const char *) |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_dup_xsd__anyType (struct soap *soap, struct soap_dom_element *d, const struct soap_dom_element *a) |
SOAP_FMAC1 void SOAP_FMAC2 | soap_del_xsd__anyType (const struct soap_dom_element *a) |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_dup_xsd__anyAttribute (struct soap *soap, struct soap_dom_attribute *d, const struct soap_dom_attribute *a) |
SOAP_FMAC1 void SOAP_FMAC2 | soap_del_xsd__anyAttribute (const struct soap_dom_attribute *a) |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_new (struct soap *soap, const char *ns, const char *tag) |
Returns pointer to new xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_new_w (struct soap *soap, const char *ns, const wchar_t *tag) |
Returns pointer to new xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_set (struct soap_dom_element *elt, const char *ns, const char *tag) |
Set xsd__anyType DOM element namespace URI and tag name. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_set_w (struct soap_dom_element *elt, const char *ns, const wchar_t *tag) |
Set xsd__anyType DOM element namespace URI and tag name. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att (struct soap_dom_element *elt, const char *ns, const char *tag) |
Populate xsd__anyType DOM element node with an attribute node, if the attribute does not already exists. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_w (struct soap_dom_element *elt, const char *ns, const wchar_t *tag) |
Populate xsd__anyType DOM element node with an attribute node, if the attribute does not already exists. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt (struct soap_dom_element *elt, const char *ns, const char *tag) |
Populate xsd__anyType DOM element node with a child element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_w (struct soap_dom_element *elt, const char *ns, const wchar_t *tag) |
Populate xsd__anyType DOM element node with a child element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_nth_elt (struct soap_dom_element *elt, const char *ns, const char *tag, size_t n) |
Populate xsd__anyType DOM element node with an N-th child element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_nth_elt_w (struct soap_dom_element *elt, const char *ns, const wchar_t *tag, size_t n) |
Populate xsd__anyType DOM element node with an N-th child element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_nth (struct soap_dom_element *elt, size_t n) |
Add a N-th child element with the same namespace and tag name as a xsd__anyType DOM child element node at position one (1) in a sibling list. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_add_att (struct soap_dom_element *elt, const struct soap_dom_attribute *node) |
Add an attribute node to an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_add_elt (struct soap_dom_element *elt, const struct soap_dom_element *node) |
Add a child element node to an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_add_atts (struct soap_dom_element *elt, const struct soap_dom_attribute *atts) |
Copy list of attribute nodes to an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_add_elts (struct soap_dom_element *elt, const struct soap_dom_element *elts) |
Copy list of element nodes to an xsd__anyType DOM element node as children. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_bool (struct soap_dom_element *elt, LONG64 b) |
Set text of an xsd__anyType DOM element node to Boolean "false" or "true". More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_int (struct soap_dom_element *elt, LONG64 n) |
Set text of an xsd__anyType DOM element node to a 64 bit integer value. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_double (struct soap_dom_element *elt, double x) |
Set text of an xsd__anyType DOM element node to a double float value. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_text (struct soap_dom_element *elt, const char *text) |
Set text of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_text_w (struct soap_dom_element *elt, const wchar_t *text) |
Set text of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_node (struct soap_dom_element *elt, const void *node, int type) |
Set an xsd__anyType DOM element node to point to a serializable object. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_copy (struct soap_dom_element *elt, const struct soap_dom_element *node) |
Copy an xsd__anyType DOM element node to another (not a deep copy) More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_elt_match (const struct soap_dom_element *elt, const char *ns, const char *patt) |
Match the namespace URI and tag name of an xsd__anyType DOM element node against a pattern. More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_elt_match_w (const struct soap_dom_element *elt, const char *ns, const wchar_t *patt) |
Match the namespace URI and tag name of an xsd__anyType DOM element node against a pattern. More... | |
SOAP_FMAC1 const char *SOAP_FMAC2 | soap_elt_get_ns (const struct soap_dom_element *elt) |
Get the namespace URI of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 const char *SOAP_FMAC2 | soap_elt_get_tag (const struct soap_dom_element *elt) |
Get the tag name of an xsd__anyType DOM element node, if any. More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_elt_is_true (const struct soap_dom_element *elt) |
Return nonzero if xsd__anyType DOM element node text is Boolean "true" or "1". More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_elt_is_false (const struct soap_dom_element *elt) |
Return nonzero if xsd__anyType DOM element node text is Boolean "false" or "0". More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_elt_get_int (const struct soap_dom_element *elt) |
Return integer value of numeric text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 long SOAP_FMAC2 | soap_elt_get_long (const struct soap_dom_element *elt) |
Return long integer value of numeric text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 LONG64 SOAP_FMAC2 | soap_elt_get_LONG64 (const struct soap_dom_element *elt) |
Return 64 bit integer value of numeric text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 double SOAP_FMAC2 | soap_elt_get_double (const struct soap_dom_element *elt) |
Return double float value of decimal text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 const char *SOAP_FMAC2 | soap_elt_get_text (const struct soap_dom_element *elt) |
Return text of xsd__anyType DOM element node. More... | |
SOAP_FMAC1 const void *SOAP_FMAC2 | soap_elt_get_node (const struct soap_dom_element *elt, int type) |
Get pointer to deserialized object stored in xsd__anyType DOM element node. More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_elt_get_type (const struct soap_dom_element *elt, const void **node) |
Get pointer to deserialized object stored in xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_parent (const struct soap_dom_element *elt) |
Return pointer to parent of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 size_t SOAP_FMAC2 | soap_elt_depth (const struct soap_dom_element *elt) |
Return depth from the root node of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 size_t SOAP_FMAC2 | soap_elt_index (const struct soap_dom_element *elt) |
Return child index of an xsd__anyType DOM child element node in sibling list. More... | |
SOAP_FMAC1 size_t SOAP_FMAC2 | soap_elt_len (const struct soap_dom_element *elt) |
Return number of siblings of an xsd__anyType DOM child node that have the same namespace URI and tag name. More... | |
SOAP_FMAC1 size_t SOAP_FMAC2 | soap_elt_nth (const struct soap_dom_element *elt) |
Return index of an xsd__anyType DOM child node among siblings that have the same namespace URI and tag name. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_new (struct soap *soap, const char *ns, const char *tag) |
Returns pointer to new xsd__anyAttribute DOM attribute node. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_new_w (struct soap *soap, const char *ns, const wchar_t *tag) |
Returns pointer to new xsd__anyAttribute DOM attribute node. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_set (struct soap_dom_attribute *att, const char *ns, const char *tag) |
Set xsd__anyAttribute DOM attribute namespace URI and tag name. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_set_w (struct soap_dom_attribute *att, const char *ns, const wchar_t *tag) |
Set xsd__anyAttribute DOM attribute namespace URI and tag name. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_add (struct soap_dom_attribute *att, const char *ns, const char *tag) |
Add an attribute node to an xsd__anyAttribute DOM attribute node, if the attribute does not already exists, to create or extend an attribute list. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_add_w (struct soap_dom_attribute *att, const char *ns, const wchar_t *tag) |
Add an attribute node to an xsd__anyAttribute DOM attribute node, if the attribute does not already exists, to create or extend an attribute list. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_bool (struct soap_dom_attribute *att, LONG64 b) |
Set text of an xsd__anyAttribute DOM attribute node to Boolean "false" or "true". More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_int (struct soap_dom_attribute *att, LONG64 n) |
Set text of an xsd__anyAttribute DOM attribute node to a 64 bit integer value. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_double (struct soap_dom_attribute *att, double x) |
Set text of an xsd__anyAttribute DOM attribute node to a double float value. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_text (struct soap_dom_attribute *att, const char *text) |
Set text of an xsd__anyAttribute DOM attribute node. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_text_w (struct soap_dom_attribute *att, const wchar_t *text) |
Set text of an xsd__anyAttribute DOM attribute node. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_copy (struct soap_dom_attribute *att, const struct soap_dom_attribute *node) |
Copy an xsd__anyAttribute DOM attribute node to another (not a deep copy) More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_att_match (const struct soap_dom_attribute *att, const char *ns, const char *patt) |
Match the namespace URI and tag name of an xsd__anyAttribute DOM attribute node against a pattern. More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_att_match_w (const struct soap_dom_attribute *att, const char *ns, const wchar_t *patt) |
Match the namespace URI and tag name of an xsd__anyAttribute DOM attribute node against a pattern. More... | |
SOAP_FMAC1 const char *SOAP_FMAC2 | soap_att_get_ns (const struct soap_dom_attribute *att) |
Get the namespace URI of an xsd__anyAttribute DOM attribute node. More... | |
SOAP_FMAC1 const char *SOAP_FMAC2 | soap_att_get_tag (const struct soap_dom_attribute *att) |
Get the tag name of an xsd__anyAttribute DOM attribute node. More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_att_is_true (const struct soap_dom_attribute *att) |
Return nonzero if xsd__anyAttribute DOM attribute node text is Boolean "true" or "1". More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_att_is_false (const struct soap_dom_attribute *att) |
Return nonzero if xsd__anyAttribute DOM attribute node text is Boolean "false" or "0". More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_att_get_int (const struct soap_dom_attribute *att) |
Return integer value of numeric text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 long SOAP_FMAC2 | soap_att_get_long (const struct soap_dom_attribute *att) |
Return long integer value of numeric text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 LONG64 SOAP_FMAC2 | soap_att_get_LONG64 (const struct soap_dom_attribute *att) |
Return 64 bit integer value of numeric text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 double SOAP_FMAC2 | soap_att_get_double (const struct soap_dom_attribute *att) |
Return double float value of decimal text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM. More... | |
SOAP_FMAC1 const char *SOAP_FMAC2 | soap_att_get_text (const struct soap_dom_attribute *att) |
Return text of xsd__anyAttribute DOM attribute node. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_first (struct soap_dom_element *elt) |
Returns pointer to first xsd__anyAttribute DOM attribute node of xsd__anyType DOM element node, if any. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_next (const struct soap_dom_attribute *att) |
Returns pointer to next xsd__anyAttribute DOM attribute node, if any. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_first (struct soap_dom_element *elt) |
Returns pointer to first child element node of xsd__anyType DOM element node, if any. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_next (const struct soap_dom_element *elt) |
Returns pointer to next xsd__anyType DOM child element node, if any. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_get (const struct soap_dom_element *elt, const char *ns, const char *tag) |
Get attribute node of an xsd__anyType DOM element node, if attribute exists. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_get_w (const struct soap_dom_element *elt, const char *ns, const wchar_t *tag) |
Get attribute node of an xsd__anyType DOM element node, if attribute exists. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_get (const struct soap_dom_element *elt, const char *ns, const char *tag) |
Get child element node of an xsd__anyType DOM element node, if child element exists. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_get_w (const struct soap_dom_element *elt, const char *ns, const wchar_t *tag) |
Get child element node of an xsd__anyType DOM element node, if child element exists. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_get_next (const struct soap_dom_element *elt) |
Get next child element node that has the same namespace URI and tag name as the current child element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_get_nth (struct soap_dom_element *elt, size_t n) |
Get N-th child element node that has the same namespace URI and tag name as the current child element node at position one (1) in the sibling list. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_find (struct soap_dom_element *elt, const char *ns, const char *patt) |
Find matching attribute node of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_att_find_next (const struct soap_dom_attribute *att, const char *ns, const char *patt) |
Find next matching attribute node of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_find (struct soap_dom_element *elt, const char *ns, const char *patt) |
Find matching child element node of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_find_next (const struct soap_dom_element *elt, const char *ns, const char *patt) |
Find next matching child element node of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_find_type (struct soap_dom_element *elt, const char *ns, const char *patt, int type) |
Find matching child element node of an xsd__anyType DOM element node that has a deserialized object. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_elt_find_next_type (const struct soap_dom_element *elt, const char *ns, const char *patt, int type) |
Find next matching child element node of an xsd__anyType DOM element node that has a deserialized object. More... | |
SOAP_FMAC1 size_t SOAP_FMAC2 | soap_att_size (struct soap_dom_element *elt, const char *ns, const char *patt) |
Return number of matching attribute nodes of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 size_t SOAP_FMAC2 | soap_elt_size (struct soap_dom_element *elt, const char *ns, const char *patt) |
Return number of matching child element nodes of an xsd__anyType DOM element node. More... | |
SOAP_FMAC1 size_t SOAP_FMAC2 | soap_elt_size_type (struct soap_dom_element *elt, const char *ns, const char *patt, int type) |
Return number of matching child element nodes of an xsd__anyType DOM element node that have deserialized objects. More... | |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 | soap_dom_next_attribute (const struct soap_dom_attribute *att) |
Return next xsd__anyAttribute DOM attribute node in attribute list. More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_dom_next_element (const struct soap_dom_element *elt, const struct soap_dom_element *end) |
Return next xsd__anyType DOM element node in depth-first traversal of node graph (XPath recursive descent) More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_dom_find (struct soap_dom_element *begin, const struct soap_dom_element *end, const char *ns, const char *patt, int type) |
Find matching xsd__anyType DOM element node in depth-first traversal of node graph (XPath recursive descent) More... | |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 | soap_dom_find_next (const struct soap_dom_element *elt, const struct soap_dom_element *end, const char *ns, const char *patt, int type) |
Find next matching xsd__anyType DOM element node in depth-first traversal of node graph (XPath recursive descent) More... | |
SOAP_FMAC1 int SOAP_FMAC2 | soap_dom_call (struct soap *soap, const char *endpoint, const char *action, const struct soap_dom_element *in, struct soap_dom_element *out) |
SOAP_FMAC1 int SOAP_FMAC2 | soap_dom_call (struct soap *soap, const char *endpoint, const char *action, const struct soap_dom_element &in, struct soap_dom_element &out) |
SOAP_FMAC1 int SOAP_FMAC2 | soap_dom_call (struct soap *soap, const char *endpoint, const char *action, const struct soap_dom_element *in, struct soap_dom_element &out) |
SOAP_FMAC1 int SOAP_FMAC2 | soap_dom_call (struct soap *soap, const char *endpoint, const char *action, const struct soap_dom_element &in, struct soap_dom_element *out) |
int | soap_write_xsd__anyType (struct soap *soap, xsd__anyType *dom) |
Write XML to current output (this is an auto-generted macro in soapH.h) More... | |
int | soap_read_xsd__anyType (struct soap *soap, xsd__anyType *dom) |
Parse XML from current input (this is an auto-generted macro in soapH.h) More... | |
std::ostream & | operator<< (std::ostream &o, const struct soap_dom_element &e) |
std::istream & | operator>> (std::istream &i, struct soap_dom_element &e) |
typedef soap_dom_attribute xsd__anyAttribute |
The xsd__anyAttribute DOM attribute node structure (xsd__anyAttribute is a typedef of soap_dom_attribute)
typedef soap_dom_element xsd__anyType |
The xsd__anyType DOM element node structure (xsd__anyType is a typedef of soap_dom_element)
|
static |
|
static |
std::ostream& operator<< | ( | std::ostream & | o, |
const struct soap_dom_element & | e | ||
) |
std::istream& operator>> | ( | std::istream & | i, |
struct soap_dom_element & | e | ||
) |
|
static |
|
static |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_add_att | ( | struct soap_dom_element * | elt, |
const struct soap_dom_attribute * | node | ||
) |
Add an attribute node to an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element to populate |
node | pointer to xsd__anyAttribute attribute node to copy and add to DOM element elt |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_add_atts | ( | struct soap_dom_element * | elt, |
const struct soap_dom_attribute * | atts | ||
) |
Copy list of attribute nodes to an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element to populate |
atts | pointer to list of xsd__anyAttribute attribute nodes to copy and add to DOM element elt |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_add_elt | ( | struct soap_dom_element * | elt, |
const struct soap_dom_element * | node | ||
) |
Add a child element node to an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element to populate |
node | pointer to element node to copy and add as a child to DOM element elt |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_add_elts | ( | struct soap_dom_element * | elt, |
const struct soap_dom_element * | elts | ||
) |
Copy list of element nodes to an xsd__anyType DOM element node as children.
elt | pointer to xsd__anyType DOM element to populate |
elts | pointer to list of xsd__anyType DOM element nodes to copy and add as children to DOM element elt |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | tag | ||
) |
Populate xsd__anyType DOM element node with an attribute node, if the attribute does not already exists.
elt | pointer to xsd__anyType DOM element to populate |
ns | namespace URI string or NULL of attribute |
tag | (un)qualified tag name string of attribute |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_add | ( | struct soap_dom_attribute * | att, |
const char * | ns, | ||
const char * | tag | ||
) |
Add an attribute node to an xsd__anyAttribute DOM attribute node, if the attribute does not already exists, to create or extend an attribute list.
att | pointer to xsd__anyAttribute DOM attribute |
ns | namespace URI string or NULL of attribute |
tag | (un)qualified tag name string of attribute |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_add_w | ( | struct soap_dom_attribute * | att, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Add an attribute node to an xsd__anyAttribute DOM attribute node, if the attribute does not already exists, to create or extend an attribute list.
att | pointer to xsd__anyAttribute DOM attribute |
ns | namespace URI string or NULL of attribute |
tag | (un)qualified tag name wide string of attribute |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_bool | ( | struct soap_dom_attribute * | att, |
LONG64 | b | ||
) |
Set text of an xsd__anyAttribute DOM attribute node to Boolean "false" or "true".
att | pointer to xsd__anyAttribute DOM attribute node to set |
b | Boolean value (zero = false, nonzero = true) |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_copy | ( | struct soap_dom_attribute * | att, |
const struct soap_dom_attribute * | node | ||
) |
Copy an xsd__anyAttribute DOM attribute node to another (not a deep copy)
att | pointer to xsd__anyAttribute DOM attribute node to copy to (destination) |
node | pointer to xsd__anyAttribute DOM attribute node to copy from (source) |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_double | ( | struct soap_dom_attribute * | att, |
double | x | ||
) |
Set text of an xsd__anyAttribute DOM attribute node to a double float value.
att | pointer to xsd__anyAttribute DOM attribute node to set |
x | double float value (NaN and +/-INF are also supported) |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_find | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt | ||
) |
Find matching attribute node of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any) |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_find_next | ( | const struct soap_dom_attribute * | att, |
const char * | ns, | ||
const char * | patt | ||
) |
Find next matching attribute node of an xsd__anyType DOM element node.
att | pointer to current xsd__anyAttribute DOM attribute node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any) |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_first | ( | struct soap_dom_element * | elt | ) |
Returns pointer to first xsd__anyAttribute DOM attribute node of xsd__anyType DOM element node, if any.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_get | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | tag | ||
) |
Get attribute node of an xsd__anyType DOM element node, if attribute exists.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string (NULL matches the null (empty) namespace if tag is unqualified) of attribute |
tag | (un)qualified tag name string of attribute |
SOAP_FMAC1 double SOAP_FMAC2 soap_att_get_double | ( | const struct soap_dom_attribute * | att | ) |
Return double float value of decimal text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM.
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 int SOAP_FMAC2 soap_att_get_int | ( | const struct soap_dom_attribute * | att | ) |
Return integer value of numeric text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM.
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 long SOAP_FMAC2 soap_att_get_long | ( | const struct soap_dom_attribute * | att | ) |
Return long integer value of numeric text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM.
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 LONG64 SOAP_FMAC2 soap_att_get_LONG64 | ( | const struct soap_dom_attribute * | att | ) |
Return 64 bit integer value of numeric text of xsd__anyAttribute DOM attribute node, requires non-NULL soap context in the DOM.
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 const char* SOAP_FMAC2 soap_att_get_ns | ( | const struct soap_dom_attribute * | att | ) |
Get the namespace URI of an xsd__anyAttribute DOM attribute node.
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 const char* SOAP_FMAC2 soap_att_get_tag | ( | const struct soap_dom_attribute * | att | ) |
Get the tag name of an xsd__anyAttribute DOM attribute node.
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 const char* SOAP_FMAC2 soap_att_get_text | ( | const struct soap_dom_attribute * | att | ) |
Return text of xsd__anyAttribute DOM attribute node.
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_get_w | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Get attribute node of an xsd__anyType DOM element node, if attribute exists.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string (NULL matches the null (empty) namespace if tag is unqualified) of attribute |
tag | (un)qualified tag name wide string of attribute |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_int | ( | struct soap_dom_attribute * | att, |
LONG64 | n | ||
) |
Set text of an xsd__anyAttribute DOM attribute node to a 64 bit integer value.
att | pointer to xsd__anyAttribute DOM attribute node to set |
n | 64 bit integer value |
SOAP_FMAC1 int SOAP_FMAC2 soap_att_is_false | ( | const struct soap_dom_attribute * | att | ) |
Return nonzero if xsd__anyAttribute DOM attribute node text is Boolean "false" or "0".
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 int SOAP_FMAC2 soap_att_is_true | ( | const struct soap_dom_attribute * | att | ) |
Return nonzero if xsd__anyAttribute DOM attribute node text is Boolean "true" or "1".
att | pointer to xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 int SOAP_FMAC2 soap_att_match | ( | const struct soap_dom_attribute * | att, |
const char * | ns, | ||
const char * | patt | ||
) |
Match the namespace URI and tag name of an xsd__anyAttribute DOM attribute node against a pattern.
att | pointer to xsd__anyAttribute DOM attribute node |
ns | namespace URI string pattern ("*" matches any, NULL and "" match the null (empty) namespace) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any) |
SOAP_FMAC1 int SOAP_FMAC2 soap_att_match_w | ( | const struct soap_dom_attribute * | att, |
const char * | ns, | ||
const wchar_t * | patt | ||
) |
Match the namespace URI and tag name of an xsd__anyAttribute DOM attribute node against a pattern.
att | pointer to xsd__anyAttribute DOM attribute node |
ns | namespace URI string pattern ("*" matches any, NULL and "" match the null (empty) namespace) |
patt | (un)qualified tag name wide string pattern (NULL, "*", and "*:*" match any) |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_new | ( | struct soap * | soap, |
const char * | ns, | ||
const char * | tag | ||
) |
Returns pointer to new xsd__anyAttribute DOM attribute node.
soap | context that manages this object |
ns | namespace URI string or NULL |
tag | (un)qualified tag name string |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_new_w | ( | struct soap * | soap, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Returns pointer to new xsd__anyAttribute DOM attribute node.
soap | context that manages this object |
ns | namespace URI string or NULL |
tag | (un)qualified tag name wide string |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_next | ( | const struct soap_dom_attribute * | att | ) |
Returns pointer to next xsd__anyAttribute DOM attribute node, if any.
att | pointer to current xsd__anyAttribute DOM attribute node in attribute list |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_set | ( | struct soap_dom_attribute * | att, |
const char * | ns, | ||
const char * | tag | ||
) |
Set xsd__anyAttribute DOM attribute namespace URI and tag name.
att | pointer to xsd__anyAttribute DOM attribute to set |
ns | namespace URI string or NULL |
tag | (un)qualified tag name string |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_set_w | ( | struct soap_dom_attribute * | att, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Set xsd__anyAttribute DOM attribute namespace URI and tag name.
att | pointer to xsd__anyAttribute DOM attribute to set |
ns | namespace URI string or NULL |
tag | (un)qualified tag name wide string |
SOAP_FMAC1 size_t SOAP_FMAC2 soap_att_size | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt | ||
) |
Return number of matching attribute nodes of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any) |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_text | ( | struct soap_dom_attribute * | att, |
const char * | text | ||
) |
Set text of an xsd__anyAttribute DOM attribute node.
att | pointer to xsd__anyAttribute DOM attribute node to set |
text | string or NULL |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_text_w | ( | struct soap_dom_attribute * | att, |
const wchar_t * | text | ||
) |
Set text of an xsd__anyAttribute DOM attribute node.
att | pointer to xsd__anyAttribute DOM attribute node to set |
text | wide string or NULL |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_att_w | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Populate xsd__anyType DOM element node with an attribute node, if the attribute does not already exists.
elt | pointer to xsd__anyType DOM element to populate |
ns | namespace URI string or NULL of attribute |
tag | (un)qualified tag name wide string of attribute |
SOAP_FMAC1 void SOAP_FMAC2 soap_default_xsd__anyAttribute | ( | struct soap * | soap, |
struct soap_dom_attribute * | node | ||
) |
SOAP_FMAC1 void SOAP_FMAC2 soap_default_xsd__anyType | ( | struct soap * | soap, |
struct soap_dom_element * | node | ||
) |
SOAP_FMAC1 void SOAP_FMAC2 soap_del_xsd__anyAttribute | ( | const struct soap_dom_attribute * | a | ) |
SOAP_FMAC1 void SOAP_FMAC2 soap_del_xsd__anyType | ( | const struct soap_dom_element * | a | ) |
SOAP_FMAC3 void SOAP_FMAC4 soap_delelement | ( | const void * | , |
int | |||
) |
SOAP_FMAC1 int SOAP_FMAC2 soap_dom_call | ( | struct soap * | soap, |
const char * | endpoint, | ||
const char * | action, | ||
const struct soap_dom_element * | in, | ||
struct soap_dom_element * | out | ||
) |
SOAP_FMAC1 int SOAP_FMAC2 soap_dom_call | ( | struct soap * | soap, |
const char * | endpoint, | ||
const char * | action, | ||
const struct soap_dom_element & | in, | ||
struct soap_dom_element & | out | ||
) |
SOAP_FMAC1 int SOAP_FMAC2 soap_dom_call | ( | struct soap * | soap, |
const char * | endpoint, | ||
const char * | action, | ||
const struct soap_dom_element * | in, | ||
struct soap_dom_element & | out | ||
) |
SOAP_FMAC1 int SOAP_FMAC2 soap_dom_call | ( | struct soap * | soap, |
const char * | endpoint, | ||
const char * | action, | ||
const struct soap_dom_element & | in, | ||
struct soap_dom_element * | out | ||
) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_dom_find | ( | struct soap_dom_element * | begin, |
const struct soap_dom_element * | end, | ||
const char * | ns, | ||
const char * | patt, | ||
int | type | ||
) |
Find matching xsd__anyType DOM element node in depth-first traversal of node graph (XPath recursive descent)
begin | pointer to starting xsd__anyType DOM element node of node graph to search |
end | pointer to the ending xsd__anyType DOM element node (exclusive), usually the starting node of the graph traversal |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (use '@' to match attributes, NULL, "*" and "*:*" match any, "" matches unnamed node) |
type | SOAP_TYPE_T type of deserialized object of type T to match or 0 |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_dom_find_next | ( | const struct soap_dom_element * | elt, |
const struct soap_dom_element * | end, | ||
const char * | ns, | ||
const char * | patt, | ||
int | type | ||
) |
Find next matching xsd__anyType DOM element node in depth-first traversal of node graph (XPath recursive descent)
elt | pointer to current xsd__anyType DOM element node of node graph to search |
end | pointer to the ending xsd__anyType DOM element node, usually the starting node of the graph traversal |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (use '@' to match attributes, NULL, "*" and "*:*" match any, "" matches unnamed node) |
type | SOAP_TYPE_T type of deserialized object of type T to match or 0 |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_dom_next_attribute | ( | const struct soap_dom_attribute * | att | ) |
Return next xsd__anyAttribute DOM attribute node in attribute list.
att | pointer to current xsd__anyAttribute DOM attribute node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_dom_next_element | ( | const struct soap_dom_element * | elt, |
const struct soap_dom_element * | end | ||
) |
Return next xsd__anyType DOM element node in depth-first traversal of node graph (XPath recursive descent)
elt | pointer to current xsd__anyType DOM element node |
end | pointer to the ending xsd__anyType DOM element node (exclusive), usually the starting node of the graph traversal |
SOAP_FMAC1 struct soap_dom_attribute* SOAP_FMAC2 soap_dup_xsd__anyAttribute | ( | struct soap * | soap, |
struct soap_dom_attribute * | d, | ||
const struct soap_dom_attribute * | a | ||
) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_dup_xsd__anyType | ( | struct soap * | soap, |
struct soap_dom_element * | d, | ||
const struct soap_dom_element * | a | ||
) |
SOAP_FMAC3 void* SOAP_FMAC4 soap_dupelement | ( | struct soap * | , |
const void * | , | ||
int | |||
) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | tag | ||
) |
Populate xsd__anyType DOM element node with a child element node.
elt | pointer to xsd__anyType DOM element to populate |
ns | namespace URI string or NULL of child element |
tag | (un)qualified tag name string of child element or NULL (unnamed node) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_bool | ( | struct soap_dom_element * | elt, |
LONG64 | b | ||
) |
Set text of an xsd__anyType DOM element node to Boolean "false" or "true".
elt | pointer to xsd__anyType DOM element node to set |
b | Boolean value (zero = false, nonzero = true) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_copy | ( | struct soap_dom_element * | elt, |
const struct soap_dom_element * | node | ||
) |
Copy an xsd__anyType DOM element node to another (not a deep copy)
elt | pointer to xsd__anyType DOM element node to copy to (destination) |
node | pointer to xsd__anyType DOM element node to copy from (source) |
SOAP_FMAC1 size_t SOAP_FMAC2 soap_elt_depth | ( | const struct soap_dom_element * | elt | ) |
Return depth from the root node of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_double | ( | struct soap_dom_element * | elt, |
double | x | ||
) |
Set text of an xsd__anyType DOM element node to a double float value.
elt | pointer to xsd__anyType DOM element node to set |
x | double float value (NaN and +/-INF are also supported) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_find | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt | ||
) |
Find matching child element node of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_find_next | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt | ||
) |
Find next matching child element node of an xsd__anyType DOM element node.
elt | pointer to current xsd__anyType DOM child element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_find_next_type | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt, | ||
int | type | ||
) |
Find next matching child element node of an xsd__anyType DOM element node that has a deserialized object.
elt | pointer to current xsd__anyType DOM child element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
type | SOAP_TYPE_T type of deserialized object of type T to match or 0 |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_find_type | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt, | ||
int | type | ||
) |
Find matching child element node of an xsd__anyType DOM element node that has a deserialized object.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
type | SOAP_TYPE_T type of deserialized object of type T to match or 0 |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_first | ( | struct soap_dom_element * | elt | ) |
Returns pointer to first child element node of xsd__anyType DOM element node, if any.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_get | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | tag | ||
) |
Get child element node of an xsd__anyType DOM element node, if child element exists.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string (NULL matches the null (empty) namespace if tag is unqualified) of child element |
tag | (un)qualified tag name string (NULL matches unnamed node) of child element |
SOAP_FMAC1 double SOAP_FMAC2 soap_elt_get_double | ( | const struct soap_dom_element * | elt | ) |
Return double float value of decimal text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 int SOAP_FMAC2 soap_elt_get_int | ( | const struct soap_dom_element * | elt | ) |
Return integer value of numeric text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 long SOAP_FMAC2 soap_elt_get_long | ( | const struct soap_dom_element * | elt | ) |
Return long integer value of numeric text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 LONG64 SOAP_FMAC2 soap_elt_get_LONG64 | ( | const struct soap_dom_element * | elt | ) |
Return 64 bit integer value of numeric text of xsd__anyType DOM element node, requires non-NULL soap context in the DOM.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_get_next | ( | const struct soap_dom_element * | elt | ) |
Get next child element node that has the same namespace URI and tag name as the current child element node.
elt | pointer to current xsd__anyType DOM child element node |
SOAP_FMAC1 const void* SOAP_FMAC2 soap_elt_get_node | ( | const struct soap_dom_element * | elt, |
int | type | ||
) |
Get pointer to deserialized object stored in xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
type | SOAP_TYPE_T requested type to match |
SOAP_FMAC1 const char* SOAP_FMAC2 soap_elt_get_ns | ( | const struct soap_dom_element * | elt | ) |
Get the namespace URI of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_get_nth | ( | struct soap_dom_element * | elt, |
size_t | n | ||
) |
Get N-th child element node that has the same namespace URI and tag name as the current child element node at position one (1) in the sibling list.
elt | pointer to current xsd__anyType DOM child element node at position one (1) in the sibling list |
n | N-th element minus one located from the current element node at position one (1), 1 returns the current element (elt) |
SOAP_FMAC1 const char* SOAP_FMAC2 soap_elt_get_tag | ( | const struct soap_dom_element * | elt | ) |
Get the tag name of an xsd__anyType DOM element node, if any.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 const char* SOAP_FMAC2 soap_elt_get_text | ( | const struct soap_dom_element * | elt | ) |
Return text of xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 int SOAP_FMAC2 soap_elt_get_type | ( | const struct soap_dom_element * | elt, |
const void ** | node | ||
) |
Get pointer to deserialized object stored in xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
node | pointer to pointer to void, to be set to point to deserialized object |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_get_w | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Get child element node of an xsd__anyType DOM element node, if child element exists.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string (NULL matches the null (empty) namespace if tag is unqualified) of child element |
tag | (un)qualified tag name wide string (NULL matches unnamed node) of child element |
SOAP_FMAC1 size_t SOAP_FMAC2 soap_elt_index | ( | const struct soap_dom_element * | elt | ) |
Return child index of an xsd__anyType DOM child element node in sibling list.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_int | ( | struct soap_dom_element * | elt, |
LONG64 | n | ||
) |
Set text of an xsd__anyType DOM element node to a 64 bit integer value.
elt | pointer to xsd__anyType DOM element node to set |
n | 64 bit integer value |
SOAP_FMAC1 int SOAP_FMAC2 soap_elt_is_false | ( | const struct soap_dom_element * | elt | ) |
Return nonzero if xsd__anyType DOM element node text is Boolean "false" or "0".
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 int SOAP_FMAC2 soap_elt_is_true | ( | const struct soap_dom_element * | elt | ) |
Return nonzero if xsd__anyType DOM element node text is Boolean "true" or "1".
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 size_t SOAP_FMAC2 soap_elt_len | ( | const struct soap_dom_element * | elt | ) |
Return number of siblings of an xsd__anyType DOM child node that have the same namespace URI and tag name.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 int SOAP_FMAC2 soap_elt_match | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt | ||
) |
Match the namespace URI and tag name of an xsd__anyType DOM element node against a pattern.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, NULL and "" match the null (empty) namespace) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
SOAP_FMAC1 int SOAP_FMAC2 soap_elt_match_w | ( | const struct soap_dom_element * | elt, |
const char * | ns, | ||
const wchar_t * | patt | ||
) |
Match the namespace URI and tag name of an xsd__anyType DOM element node against a pattern.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, NULL and "" match the null (empty) namespace) |
patt | (un)qualified tag name wide string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_new | ( | struct soap * | soap, |
const char * | ns, | ||
const char * | tag | ||
) |
Returns pointer to new xsd__anyType DOM element node.
soap | context that manages this object |
ns | namespace URI string or NULL |
tag | (un)qualified tag name string or NULL (unnamed node) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_new_w | ( | struct soap * | soap, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Returns pointer to new xsd__anyType DOM element node.
soap | context that manages this object |
ns | namespace URI string or NULL |
tag | (un)qualified tag name wide string or NULL (unnamed node) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_next | ( | const struct soap_dom_element * | elt | ) |
Returns pointer to next xsd__anyType DOM child element node, if any.
elt | pointer to current xsd__anyType DOM child element node in sibling list |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_node | ( | struct soap_dom_element * | elt, |
const void * | node, | ||
int | type | ||
) |
Set an xsd__anyType DOM element node to point to a serializable object.
elt | pointer to xsd__anyType DOM element node to set |
node | pointer to serializable object |
type | SOAP_TYPE_T type of the serializable object of type T |
SOAP_FMAC1 size_t SOAP_FMAC2 soap_elt_nth | ( | const struct soap_dom_element * | elt | ) |
Return index of an xsd__anyType DOM child node among siblings that have the same namespace URI and tag name.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_parent | ( | const struct soap_dom_element * | elt | ) |
Return pointer to parent of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_set | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | tag | ||
) |
Set xsd__anyType DOM element namespace URI and tag name.
elt | pointer to xsd__anyType DOM element to set |
ns | namespace URI string or NULL |
tag | (un)qualified tag name string or NULL (unnamed node) |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_set_w | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Set xsd__anyType DOM element namespace URI and tag name.
elt | pointer to xsd__anyType DOM element to set |
ns | namespace URI string or NULL |
tag | (un)qualified tag name wide string or NULL (unnamed node) |
SOAP_FMAC1 size_t SOAP_FMAC2 soap_elt_size | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt | ||
) |
Return number of matching child element nodes of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
SOAP_FMAC1 size_t SOAP_FMAC2 soap_elt_size_type | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | patt, | ||
int | type | ||
) |
Return number of matching child element nodes of an xsd__anyType DOM element node that have deserialized objects.
elt | pointer to xsd__anyType DOM element node |
ns | namespace URI string pattern ("*" matches any, "" matches the null (empty) namespace, NULL matches the null (empty) namespace if tag is unqualified or the namespace from namespace table if tag is qualified) |
patt | (un)qualified tag name string pattern (NULL, "*", and "*:*" match any, "" matches unnamed node) |
type | SOAP_TYPE_T type of deserialized object of type T to match or 0 |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_text | ( | struct soap_dom_element * | elt, |
const char * | text | ||
) |
Set text of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node to set |
text | string or NULL |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_text_w | ( | struct soap_dom_element * | elt, |
const wchar_t * | text | ||
) |
Set text of an xsd__anyType DOM element node.
elt | pointer to xsd__anyType DOM element node to set |
text | wide string or NULL |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_elt_w | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const wchar_t * | tag | ||
) |
Populate xsd__anyType DOM element node with a child element node.
elt | pointer to xsd__anyType DOM element to populate |
ns | namespace URI string or NULL of child element |
tag | (un)qualified tag name wide string of child element or NULL (unnamed node) |
SOAP_FMAC3 struct soap_dom_attribute* SOAP_FMAC4 soap_get_xsd__anyAttribute | ( | struct soap * | , |
struct soap_dom_attribute * | , | ||
const char * | , | ||
const char * | |||
) |
SOAP_FMAC3 struct soap_dom_element* SOAP_FMAC4 soap_get_xsd__anyType | ( | struct soap * | , |
struct soap_dom_element * | , | ||
const char * | , | ||
const char * | |||
) |
SOAP_FMAC3 void* SOAP_FMAC4 soap_getelement | ( | struct soap * | , |
const char * | , | ||
int * | |||
) |
SOAP_FMAC1 struct soap_dom_attribute *SOAP_FMAC2 soap_in_xsd__anyAttribute | ( | struct soap * | soap, |
const char * | tag, | ||
struct soap_dom_attribute * | node, | ||
const char * | type | ||
) |
SOAP_FMAC1 struct soap_dom_element *SOAP_FMAC2 soap_in_xsd__anyType | ( | struct soap * | soap, |
const char * | tag, | ||
struct soap_dom_element * | node, | ||
const char * | type | ||
) |
SOAP_FMAC3 void SOAP_FMAC4 soap_markelement | ( | struct soap * | , |
const void * | , | ||
int | |||
) |
|
static |
|
static |
|
static |
|
static |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_nth | ( | struct soap_dom_element * | elt, |
size_t | n | ||
) |
Add a N-th child element with the same namespace and tag name as a xsd__anyType DOM child element node at position one (1) in a sibling list.
elt | pointer to xsd__anyType DOM child element at position one (1) |
n | additional child element position requested, counting from one (1) XPath style |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_nth_elt | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const char * | tag, | ||
size_t | n | ||
) |
Populate xsd__anyType DOM element node with an N-th child element node.
elt | pointer to xsd__anyType DOM element to populate |
ns | namespace URI string or NULL of child element |
tag | (un)qualified tag name string of child element or NULL (unnamed node) |
n | child element position, counting from one (1) XPath style |
SOAP_FMAC1 struct soap_dom_element* SOAP_FMAC2 soap_nth_elt_w | ( | struct soap_dom_element * | elt, |
const char * | ns, | ||
const wchar_t * | tag, | ||
size_t | n | ||
) |
Populate xsd__anyType DOM element node with an N-th child element node.
elt | pointer to xsd__anyType DOM element to populate |
ns | namespace URI string or NULL of child element |
tag | (un)qualified tag name wide string of child element or NULL (unnamed node) |
n | child element position, counting from one (1) XPath style |
SOAP_FMAC1 int SOAP_FMAC2 soap_out_xsd__anyAttribute | ( | struct soap * | soap, |
const char * | tag, | ||
int | id, | ||
const struct soap_dom_attribute * | node, | ||
const char * | type | ||
) |
SOAP_FMAC1 int SOAP_FMAC2 soap_out_xsd__anyType | ( | struct soap * | soap, |
const char * | tag, | ||
int | id, | ||
const struct soap_dom_element * | node, | ||
const char * | type | ||
) |
|
static |
|
static |
|
static |
SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__anyAttribute | ( | struct soap * | , |
const struct soap_dom_attribute * | , | ||
const char * | , | ||
const char * | |||
) |
SOAP_FMAC3 int SOAP_FMAC4 soap_put_xsd__anyType | ( | struct soap * | , |
const struct soap_dom_element * | , | ||
const char * | , | ||
const char * | |||
) |
SOAP_FMAC3 int SOAP_FMAC4 soap_putelement | ( | struct soap * | , |
const void * | , | ||
const char * | , | ||
int | , | ||
int | |||
) |
int soap_read_xsd__anyType | ( | struct soap * | soap, |
xsd__anyType * | dom | ||
) |
Parse XML from current input (this is an auto-generted macro in soapH.h)
soap | context that manages IO |
dom | root element node of the XML document |
SOAP_FMAC1 void SOAP_FMAC2 soap_serialize_xsd__anyAttribute | ( | struct soap * | soap, |
const struct soap_dom_attribute * | node | ||
) |
SOAP_FMAC1 void SOAP_FMAC2 soap_serialize_xsd__anyType | ( | struct soap * | soap, |
const struct soap_dom_element * | node | ||
) |
|
static |
int soap_write_xsd__anyType | ( | struct soap * | soap, |
xsd__anyType * | dom | ||
) |
Write XML to current output (this is an auto-generted macro in soapH.h)
soap | context that manages IO |
dom | root element node of the XML document |