xtd 0.2.0
Loading...
Searching...
No Matches
cpp_language.h
Go to the documentation of this file.
1
4#pragma once
5#include "language_id.h"
6#include "object.h"
7#include "string.h"
8#include "version.h"
9
11namespace xtd {
26 class cpp_language final : public object {
27 public:
29
32 explicit cpp_language(int32 cpp) noexcept;
34
36 cpp_language() noexcept = default;
37 cpp_language(const cpp_language&) noexcept = default;
38 cpp_language& operator =(const cpp_language&) noexcept = default;
40
42
46 bool is_experimental_language() const noexcept;
47
50 bool is_supported() const noexcept;
51
54 language_id language() const noexcept;
55
60
63 int32 month() const noexcept;
64
67 xtd::string name() const noexcept;
68
71 uint32 value() const noexcept;
72
75 xtd::string version_string() const noexcept;
76
79 xtd::version version() const noexcept;
80
83 int32 year() const noexcept;
85
87
91 xtd::string to_string() const noexcept override;
93
94 private:
95 int32 cpp_ = 0;
96 };
97}
Represents information about c++ libraries, such as the version and language identifier....
Definition cpp_language.h:26
xtd::string name() const noexcept
Gets the offical name of the cpp language.
xtd::string to_string() const noexcept override
Converts the value of this operating_system object to its equivalent string representation.
bool is_experimental_language() const noexcept
Gets if is experimental language.
uint32 value() const noexcept
Gets the value of cpp language.
language_id experimental_language() const noexcept
Gets experimental language id.
bool is_supported() const noexcept
Gets if is supported by xtd.
cpp_language(int32 cpp) noexcept
Initialize a new instance of xtd::cpp_language class.
int32 month() const noexcept
Gets the month when the cpp language was released.
xtd::string version_string() const noexcept
Gets the version string of cpp language.
language_id language() const noexcept
Gets lagnguage id.
int32 year() const noexcept
Gets the year when the cpp language was released.
Supports all classes in the xtd class hierarchy and provides low-level services to derived classes....
Definition object.h:42
Represents the version number of an assembly, operating system, or the xtd. This class cannot be inhe...
Definition version.h:114
int32_t int32
Represents a 32-bit signed integer.
Definition int32.h:23
uint32_t uint32
Represents a 32-bit unsigned integer.
Definition uint32.h:23
language_id
Identifies the c++ language used by assembly.
Definition language_id.h:17
Contains xtd::language_id enum class.
The xtd namespace contains all fundamental classes to access Hardware, Os, System,...
Definition xtd_about_box.h:10
Contains xtd::object class.
Contains xtd::string alias.
Contains xtd::version class.