CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
quantity_io_celsius.hpp
Go to the documentation of this file.
1 
17 #ifndef PHYS_UNITS_QUANTITY_IO_CELSIUS_HPP_INCLUDED
18 #define PHYS_UNITS_QUANTITY_IO_CELSIUS_HPP_INCLUDED
19 
21 
22 namespace phys { namespace units {
23 
27 template<>
29 {
30  static bool single() { return true; }
31  static std::string name() { return "celsius"; }
32  static std::string symbol() { return "C"; }
33 };
34 
35 namespace literals {
36 
37 QUANTITY_DEFINE_LITERALS( oC, thermodynamic_temperature_d )
38 
39 }
40 }} // namespace phys::units
41 
42 #endif // PHYS_UNITS_QUANTITY_IO_CELSIUS_HPP_INCLUDED
43 
44 /*
45  * end of file
46  */
We could drag dimensions around individually, but it&#39;s much more convenient to package them...
Definition: quantity.hpp:62
namespace phys.
static std::string symbol()
provide unit&#39;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&#39;s name.
IO for quantity library.