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
swmm_category.h File Reference

Standalone definition of the SWMM-element Category enum used by per-Category APIs across layers, sublayers, dialogs, and tests. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  OpenSWMMVis
 

Enumerations

enum  OpenSWMMVis::SwmmCategory {
  OpenSWMMVis::CatJunctions = 0 ,
  OpenSWMMVis::CatOutfalls ,
  OpenSWMMVis::CatStorage ,
  OpenSWMMVis::CatDividers ,
  OpenSWMMVis::CatConduits ,
  OpenSWMMVis::CatPumps ,
  OpenSWMMVis::CatOrifices ,
  OpenSWMMVis::CatWeirs ,
  OpenSWMMVis::CatOutlets ,
  OpenSWMMVis::CatSubcatchments ,
  OpenSWMMVis::CatRainGages ,
  OpenSWMMVis::NumCategories
}
 Stable ordinal categorising every SWMM-element kind that has per-kind styling, per-kind tree rows, or per-kind result paint. More...
 

Detailed Description

Standalone definition of the SWMM-element Category enum used by per-Category APIs across layers, sublayers, dialogs, and tests.

Author
Caleb Buahin caleb.nosp@m..bua.nosp@m.hin@g.nosp@m.mail.nosp@m..com
Date
2026
License\n GPL-3.0-or-later

Carved out of swmmmodellayer.h so leaf tests can depend on the enum alone without dragging in the full layer's engine and Qt GUI dependencies. swmmmodellayer.h aliases the enum into the SWMMModelLayer class via using so existing call-sites that write SWMMModelLayer::Category continue to compile unchanged.