31 using id_collection = std::vector<xtd::string>;
75 const
xtd::
string&
id() const noexcept;
79 const id_collection&
like_ids() const noexcept;
105 xtd::
string code_name_;
106 xtd::
string description_;
108 id_collection like_ids_;
109 xtd::
string version_string_;
Represents text as a sequence of character units.
Definition basic_string.hpp:79
Represents information about an operating system distribution, such as the version and name....
Definition distribution.hpp:29
const xtd::uri & bug_repport() const noexcept
Gets operating system distribution bug repport url.
xtd::string to_string() const noexcept override
Converts the value of this distribution object to its equivalent string representation.
const xtd::string & version_string() const noexcept
Gets operating system distribution version string.
const xtd::uri & home() const noexcept
Gets operating system distribution home url.
const xtd::string & name() const noexcept
Gets operating system distribution name. For example "Ubuntu".
distribution(const xtd::string &name, const xtd::version &version, const xtd::string &code_name, const xtd::string &description, const xtd::string &id, const id_collection &like_ids, const xtd::string &version_string, const xtd::uri &home, const xtd::uri &bug_repport)
Initializes a new instance of the distribution class, using the specified name, version,...
const xtd::string & code_name() const noexcept
Gets operating system distribution code name. For example "jammy" is the code name of Ubuntu 22....
const id_collection & like_ids() const noexcept
Gets operating system distribution like identifiers array.
const xtd::string & description() const noexcept
Gets operating system distribution description. For example "Ubuntu 22.04.2 LTS".
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.hpp:42
Provides an object representation of a uniform resource identifier (URI) and easy access to the parts...
Definition uri.hpp:103
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.hpp:114
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.hpp:10
Contains xtd::object class.
Contains xtd::optional type.
Contains xtd::string alias.
Contains xtd::version class.