Vuo  2.0.0
VuoTree.h
Go to the documentation of this file.
1 
10 #pragma once
11 
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;
35 } VuoTree;
36 
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 
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 
58 VuoText VuoTree_getContent(VuoTree tree, bool includeDescendants);
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