9#ifndef ZYPP_CORE_PARSER_JSON_JSON_NUMBER_DEFINED
10#define ZYPP_CORE_PARSER_JSON_JSON_NUMBER_DEFINED
33 operator double()
const {
43 {
return std::to_string (
_value); }
72 operator std::int64_t()
const {
82 {
return std::to_string (
_value); }
110 operator std::uint64_t()
const {
120 {
return std::to_string (
_value); }
Provides API related macros.
std::string asJSON() const
JSON representation.
std::ostream & dumpOn(std::ostream &str) const
Stream output.
Int & operator=(Int &&)=default
Int & operator=(const Int &)=default
std::int64_t value() const
std::ostream & dumpOn(std::ostream &str) const
Stream output.
Number(Number &&)=default
std::string asJSON() const
JSON representation.
Number & operator=(const Number &)=default
Number & operator=(Number &&)=default
Number(const Number &)=default
UInt(const UInt &)=default
std::string asJSON() const
JSON representation.
std::ostream & dumpOn(std::ostream &str) const
Stream output.
UInt & operator=(UInt &&)=default
UInt & operator=(const UInt &)=default
std::uint64_t value() const
String related utilities and Regular expression matching.
ZYPP_API std::ostream & operator<<(std::ostream &str, const Bool &obj)
relates: Bool Stream output
const Arch Arch_empty ZYPP_API
relates: Arch This is an empty Arch represented by an empty string.