Typedefs | |
typedef double | real |
Variables | |
namespace | quantity = quantity_si_double |
namespace | unit = unit_si_double |
static const quantity::length | m = unit::meter |
static const quantity::mass | kg = unit::kilogram |
static const quantity::time | s = unit::second |
static const quantity::electric_current | A = unit::ampere |
static const quantity::temperature | K = unit::kelvin |
static const quantity::amount_of_substance | mol = unit::mole |
static const quantity::luminous_intensity | cd = unit::candela |
static const quantity::plane_angle | rad = unit::radian |
static const quantity::solid_angle | sr = unit::steradian |
static const quantity::frequency | Hz = unit::hertz |
static const quantity::force | N = unit::newton |
static const quantity::pressure | Pa = unit::Pascal |
static const quantity::energy | J = unit::joule |
static const quantity::power | W = unit::watt |
static const quantity::electric_charge | C = unit::coulomb |
static const quantity::electric_potential_difference | V = unit::volt |
static const quantity::capacitance | F = unit::farad |
static const quantity::electric_resistance | Omega = unit::ohm |
static const quantity::electric_conductance | S = unit::siemens |
static const quantity::magnetic_flux | Wb = unit::weber |
static const quantity::magnetic_flux_density | T = unit::tesla |
static const quantity::inductance | H = unit::henry |
static const quantity::luminous_flux | lm = unit::lumen |
static const quantity::illuminance | lx = unit::lux |
static const quantity::activity_of_a_radionuclide | Bq = unit::becquerel |
static const quantity::absorbed_dose | Gy = unit::gray |
static const quantity::dose_equivalent | Sv = unit::sievert |
static const quantity::catalytic_activity | kat = unit::katal |
static const quantity::mass | g = unit::gram |
static const quantity::length | km = unit::kilometer |
static const quantity::length | mm = unit::millimeter |
static const quantity::time | min = unit::minute |
static const quantity::time | h = unit::hour |
provide a namespace with abbreviations for some of the above units, i.e. lots of small symbols. Can be very handy but very dangerous as well.
a) This namespace is somewhat useless if you use fully qualified identifyers: unitsymbols::m is not more handy than unit::meter
b) This namespace is somewhat dangerous if you just import it by using namespace unitsymbols, since the probability of name crashes is quite high.
c) Best practice is probably just to pick those names that you really need: using unitsymbols::h; using unitsymbols::min; time duration = 2*h + 30*min; (But then, we could as well define a const static copy locally, or provide a local reference to the already existant global const static quantity)
Use with care. Caveat emptor.
typedef double physical::unitsymbol_si_double::real |
Definition at line 44 of file unitsymbol.hpp.
const quantity::electric_current physical::unitsymbol_si_double::A = unit::ampere [static] |
Definition at line 60 of file unitsymbol.hpp.
const quantity::activity_of_a_radionuclide physical::unitsymbol_si_double::Bq = unit::becquerel [static] |
Definition at line 85 of file unitsymbol.hpp.
const quantity::electric_charge physical::unitsymbol_si_double::C = unit::coulomb [static] |
Definition at line 73 of file unitsymbol.hpp.
const quantity::luminous_intensity physical::unitsymbol_si_double::cd = unit::candela [static] |
Definition at line 63 of file unitsymbol.hpp.
const quantity::capacitance physical::unitsymbol_si_double::F = unit::farad [static] |
Definition at line 76 of file unitsymbol.hpp.
const quantity::mass physical::unitsymbol_si_double::g = unit::gram [static] |
Definition at line 94 of file unitsymbol.hpp.
const quantity::absorbed_dose physical::unitsymbol_si_double::Gy = unit::gray [static] |
Definition at line 86 of file unitsymbol.hpp.
const quantity::time physical::unitsymbol_si_double::h = unit::hour [static] |
Definition at line 98 of file unitsymbol.hpp.
const quantity::inductance physical::unitsymbol_si_double::H = unit::henry [static] |
Definition at line 81 of file unitsymbol.hpp.
const quantity::frequency physical::unitsymbol_si_double::Hz = unit::hertz [static] |
Definition at line 68 of file unitsymbol.hpp.
const quantity::energy physical::unitsymbol_si_double::J = unit::joule [static] |
Definition at line 71 of file unitsymbol.hpp.
const quantity::temperature physical::unitsymbol_si_double::K = unit::kelvin [static] |
Definition at line 61 of file unitsymbol.hpp.
const quantity::catalytic_activity physical::unitsymbol_si_double::kat = unit::katal [static] |
Definition at line 88 of file unitsymbol.hpp.
const quantity::mass physical::unitsymbol_si_double::kg = unit::kilogram [static] |
Definition at line 58 of file unitsymbol.hpp.
const quantity::length physical::unitsymbol_si_double::km = unit::kilometer [static] |
Definition at line 95 of file unitsymbol.hpp.
const quantity::luminous_flux physical::unitsymbol_si_double::lm = unit::lumen [static] |
Definition at line 82 of file unitsymbol.hpp.
const quantity::illuminance physical::unitsymbol_si_double::lx = unit::lux [static] |
Definition at line 83 of file unitsymbol.hpp.
const quantity::length physical::unitsymbol_si_double::m = unit::meter [static] |
Definition at line 57 of file unitsymbol.hpp.
const quantity::time physical::unitsymbol_si_double::min = unit::minute [static] |
Definition at line 97 of file unitsymbol.hpp.
const quantity::length physical::unitsymbol_si_double::mm = unit::millimeter [static] |
Definition at line 96 of file unitsymbol.hpp.
const quantity::amount_of_substance physical::unitsymbol_si_double::mol = unit::mole [static] |
Definition at line 62 of file unitsymbol.hpp.
const quantity::force physical::unitsymbol_si_double::N = unit::newton [static] |
Definition at line 69 of file unitsymbol.hpp.
const quantity::electric_resistance physical::unitsymbol_si_double::Omega = unit::ohm [static] |
Definition at line 77 of file unitsymbol.hpp.
const quantity::pressure physical::unitsymbol_si_double::Pa = unit::Pascal [static] |
Definition at line 70 of file unitsymbol.hpp.
namespace physical::unitsymbol_si_double::quantity = quantity_si_double |
Definition at line 44 of file unitsymbol.hpp.
const quantity::plane_angle physical::unitsymbol_si_double::rad = unit::radian [static] |
Definition at line 66 of file unitsymbol.hpp.
const quantity::electric_conductance physical::unitsymbol_si_double::S = unit::siemens [static] |
Definition at line 78 of file unitsymbol.hpp.
const quantity::time physical::unitsymbol_si_double::s = unit::second [static] |
Definition at line 59 of file unitsymbol.hpp.
const quantity::solid_angle physical::unitsymbol_si_double::sr = unit::steradian [static] |
Definition at line 67 of file unitsymbol.hpp.
const quantity::dose_equivalent physical::unitsymbol_si_double::Sv = unit::sievert [static] |
Definition at line 87 of file unitsymbol.hpp.
const quantity::magnetic_flux_density physical::unitsymbol_si_double::T = unit::tesla [static] |
Definition at line 80 of file unitsymbol.hpp.
namespace physical::unitsymbol_si_double::unit = unit_si_double |
Definition at line 44 of file unitsymbol.hpp.
const quantity::electric_potential_difference physical::unitsymbol_si_double::V = unit::volt [static] |
Definition at line 75 of file unitsymbol.hpp.
const quantity::power physical::unitsymbol_si_double::W = unit::watt [static] |
Definition at line 72 of file unitsymbol.hpp.
const quantity::magnetic_flux physical::unitsymbol_si_double::Wb = unit::weber [static] |
Definition at line 79 of file unitsymbol.hpp.
Generated on Mon Apr 2 22:25:08 2007 for physical_svn by 1.5.1-p1 | hosted on |