Vuo 2.4.4
Loading...
Searching...
No Matches
VuoTree.h
Go to the documentation of this file.
1
10#ifndef VuoTree_h
11#define VuoTree_h
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
18
30typedef struct
31{
33 struct json_object *rootJson;
34 void *children;
35} VuoTree;
36
37#define VuoTree_OVERRIDES_INTERPROCESS_SERIALIZATION
38#include "VuoList_VuoTree.h"
39
40VuoTree VuoTree_makeFromJson(struct json_object *js);
41struct json_object * VuoTree_getJson(const VuoTree value);
42struct json_object * VuoTree_getInterprocessJson(const VuoTree value);
43char * VuoTree_getSummary(const VuoTree value);
44
48VuoTree VuoTree_makeFromXmlText(VuoText xml, bool includeWhitespace);
49VuoText VuoTree_serializeAsXml(VuoTree tree, bool indent);
50VuoText VuoTree_serializeAsJson(VuoTree tree, bool indent);
51void VuoTree_retain(VuoTree value);
52void VuoTree_release(VuoTree value);
53
57VuoText VuoTree_getContent(VuoTree tree, bool includeDescendants);
59struct json_object * VuoTree_getContainedValue(VuoTree tree);
61VuoList_VuoTree VuoTree_findItemsWithName(VuoTree tree, VuoText name, VuoTextComparison comparison, bool includeDescendants);
62VuoList_VuoTree VuoTree_findItemsWithAttribute(VuoTree tree, VuoText attribute, VuoText value, VuoTextComparison valueComparison, bool includeDescendants);
63VuoList_VuoTree VuoTree_findItemsWithContent(VuoTree tree, VuoText content, VuoTextComparison comparison, bool includeDescendants);
64
66
69char * VuoTree_getString(const VuoTree value);
72
77#ifdef __cplusplus
78}
79#endif
80
81#endif