Vuo
2.0.1
type
VuoTree.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoDictionary_VuoText_VuoText.h
"
13
15
typedef
const
struct
VuoList_VuoTree_struct
{
void
*l; } *
VuoList_VuoTree
;
16
#define VuoList_VuoTree_TYPE_DEFINED
17
30
typedef
struct
31
{
32
void
*
rootXmlNode
;
33
struct
json_object
*
rootJson
;
34
VuoList_VuoTree
children
;
35
}
VuoTree
;
36
37
VuoTree
VuoTree_makeFromJson
(
struct
json_object
*js);
38
struct
json_object
*
VuoTree_getJson
(
const
VuoTree
value);
39
41
#define VuoTree_REQUIRES_INTERPROCESS_JSON
42
struct
json_object
*
VuoTree_getInterprocessJson
(
const
VuoTree
value);
43
44
char
*
VuoTree_getSummary
(
const
VuoTree
value);
45
46
VuoTree
VuoTree_makeEmpty
(
void
);
47
VuoTree
VuoTree_make
(
VuoText
name,
VuoDictionary_VuoText_VuoText
attributes,
VuoText
content,
VuoList_VuoTree
children);
48
VuoTree
VuoTree_makeFromJsonText
(
VuoText
json);
49
VuoTree
VuoTree_makeFromXmlText
(
VuoText
xml,
bool
includeWhitespace);
50
VuoText
VuoTree_serializeAsXml
(
VuoTree
tree,
bool
indent);
51
VuoText
VuoTree_serializeAsJson
(
VuoTree
tree,
bool
indent);
52
void
VuoTree_retain
(
VuoTree
value);
53
void
VuoTree_release
(
VuoTree
value);
54
55
VuoText
VuoTree_getName
(
VuoTree
tree);
56
VuoDictionary_VuoText_VuoText
VuoTree_getAttributes
(
VuoTree
tree);
57
VuoText
VuoTree_getAttribute
(
VuoTree
tree,
VuoText
attribute);
58
VuoText
VuoTree_getContent
(
VuoTree
tree,
bool
includeDescendants);
59
VuoList_VuoTree
VuoTree_getChildren
(
VuoTree
tree);
60
struct
json_object
*
VuoTree_getContainedValue
(
VuoTree
tree);
61
VuoList_VuoTree
VuoTree_findItemsUsingXpath
(
VuoTree
tree,
VuoText
xpath);
62
VuoList_VuoTree
VuoTree_findItemsWithName
(
VuoTree
tree,
VuoText
name,
VuoTextComparison
comparison,
bool
includeDescendants);
63
VuoList_VuoTree
VuoTree_findItemsWithAttribute
(
VuoTree
tree,
VuoText
attribute,
VuoText
value,
VuoTextComparison
valueComparison,
bool
includeDescendants);
64
VuoList_VuoTree
VuoTree_findItemsWithContent
(
VuoTree
tree,
VuoText
content,
VuoTextComparison
comparison,
bool
includeDescendants);
65
67
70
VuoTree
VuoTree_makeFromString
(
const
char
*str);
71
char
*
VuoTree_getString
(
const
VuoTree
value);
72
char
*
VuoTree_getInterprocessString
(
const
VuoTree
value);
74
Generated on Sat Mar 14 2020 13:04:39 for Vuo by
1.8.17