CORSIKA  @c8_version@
The framework to simulate particle cascades for astroparticle physics
quantity_io_dimensionless.hpp
Go to the documentation of this file.
1 
16 #ifndef PHYS_UNITS_QUANTITY_IO_DIMENSIONLESS_HPP_INCLUDED
17 #define PHYS_UNITS_QUANTITY_IO_DIMENSIONLESS_HPP_INCLUDED
18 
20 
21 namespace phys { namespace units {
22 
26 template<>
28 {
29  static bool single() { return true; }
30  static std::string name() { return "(dimensionless)"; }
31  static std::string symbol() { return "[]"; }
32 };
33 
34 }} // namespace phys::units
35 
36 #endif // PHYS_UNITS_QUANTITY_IO_DIMENSIONLESS_HPP_INCLUDED
37 
38 /*
39  * end of file
40  */
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.