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
openswmmvis::pattern::BulkSetPatternFactorsCommand Class Reference

Set one or more factor values atomically. indices and the pre/post value vectors must be the same length. More...

#include <patternundocommands.h>

Inheritance diagram for openswmmvis::pattern::BulkSetPatternFactorsCommand:
Collaboration diagram for openswmmvis::pattern::BulkSetPatternFactorsCommand:

Public Member Functions

 BulkSetPatternFactorsCommand (PatternProvider *provider, QVector< int > indices, QVector< double > oldValues, QVector< double > newValues, QString description, QUndoCommand *parent=nullptr)
 
void undo () override
 
void redo () override
 

Detailed Description

Set one or more factor values atomically. indices and the pre/post value vectors must be the same length.

Constructor & Destructor Documentation

◆ BulkSetPatternFactorsCommand()

openswmmvis::pattern::BulkSetPatternFactorsCommand::BulkSetPatternFactorsCommand ( PatternProvider provider,
QVector< int >  indices,
QVector< double oldValues,
QVector< double newValues,
QString  description,
QUndoCommand *  parent = nullptr 
)

Member Function Documentation

◆ redo()

void openswmmvis::pattern::BulkSetPatternFactorsCommand::redo ( )
override

◆ undo()

void openswmmvis::pattern::BulkSetPatternFactorsCommand::undo ( )
override

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