Tellurium Plugin C API  1.0.0
Plugin Framework for Tellurium
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Groups Pages
telplugins_properties_api.h
Go to the documentation of this file.
1 
42 #ifndef telplugins_properties_apiH
43 #define telplugins_properties_apiH
44 #include "telplugins_exporter.h"
45 #include "telplugins_types.h"
46 //---------------------------------------------------------------------------
47 
48 #if defined(__cplusplus)
49 using namespace tlpc;
50 extern "C" {
51 #endif
52 
65 TLP_C_DS TELHandle tlp_cc tpCreateProperty(const char* label, const char* type, const char* hint, void* value);
66 
71 TLP_C_DS TELHandle tlp_cc tpCreatePropertyList(void);
72 
78 TLP_C_DS bool tlp_cc tpFreeProperties(TELHandle propertiesH);
79 
85 TLP_C_DS bool tlp_cc tpFreeProperty(TELHandle property);
86 
93 TLP_C_DS bool tlp_cc tpAddPropertyToList(TELHandle handle, TELHandle property);
94 
101 TLP_C_DS bool tlp_cc tpSetPropertyByString(TELHandle handle, const char* value);
102 
109 TLP_C_DS bool tlp_cc tpGetBoolProperty(TELHandle handle, bool* value);
110 
117 TLP_C_DS bool tlp_cc tpSetBoolProperty(TELHandle handle, bool value);
118 
125 TLP_C_DS bool tlp_cc tpSetIntProperty(TELHandle handle, int value);
126 
133 TLP_C_DS bool tlp_cc tpGetIntProperty(TELHandle handle, int *value);
134 
141 TLP_C_DS bool tlp_cc tpSetDoubleProperty(TELHandle handle, double value);
142 
149 TLP_C_DS bool tlp_cc tpGetDoubleProperty(TELHandle handle, double *value);
150 
157 TLP_C_DS bool tlp_cc tpSetStringProperty(TELHandle handle, char* value);
158 
165 TLP_C_DS bool tlp_cc tpGetStringProperty(TELHandle handle, const char* (*value));
166 
173 TLP_C_DS bool tlp_cc tpSetListProperty(TELHandle handle, void* value);
174 
181 TLP_C_DS bool tlp_cc tpGetListProperty(TELHandle handle, void* value);
182 
189 TLP_C_DS bool tlp_cc tpSetTelluriumDataProperty(TELHandle handle, void* value);
190 
197 TLP_C_DS bool tlp_cc tpGetTelluriumDataProperty(TELHandle handle, void* value);
198 
204 TLP_C_DS char* tlp_cc tpGetPropertyInfo(TELHandle handle);
205 
211 TLP_C_DS char* tlp_cc tpGetPropertyValueAsString(TELHandle handle);
212 
218 TLP_C_DS void* tlp_cc tpGetPropertyValueHandle(TELHandle handle);
219 
225 TLP_C_DS char* tlp_cc tpGetPropertyName(TELHandle handle);
226 
232 TLP_C_DS char* tlp_cc tpGetPropertyHint(TELHandle handle);
233 
240 TLP_C_DS bool tlp_cc tpSetPropertyHint(TELHandle handle, const char* value);
241 
247 TLP_C_DS char* tlp_cc tpGetPropertyDescription(TELHandle handle);
248 
255 TLP_C_DS bool tlp_cc tpSetPropertyDescription(TELHandle handle, const char* value);
256 
262 TLP_C_DS char* tlp_cc tpGetPropertyType(TELHandle handle);
263 
271 TLP_C_DS TELHandle tlp_cc tpGetFirstProperty(TELHandle handle);
272 
281 TLP_C_DS TELHandle tlp_cc tpGetNextProperty(TELHandle handle);
282 
291 TLP_C_DS TELHandle tlp_cc tpGetPreviousProperty(TELHandle handle);
292 
300 TLP_C_DS TELHandle tlp_cc tpGetCurrentProperty(TELHandle handle);
301 
308 TLP_C_DS char* tlp_cc tpGetNamesFromPropertyList(TELHandle handle);
309 
317 TLP_C_DS TELHandle tlp_cc tpGetProperty(TELHandle handle, const char* name);
318 
325 TLP_C_DS bool tlp_cc tpClearPropertyList(TELHandle handle);
326 
329 #if defined(__cplusplus)
330 }
331 #endif
332 
333 
334 #endif