![]() |
LibrePCB Developers Documentation
|
The BoundedUnsignedRatio class represents a ratio limited to a range specified by min/max values. More...
#include <boundedunsignedratio.h>
Collaboration diagram for BoundedUnsignedRatio:Public Member Functions | |
| BoundedUnsignedRatio ()=delete | |
| BoundedUnsignedRatio (const BoundedUnsignedRatio &other) noexcept | |
| BoundedUnsignedRatio (const UnsignedRatio &ratio, const UnsignedLength &min, const UnsignedLength &max) | |
| BoundedUnsignedRatio (const SExpression &node) | |
| ~BoundedUnsignedRatio () noexcept | |
| const UnsignedRatio & | getRatio () const noexcept |
| const UnsignedLength & | getMinValue () const noexcept |
| const UnsignedLength & | getMaxValue () const noexcept |
| UnsignedLength | calcValue (const Length &input) const noexcept |
| void | serialize (SExpression &root) const |
| BoundedUnsignedRatio & | operator= (const BoundedUnsignedRatio &rhs) noexcept |
| bool | operator== (const BoundedUnsignedRatio &rhs) const noexcept |
| bool | operator!= (const BoundedUnsignedRatio &rhs) const noexcept |
Private Member Functions | |
| void | throwIfInvalid () const |
Private Attributes | |
| UnsignedRatio | mRatio |
| UnsignedLength | mMinValue |
| UnsignedLength | mMaxValue |
The BoundedUnsignedRatio class represents a ratio limited to a range specified by min/max values.
|
delete |
|
noexcept |
| BoundedUnsignedRatio | ( | const UnsignedRatio & | ratio, |
| const UnsignedLength & | min, | ||
| const UnsignedLength & | max | ||
| ) |
Here is the call graph for this function:
|
explicit |
Here is the call graph for this function:
|
noexcept |
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
inlinenoexcept |
Here is the caller graph for this function:
|
noexcept |
Here is the caller graph for this function:| void serialize | ( | SExpression & | root | ) | const |
Here is the call graph for this function:
Here is the caller graph for this function:
|
noexcept |
|
noexcept |
|
inlinenoexcept |
|
private |
Here is the caller graph for this function:
|
private |
|
private |
|
private |