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.
 
ITSData & Name (const char *value)
 Sets the active TSData by Name.
 
ITSData & Name (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.
 
ITSData & EmergAmps (double value)
 
double NormAmps ()
 Normal Ampere rating.
 
ITSData & NormAmps (double value)
 
double Rdc ()
 
ITSData & Rdc (double value)
 
double Rac ()
 
ITSData & Rac (double value)
 
double GMRac ()
 
ITSData & GMRac (double value)
 
int32_t GMRUnits ()
 
ITSData & GMRUnits (int32_t value)
 
double Radius ()
 
ITSData & Radius (double value)
 
int32_t RadiusUnits ()
 
ITSData & RadiusUnits (int32_t value)
 
int32_t ResistanceUnits ()
 
ITSData & ResistanceUnits (int32_t value)
 
double Diameter ()
 
ITSData & Diameter (double value)
 
double EpsR ()
 
ITSData & EpsR (double value)
 
double InsLayer ()
 
ITSData & InsLayer (double value)
 
double DiaIns ()
 
ITSData & DiaIns (double value)
 
double DiaCable ()
 
ITSData & DiaCable (double value)
 
double DiaShield ()
 
ITSData & DiaShield (double value)
 
double TapeLayer ()
 
ITSData & TapeLayer (double value)
 
double TapeLap ()
 
ITSData & TapeLap (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.
 
APIUtil * api_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: