Represents information about c++ libraries, such as the version and standard identifier. This class cannot be inherited.
Constructors | |
compiler (xtd::compiler_id compiler_id, const xtd::version &version, xtd::build_type build_type, bool is_64_bit) | |
Initialise a new xtd::compiler class. More... | |
Properties | |
xtd::build_type | build_type () const noexcept |
Gets the build type. More... | |
xtd::compiler_id | compiler_id () const noexcept |
Gets the compiler id. More... | |
bool | is_build_type_debug () const noexcept |
Gets build type is debug. More... | |
bool | is_64_bit () noexcept |
Gets is 64 bits. More... | |
xtd::ustring | name () const noexcept |
Gets compiler name. More... | |
xtd::ustring | version_string () const noexcept |
Gets compiler version string. More... | |
const xtd::version & | version () const noexcept |
Gets compiler version. More... | |
Methods | |
xtd::ustring | to_string () const noexcept override |
Converts the value of this operating_system object to its equivalent string representation. More... | |
Additional Inherited Members | |
![]() | |
object ()=default | |
Create a new instance of the ultimate base class object. More... | |
bool | equals (const object &obj) const noexcept |
Determines whether the specified object is equal to the current object. More... | |
virtual size_t | get_hash_code () const noexcept |
Serves as a hash function for a particular type. More... | |
virtual type_object | get_type () const noexcept |
Gets the type of the current instance. More... | |
template<typename object_t > | |
std::unique_ptr< object_t > | memberwise_clone () const noexcept |
Creates a shallow copy of the current object. More... | |
![]() | |
static bool | equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are considered equal. More... | |
static bool | reference_equals (const object &object_a, const object &object_b) noexcept |
Determines whether the specified object instances are the same instance. More... | |
xtd::compiler::compiler | ( | xtd::compiler_id | compiler_id, |
const xtd::version & | version, | ||
xtd::build_type | build_type, | ||
bool | is_64_bit | ||
) |
Initialise a new xtd::compiler class.
compiler_id | One of xtd::compiler_id values. |
version | The compiler version. |
build_type | One of xtd::build_type values. |
is_64_bit | true if 64 bits; otherwise false. |
|
noexcept |
Gets the build type.
|
noexcept |
Gets the compiler id.
|
noexcept |
Gets is 64 bits.
|
noexcept |
Gets build type is debug.
|
noexcept |
Gets compiler name.
|
overridevirtualnoexcept |
Converts the value of this operating_system object to its equivalent string representation.
Reimplemented from xtd::object.
|
noexcept |
Gets compiler version.
|
noexcept |
Gets compiler version string.