16 #ifndef PHYS_UNITS_QUANTITY_IO_VOLT_HPP_INCLUDED 17 #define PHYS_UNITS_QUANTITY_IO_VOLT_HPP_INCLUDED 21 namespace phys {
namespace units {
29 static bool single() {
return true; }
30 static std::string
name() {
return "volt"; }
31 static std::string
symbol() {
return "V"; }
41 #endif // PHYS_UNITS_QUANTITY_IO_VOLT_HPP_INCLUDED We could drag dimensions around individually, but it's much more convenient to package them...
static std::string symbol()
provide unit's symbol.
static bool single()
true if base dimension.
Provide SI units-and-exponents in as close to NIST-specified format as possible with plain ascii...
static std::string name()
provide unit's name.