12#ifndef ZYPP_BASE_UNIT_H
13#define ZYPP_BASE_UNIT_H
82 {
return form(
double(
val_r)/_factor, _symbol,
86 static std::string form(
double val_r,
Reference counted access to a Tp object calling a custom Dispose function when the last AutoDispose h...
Simple handling of Units.
Unit(ValueType factor_r, std::string symbol_r, unsigned prec_r)
ctor
std::string form(ValueType val_r, unsigned field_width_r=0, unsigned unit_width_r=1) const
Build string representation of val_r.
std::string form(ValueType val_r, unsigned field_width_r, unsigned unit_width_r, unsigned prec_r) const
const std::string & symbol() const
Easy-to use interface to the ZYPP dependency resolver.
const Arch Arch_armv7hnl Arch_armv7nhl ZYPP_API