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::ICNData Class Reference
Inheritance diagram for dss::classic::ICNData:
[legend]
Collaboration diagram for dss::classic::ICNData:
[legend]

Public Member Functions

 ICNData (dss::APIUtil *util)
 
strings AllNames ()
 Array of strings with all CNData names in the circuit.
 
int32_t Count ()
 Number of CNData objects in active circuit.
 
int32_t First ()
 Sets the first CNData active. More...
 
string Name ()
 Get the name of the current active CNData.
 
ICNDataName (const char *value)
 Sets the active CNData by Name.
 
ICNDataName (const string &value)
 
int32_t Next ()
 Sets the next CNData active. More...
 
int32_t idx ()
 Get active CNData by index; index is 1-based: 1..count.
 
void idx (int32_t value)
 Get active CNData by index; index is 1-based: 1..count.
 
double EmergAmps ()
 Emergency ampere rating.
 
ICNDataEmergAmps (double value)
 
double NormAmps ()
 Normal Ampere rating.
 
ICNDataNormAmps (double value)
 
double Rdc ()
 
ICNDataRdc (double value)
 
double Rac ()
 
ICNDataRac (double value)
 
double GMRac ()
 
ICNDataGMRac (double value)
 
int32_t GMRUnits ()
 
ICNDataGMRUnits (int32_t value)
 
double Radius ()
 
ICNDataRadius (double value)
 
int32_t RadiusUnits ()
 
ICNDataRadiusUnits (int32_t value)
 
int32_t ResistanceUnits ()
 
ICNDataResistanceUnits (int32_t value)
 
double Diameter ()
 
ICNDataDiameter (double value)
 
double EpsR ()
 
ICNDataEpsR (double value)
 
double InsLayer ()
 
ICNDataInsLayer (double value)
 
double DiaIns ()
 
ICNDataDiaIns (double value)
 
double DiaCable ()
 
ICNDataDiaCable (double value)
 
int32_t k ()
 
ICNDatak (int32_t value)
 
double DiaStrand ()
 
ICNDataDiaStrand (double value)
 
double GmrStrand ()
 
ICNDataGmrStrand (double value)
 
double RStrand ()
 
ICNDataRStrand (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::ICNData::First ( )
inline

Sets the first CNData active.

Returns 0 if no more.

◆ Next()

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

Sets the next CNData active.

Returns 0 if no more.


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