DSS C-API and dss.hpp
DSS C-API and dss.hpp expose a customized and extended implementation of OpenDSS to C and C++.
dss::classic::ITSData Class Reference
Inheritance diagram for dss::classic::ITSData:
[legend]
Collaboration diagram for dss::classic::ITSData:
[legend]

Public Member Functions

 ITSData (dss::APIUtil *util)
 
strings AllNames ()
 Array of strings with all TSData names in the circuit.
 
int32_t Count ()
 Number of TSData objects in active circuit.
 
int32_t First ()
 Sets the first TSData active. More...
 
string Name ()
 Get the name of the current active TSData.
 
ITSDataName (const char *value)
 Sets the active TSData by Name.
 
ITSDataName (const string &value)
 
int32_t Next ()
 Sets the next TSData active. More...
 
int32_t idx ()
 Get active TSData by index; index is 1-based: 1..count.
 
void idx (int32_t value)
 Get active TSData by index; index is 1-based: 1..count.
 
double EmergAmps ()
 Emergency ampere rating.
 
ITSDataEmergAmps (double value)
 
double NormAmps ()
 Normal Ampere rating.
 
ITSDataNormAmps (double value)
 
double Rdc ()
 
ITSDataRdc (double value)
 
double Rac ()
 
ITSDataRac (double value)
 
double GMRac ()
 
ITSDataGMRac (double value)
 
int32_t GMRUnits ()
 
ITSDataGMRUnits (int32_t value)
 
double Radius ()
 
ITSDataRadius (double value)
 
int32_t RadiusUnits ()
 
ITSDataRadiusUnits (int32_t value)
 
int32_t ResistanceUnits ()
 
ITSDataResistanceUnits (int32_t value)
 
double Diameter ()
 
ITSDataDiameter (double value)
 
double EpsR ()
 
ITSDataEpsR (double value)
 
double InsLayer ()
 
ITSDataInsLayer (double value)
 
double DiaIns ()
 
ITSDataDiaIns (double value)
 
double DiaCable ()
 
ITSDataDiaCable (double value)
 
double DiaShield ()
 
ITSDataDiaShield (double value)
 
double TapeLayer ()
 
ITSDataTapeLayer (double value)
 
double TapeLap ()
 
ITSDataTapeLap (double value)
 
- Public Member Functions inherited from dss::ContextState
 ContextState (APIUtil *util)
 

Additional Inherited Members

- Public Attributes inherited from dss::ContextState
void * ctx
 Pointer to the DSSContext for easy access.
 
APIUtilapi_util
 API utility functions.
 

Member Function Documentation

◆ First()

int32_t dss::classic::ITSData::First ( )
inline

Sets the first TSData active.

Returns 0 if no more.

◆ Next()

int32_t dss::classic::ITSData::Next ( )
inline

Sets the next TSData active.

Returns 0 if no more.


The documentation for this class was generated from the following file: