Vuo
2.4.4
Loading...
Searching...
No Matches
type
VuoTree.h
Go to the documentation of this file.
1
10
#ifndef VuoTree_h
11
#define VuoTree_h
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
#include "
VuoDictionary_VuoText_VuoText.h
"
18
30
typedef
struct
31
{
32
void
*
rootXmlNode
;
33
struct
json_object *
rootJson
;
34
void
*
children
;
35
}
VuoTree
;
36
37
#define VuoTree_OVERRIDES_INTERPROCESS_SERIALIZATION
38
#include "
VuoList_VuoTree.h
"
39
40
VuoTree
VuoTree_makeFromJson
(
struct
json_object *js);
41
struct
json_object *
VuoTree_getJson
(
const
VuoTree
value);
42
struct
json_object *
VuoTree_getInterprocessJson
(
const
VuoTree
value);
43
char
*
VuoTree_getSummary
(
const
VuoTree
value);
44
45
VuoTree
VuoTree_makeEmpty
(
void
);
46
VuoTree
VuoTree_make
(
VuoText
name,
VuoDictionary_VuoText_VuoText
attributes,
VuoText
content,
VuoList_VuoTree
children);
47
VuoTree
VuoTree_makeFromJsonText
(
VuoText
json);
48
VuoTree
VuoTree_makeFromXmlText
(
VuoText
xml,
bool
includeWhitespace);
49
VuoText
VuoTree_serializeAsXml
(
VuoTree
tree,
bool
indent);
50
VuoText
VuoTree_serializeAsJson
(
VuoTree
tree,
bool
indent);
51
void
VuoTree_retain
(
VuoTree
value);
52
void
VuoTree_release
(
VuoTree
value);
53
54
VuoText
VuoTree_getName
(
VuoTree
tree);
55
VuoDictionary_VuoText_VuoText
VuoTree_getAttributes
(
VuoTree
tree);
56
VuoText
VuoTree_getAttribute
(
VuoTree
tree,
VuoText
attribute);
57
VuoText
VuoTree_getContent
(
VuoTree
tree,
bool
includeDescendants);
58
VuoList_VuoTree
VuoTree_getChildren
(
VuoTree
tree);
59
struct
json_object *
VuoTree_getContainedValue
(
VuoTree
tree);
60
VuoList_VuoTree
VuoTree_findItemsUsingXpath
(
VuoTree
tree,
VuoText
xpath);
61
VuoList_VuoTree
VuoTree_findItemsWithName
(
VuoTree
tree,
VuoText
name,
VuoTextComparison
comparison,
bool
includeDescendants);
62
VuoList_VuoTree
VuoTree_findItemsWithAttribute
(
VuoTree
tree,
VuoText
attribute,
VuoText
value,
VuoTextComparison
valueComparison,
bool
includeDescendants);
63
VuoList_VuoTree
VuoTree_findItemsWithContent
(
VuoTree
tree,
VuoText
content,
VuoTextComparison
comparison,
bool
includeDescendants);
64
66
69
char
*
VuoTree_getString
(
const
VuoTree
value);
70
char
*
VuoTree_getInterprocessString
(
const
VuoTree
value);
72
77
#ifdef __cplusplus
78
}
79
#endif
80
81
#endif
Generated on Thu Nov 9 2023 16:59:30 for Vuo by
1.9.8