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
mesh::InfilLookupTable Struct Reference

An editable, reusable classified lookup table. Saved/loaded as CSV so an agency's standard table travels between projects. More...

#include <meshinfil.h>

Collaboration diagram for mesh::InfilLookupTable:

Public Member Functions

InfilRow lookup (const QString &k1, const QString &k2, bool *matched=nullptr) const
 

Public Attributes

QString name
 
bool twoKey = false
 
QString key1Label
 
QString key2Label
 
QVector< InfilLookupEntryentries
 
InfilRow fallback
 Applied to unmatched keys.
 

Detailed Description

An editable, reusable classified lookup table. Saved/loaded as CSV so an agency's standard table travels between projects.

Member Function Documentation

◆ lookup()

InfilRow mesh::InfilLookupTable::lookup ( const QString &  k1,
const QString &  k2,
bool *  matched = nullptr 
) const

Lookup with fallback. matched receives whether a real entry hit.

Member Data Documentation

◆ entries

QVector<InfilLookupEntry> mesh::InfilLookupTable::entries

◆ fallback

InfilRow mesh::InfilLookupTable::fallback

Applied to unmatched keys.

◆ key1Label

QString mesh::InfilLookupTable::key1Label

◆ key2Label

QString mesh::InfilLookupTable::key2Label

◆ name

QString mesh::InfilLookupTable::name

◆ twoKey

bool mesh::InfilLookupTable::twoKey = false

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