OpenSWMM Engine  6.0.0-alpha.4
Data-oriented, plugin-extensible SWMM Engine (6.0.0-alpha.4)
Loading...
Searching...
No Matches
openswmm::components::ComponentConfigSections Struct Reference

#include <ProcessComponentRegistry.hpp>

Collaboration diagram for openswmm::components::ComponentConfigSections:

Public Member Functions

const std::vector< std::string > * find (const std::string &upper_tag) const
 Borrow the first exact section-tag match.
 

Public Attributes

std::string source_path
 resolved absolute/effective path
 
std::vector< std::pair< std::string, std::vector< std::string > > > sections
 

Detailed Description

A component config file split into its bracketed sections, in file order. Section tags are upper-cased; semicolon comments and trailing space/tab/CR are stripped, while leading content indentation is retained.

Member Function Documentation

◆ find()

const std::vector< std::string > * openswmm::components::ComponentConfigSections::find ( const std::string & upper_tag) const
inline

Borrow the first exact section-tag match.

Parameters
upper_tagAlready uppercase tag with exact interior spacing; this helper does not normalize it. Repeated sections remain separate.
Returns
Owned line-vector pointer, or null; invalidated when sections is replaced/grows.
Here is the caller graph for this function:

Member Data Documentation

◆ sections

std::vector<std::pair<std::string, std::vector<std::string> > > openswmm::components::ComponentConfigSections::sections

◆ source_path

std::string openswmm::components::ComponentConfigSections::source_path

resolved absolute/effective path


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