SST 15.0
Structural Simulation Toolkit
SST::UnitAlgebra::NonMatchingUnits Class Reference

Exception for when attempting operations between objects that do not have matching base units. More...

#include <unitAlgebra.h>

Inheritance diagram for SST::UnitAlgebra::NonMatchingUnits:
SST::UnitAlgebra::UnitAlgebraException

Public Member Functions

 NonMatchingUnits (const std::string &lhs, const std::string &rhs, const std::string &operation)
 
- Public Member Functions inherited from SST::UnitAlgebra::UnitAlgebraException
 UnitAlgebraException (const std::string &msg)
 

Detailed Description

Exception for when attempting operations between objects that do not have matching base units.

Constructor & Destructor Documentation

◆ NonMatchingUnits()

UnitAlgebra::NonMatchingUnits::NonMatchingUnits ( const std::string & lhs,
const std::string & rhs,
const std::string & operation )
Parameters
lhsunits for UnitAlgebra on left-hand side of operation
rhsunits for UnitAlgebra on right-hand side of operation
operationrepresentation of operation attempted between units

References SST::UnitAlgebra::UnitAlgebraException::UnitAlgebraException().


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