Tellurium Plugin C API  1.0.0
Plugin Framework for Tellurium
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
telplugins_telluriumdata_api.h
1 
42 #ifndef telplugins_telluriumdata_apiH
43 #define telplugins_telluriumdata_apiH
44 #include "telplugins_exporter.h"
45 #include "telplugins_types.h"
46 //---------------------------------------------------------------------------
47 
48 
49 #if defined(__cplusplus)
50 using namespace tlpc;
51 extern "C" {
52 #endif
53 
60 TLP_C_DS TELHandle tlp_cc tpGetRoadRunnerDataHandle(TELHandle handle);
61 
76 TLP_C_DS bool tlp_cc tpGetTelluriumDataElement(TELHandle rrData, int r, int c, double *value);
77 
92 TLP_C_DS bool tlp_cc tpSetTelluriumDataElement(TELHandle rrData, int r, int c, double value);
93 
110 TLP_C_DS bool tlp_cc tpGetTelluriumDataWeight(TELHandle rrData, int r, int c, double *value);
111 
120 TLP_C_DS bool tlp_cc tpHasWeights(TELHandle rrData, bool* answer);
121 
130 TLP_C_DS bool tlp_cc tpAllocateWeights(TELHandle rrData, bool* success);
131 
148 TLP_C_DS bool tlp_cc tpSetTelluriumDataWeight(TELHandle rrData, int r, int c, double value);
149 
158 TLP_C_DS char* tlp_cc tpGetTelluriumDataColumnHeader(TELHandle data);
159 
167 TLP_C_DS char* tlp_cc tpGetTelluriumDataColumnHeaderByIndex(TELHandle data, int index);
168 
180 TLP_C_DS bool tlp_cc tpSetTelluriumDataColumnHeader(TELHandle data, char* hdr);
181 
190 TLP_C_DS bool tlp_cc tpSetTelluriumDataColumnHeaderByIndex(TELHandle data, int index, char* hdr);
191 
192 
200 TLP_C_DS int tlp_cc tpGetTelluriumDataNumRows(TELHandle data);
201 
209 TLP_C_DS int tlp_cc tpGetTelluriumDataNumCols(TELHandle data);
210 
220 TLP_C_DS TELHandle tlp_cc tpCreateTelluriumData(int rows, int cols, char* colNames);
221 
230 
238 TLP_C_DS bool tlp_cc tpFreeTelluriumData(TELHandle handle);
239 
247 TLP_C_DS bool tlp_cc tpWriteTelluriumDataToFile(TELHandle rrData, const char* fName);
248 
256 TLP_C_DS bool tlp_cc tpReadTelluriumDataFromFile(TELHandle rrData, const char* fName);
257 
258 
259 #if defined(__cplusplus)
260 } //extern "C"
261 #endif
262 
263 #endif