Vuo
2.1.1
node
vuo.table
VuoTable.h
Go to the documentation of this file.
1
10
#pragma once
11
12
#include "
VuoListPosition.h
"
13
#include "
VuoTableFormat.h
"
14
#include "
VuoTextComparison.h
"
15
#include "
VuoTextSort.h
"
16
#include "
VuoSortOrder.h
"
17
#include "
VuoList_VuoText.h
"
18
30
typedef
struct
31
{
32
void
*
data
;
33
size_t
rowCount
;
34
size_t
columnCount
;
35
}
VuoTable
;
36
37
VuoTable
VuoTable_makeFromJson
(
struct
json_object
*js);
38
struct
json_object
*
VuoTable_getJson
(
const
VuoTable
value);
39
41
#define VuoTable_REQUIRES_INTERPROCESS_JSON
42
struct
json_object
*
VuoTable_getInterprocessJson
(
const
VuoTable
value);
43
44
char
*
VuoTable_getSummary
(
const
VuoTable
value);
45
46
VuoTable
VuoTable_makeEmpty
(
void
);
47
VuoTable
VuoTable_makeFromText
(
VuoText
text,
VuoTableFormat
format);
48
VuoText
VuoTable_serialize
(
VuoTable
table,
VuoTableFormat
format);
49
VuoTable
VuoTable_sort_VuoInteger
(
VuoTable
table,
VuoInteger
columnIndex,
VuoTextSort
sortType,
VuoSortOrder
sortOrder,
bool
firstRowIsHeader);
50
VuoTable
VuoTable_sort_VuoText
(
VuoTable
table,
VuoText
columnHeader,
VuoTextSort
sortType,
VuoSortOrder
sortOrder,
bool
firstRowIsHeader);
51
VuoTable
VuoTable_transpose
(
VuoTable
table);
52
VuoList_VuoText
VuoTable_getRow_VuoInteger
(
VuoTable
table,
VuoInteger
rowIndex,
bool
includeHeader);
53
VuoList_VuoText
VuoTable_getRow_VuoText
(
VuoTable
table,
VuoText
rowHeader,
bool
includeHeader);
54
VuoList_VuoText
VuoTable_getColumn_VuoInteger
(
VuoTable
table,
VuoInteger
columnIndex,
bool
includeHeader);
55
VuoList_VuoText
VuoTable_getColumn_VuoText
(
VuoTable
table,
VuoText
columnHeader,
bool
includeHeader);
56
VuoText
VuoTable_getItem_VuoInteger_VuoInteger
(
VuoTable
table,
VuoInteger
rowIndex,
VuoInteger
columnIndex);
57
VuoText
VuoTable_getItem_VuoInteger_VuoText
(
VuoTable
table,
VuoInteger
rowIndex,
VuoText
columnHeader);
58
VuoText
VuoTable_getItem_VuoText_VuoInteger
(
VuoTable
table,
VuoText
rowHeader,
VuoInteger
columnIndex);
59
VuoText
VuoTable_getItem_VuoText_VuoText
(
VuoTable
table,
VuoText
rowHeader,
VuoText
columnHeader);
60
VuoTable
VuoTable_addRow
(
VuoTable
table,
VuoListPosition
position,
VuoList_VuoText
values);
61
VuoTable
VuoTable_addColumn
(
VuoTable
table,
VuoListPosition
position,
VuoList_VuoText
values);
62
VuoTable
VuoTable_changeRow_VuoInteger
(
VuoTable
table,
VuoInteger
rowIndex,
VuoList_VuoText
newValues,
bool
preserveHeader);
63
VuoTable
VuoTable_changeRow_VuoText
(
VuoTable
table,
VuoText
rowHeader,
VuoList_VuoText
newValues,
bool
preserveHeader);
64
VuoTable
VuoTable_changeColumn_VuoInteger
(
VuoTable
table,
VuoInteger
columnIndex,
VuoList_VuoText
newValues,
bool
preserveHeader);
65
VuoTable
VuoTable_changeColumn_VuoText
(
VuoTable
table,
VuoText
columnHeader,
VuoList_VuoText
newValues,
bool
preserveHeader);
66
VuoTable
VuoTable_changeItem_VuoInteger_VuoInteger
(
VuoTable
table,
VuoInteger
rowIndex,
VuoInteger
columnIndex,
VuoText
newValue);
67
VuoTable
VuoTable_changeItem_VuoInteger_VuoText
(
VuoTable
table,
VuoInteger
rowIndex,
VuoText
columnHeader,
VuoText
newValue);
68
VuoTable
VuoTable_changeItem_VuoText_VuoInteger
(
VuoTable
table,
VuoText
rowHeader,
VuoInteger
columnIndex,
VuoText
newValue);
69
VuoTable
VuoTable_changeItem_VuoText_VuoText
(
VuoTable
table,
VuoText
rowHeader,
VuoText
columnHeader,
VuoText
newValue);
70
VuoTable
VuoTable_removeRow
(
VuoTable
table,
VuoListPosition
position);
71
VuoTable
VuoTable_removeColumn
(
VuoTable
table,
VuoListPosition
position);
72
73
VuoList_VuoText
VuoTable_findFirstMatchingRow_VuoInteger
(
VuoTable
table,
VuoInteger
columnIndex,
VuoText
valueToFind,
VuoTextComparison
valueComparison,
bool
includeHeader);
74
VuoList_VuoText
VuoTable_findFirstMatchingRow_VuoText
(
VuoTable
table,
VuoText
columnHeader,
VuoText
valueToFind,
VuoTextComparison
valueComparison,
bool
includeHeader);
75
76
void
VuoTable_retain
(
VuoTable
value);
77
void
VuoTable_release
(
VuoTable
value);
78
80
83
VuoTable
VuoTable_makeFromString
(
const
char
*str);
84
char
*
VuoTable_getString
(
const
VuoTable
value);
85
char
*
VuoTable_getInterprocessString
(
const
VuoTable
value);
87
Generated on Thu Jul 9 2020 21:02:24 for Vuo by
1.8.18