|
roo_quantity
API Documentation for roo_quantity
|
Representation of current, internally stored as floating-point Amperes. More...
#include <current.h>
Public Member Functions | |
| Current () | |
| Creates a current object representing an 'unknown' current. | |
| float | inMegaAmperes () const |
| Returns the current in megaAmperes. | |
| float | inKiloAmperes () const |
| Returns the current in kiloAmperes. | |
| float | inAmperes () const |
| Returns the current in Amperes. | |
| float | inMilliAmperes () const |
| Returns the current in milliAmperes. | |
| float | inMicroAmperes () const |
| Returns the current in microAmperes. | |
| bool | isUnknown () const |
| Returns whether the object represents an unknown current. | |
| bool | operator< (const Current &other) const |
| bool | operator== (const Current &other) const |
| bool | operator> (const Current &other) const |
| bool | operator<= (const Current &other) const |
| bool | operator>= (const Current &other) const |
| bool | operator!= (const Current &other) const |
| Current & | operator+= (const Current &other) |
| Current & | operator-= (const Current &other) |
| Current & | operator*= (float multi) |
| Current & | operator/= (float div) |
Friends | |
| Current | UnknownCurrent () |
| Returns a current object representing an unknown current. | |
| Current | CurrentInAmperes (float) |
| Returns a current object equivalent to the specified current expressed in Amperes. | |
Representation of current, internally stored as floating-point Amperes.
|
inline |
|
inline |
Returns the current in Amperes.
Definition at line 33 of file current.h.
Referenced by roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator*(), roo_quantity::operator+(), operator+=(), roo_quantity::operator-(), roo_quantity::operator-(), operator-=(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), roo_quantity::operator/(), and roo_quantity::operator/().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 68 of file current.h.
References inAmperes().
Definition at line 73 of file current.h.
References inAmperes().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
|
friend |