SWMMVis  6.0.0-alpha.4
Qt6/C++ GIS-based graphical user interface for the SWMMVis engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
SWMMHydrographPropertyAdapter Class Reference

#include <swmmhydrographpropertyadapter.h>

Inheritance diagram for SWMMHydrographPropertyAdapter:
Collaboration diagram for SWMMHydrographPropertyAdapter:

Public Slots

void setGageNameRef (const DataObjectRef &ref)
 
- Public Slots inherited from SWMMDataObjectPropertyAdapter
void setName (const QString &newName)
 
void updateStoredName (const QString &newName)
 
void refresh ()
 

Public Member Functions

QString gageName () const
 
DataObjectRef gageNameRef () const
 
int rowCount () const
 
QString rowSummary () const
 
Q_INVOKABLE QString displayLabelFor (const QString &property) const
 
 SWMMDataObjectPropertyAdapter (SWMM_Engine engine, QString name, QObject *parent=nullptr)
 
- Public Member Functions inherited from SWMMDataObjectPropertyAdapter
 SWMMDataObjectPropertyAdapter (SWMM_Engine engine, QString name, QObject *parent=nullptr)
 
 ~SWMMDataObjectPropertyAdapter () override=default
 
QString name () const
 
SWMM_Engine engine () const
 
void setModelLayer (SWMMModelLayer *layer)
 
SWMMModelLayermodelLayer () const
 

Properties

DataObjectRef gageName
 
int rowCount
 
QString rowSummary
 
- Properties inherited from SWMMDataObjectPropertyAdapter
QString name
 

Additional Inherited Members

- Signals inherited from SWMMDataObjectPropertyAdapter
void changed ()
 
void renameRequested (const QString &oldName, const QString &newName)
 
void displayLabelsChanged ()
 
- Protected Attributes inherited from SWMMDataObjectPropertyAdapter
SWMM_Engine m_engine
 
QString m_name
 
SWMMModelLayerm_layer = nullptr
 Bound via setModelLayer.
 

Member Function Documentation

◆ displayLabelFor()

QString SWMMHydrographPropertyAdapter::displayLabelFor ( const QString &  property) const

◆ gageName()

QString SWMMHydrographPropertyAdapter::gageName ( ) const

Rain gage name assigned to this UH group (or empty if none).

◆ gageNameRef()

DataObjectRef SWMMHydrographPropertyAdapter::gageNameRef ( ) const

Slice BM.0-Browse-Edit — DataObjectRef wrapper of gageName().

◆ rowCount()

int SWMMHydrographPropertyAdapter::rowCount ( ) const

Number of (month, response) parameter rows for this group.

◆ rowSummary()

QString SWMMHydrographPropertyAdapter::rowSummary ( ) const

Human summary like "12 months × 3 responses".

◆ setGageNameRef

void SWMMHydrographPropertyAdapter::setGageNameRef ( const DataObjectRef ref)
slot

Slice BM.0-Browse-Edit — writes the selected rain gage via swmm_hydrograph_set_gage. Empty ref.currentName clears the assignment (engine accepts a NULL gage name).

Here is the call graph for this function:

◆ SWMMDataObjectPropertyAdapter()

SWMMDataObjectPropertyAdapter::SWMMDataObjectPropertyAdapter ( SWMM_Engine  engine,
QString  name,
QObject *  parent = nullptr 
)

Property Documentation

◆ gageName

DataObjectRef SWMMHydrographPropertyAdapter::gageName
readwrite

◆ rowCount

int SWMMHydrographPropertyAdapter::rowCount
read

◆ rowSummary

QString SWMMHydrographPropertyAdapter::rowSummary
read

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