![]() |
DSS C-API and dss.hpp
DSS C-API and dss.hpp expose a customized and extended implementation of OpenDSS to C and C++.
|
Public Member Functions | |
| IDSSElement (dss::APIUtil *util) | |
| strings | AllPropertyNames () |
| Array of strings containing the names of all properties for the active DSS object. | |
| string | Name () |
| Full Name of Active DSS Object (general element or circuit element). | |
| int32_t | NumProperties () |
| Number of Properties for the active DSS object. | |
| string | ToJSON (int32_t options=0) |
| Returns the properties of the active DSS object as a JSON-encoded string. More... | |
Public Member Functions inherited from dss::ContextState | |
| ContextState (APIUtil *util) | |
Public Attributes | |
| IDSSProperty | Properties |
Public Attributes inherited from dss::ContextState | |
| void * | ctx |
| Pointer to the DSSContext for easy access. | |
| APIUtil * | api_util |
| API utility functions. | |
|
inline |
Returns the properties of the active DSS object as a JSON-encoded string.
The options parameter contains bit-flags to toggle specific features. See Obj_ToJSON (C-API) for more, or DSSObj.to_json in Python.
(API Extension)