| 
    PLCnext API Documentation 25.6.0.37
    
   | 
 
This class compounds Arp build version and infos. More...
#include <ArpVersion.hpp>
Public Types | |
| using | Value = Version::Value | 
Public Member Functions | |
| ArpVersion (const ArpVersion &arg) | |
| Default copy constructor. | |
| ArpVersion (ArpVersion &&arg) noexcept | |
| Default move constructor. | |
| ArpVersion & | operator= (const ArpVersion &arg) | 
| Default copy-assignment operator. | |
| ArpVersion & | operator= (ArpVersion &&arg) noexcept | 
| Default move-assignment operator. | |
| ~ArpVersion (void) | |
| Default destructor. | |
| ArpVersion (void) | |
| Default constructor. | |
| ArpVersion (Value major, const String &state="", const String &name="") | |
| Constructs an ArpVersion instance. More... | |
| ArpVersion (Value major, Value minor, const String &state="", const String &name="") | |
| Constructs an ArpVersion instance. More... | |
| ArpVersion (Value major, Value minor, Value patch, const String &state="", const String &name="") | |
| Constructs an ArpVersion instance. More... | |
| ArpVersion (Value major, Value minor, Value patch, Value build, const String &state="", const String &name="") | |
| Constructs an ArpVersion instance. More... | |
| const String & | GetName (void) const | 
| Gets the name of this released ArpVersion. More... | |
| const String & | GetState (void) const | 
| Gets the state of this ArpVersion. More... | |
| const Version & | GetBuildVersion (void) const | 
| Gets the versions of this ArpVersion. More... | |
| String | ToString (void) const | 
| Converts this version into string. More... | |
| ARP_DEPRECATED ("Use ArpVersion::GetBuildVersion().GetMajor() instead.") uint8 GetMajor(void) const | |
| ARP_DEPRECATED ("Use ArpVersion::GetBuildVersion().GetMinor() instead.") uint8 GetMinor(void) const | |
| ARP_DEPRECATED ("Use ArpVersion::GetBuildVersion().GetPatch() instead.") uint8 GetPatch(void) const | |
| ARP_DEPRECATED ("Use ArpVersion::GetBuildVersion().GetBuildNumber() instead.") uint32 GetBuild(void) const | |
| Impl & | GetImpl (void) | 
| For internal use only. | |
| const Impl & | GetImpl (void) const | 
Static Public Member Functions | |
| static const ArpVersion & | GetCurrent (void) | 
| Returns the build version of the actual running firmware. More... | |
| static ArpVersion | Parse (const String &input) | 
| Parses the given input string and creates a new ArpVersion. More... | |
| static bool | TryParse (const String &input, ArpVersion &result) | 
| Tries to parse the given input string and creates a new ArpVersion. More... | |
Friends | |
| ARP_EXPORT friend bool | operator== (const ArpVersion &left, const ArpVersion &right) | 
| Compares the left  argument to the right  argument on equality More... | |
| ARP_EXPORT bool | operator> (const ArpVersion &left, const ArpVersion &right) | 
| DEPRECATED. More... | |
| ARP_EXPORT bool | operator< (const ArpVersion &left, const ArpVersion &right) | 
| DEPRECATED. More... | |
| ARP_EXPORT bool | operator>= (const ArpVersion &left, const ArpVersion &right) | 
| DEPRECATED. More... | |
| ARP_EXPORT bool | operator<= (const ArpVersion &left, const ArpVersion &right) | 
| DEPRECATED. More... | |
This class compounds Arp build version and infos.
The Arp version consists of the build version (major, minor, patch and consecutive build number), a release state (alpha, beta, ...) and the full version name in particular like '2022.0.8 LTS'.
| Arp::Base::Core::ArpVersion::ArpVersion | ( | Value | major, | 
| const String & | state = "",  | 
        ||
| const String & | name = ""  | 
        ||
| ) | 
Constructs an ArpVersion instance.
| major | The major version integral number. | 
| state | The state appendix. | 
| name | The name of the released version. | 
| Arp::Base::Core::ArpVersion::ArpVersion | ( | Value | major, | 
| Value | minor, | ||
| const String & | state = "",  | 
        ||
| const String & | name = ""  | 
        ||
| ) | 
Constructs an ArpVersion instance.
| major | The major version integral number. | 
| minor | The minor version integral number. | 
| state | The state appendix. | 
| name | The name of the released version. | 
| Arp::Base::Core::ArpVersion::ArpVersion | ( | Value | major, | 
| Value | minor, | ||
| Value | patch, | ||
| const String & | state = "",  | 
        ||
| const String & | name = ""  | 
        ||
| ) | 
Constructs an ArpVersion instance.
| major | The major version integral number. | 
| minor | The minor version integral number. | 
| patch | The patch version integral number. | 
| state | The state appendix. | 
| name | The name of the released version. | 
| Arp::Base::Core::ArpVersion::ArpVersion | ( | Value | major, | 
| Value | minor, | ||
| Value | patch, | ||
| Value | build, | ||
| const String & | state = "",  | 
        ||
| const String & | name = ""  | 
        ||
| ) | 
Constructs an ArpVersion instance.
| major | The major version integral number. | 
| minor | The minor version integral number. | 
| patch | The patch version integral number. | 
| build | The consecutive build version integral number. | 
| state | The state appendix. | 
| name | The name of the released version. | 
| const Version & Arp::Base::Core::ArpVersion::GetBuildVersion | ( | void | ) | const | 
Gets the versions of this ArpVersion.
      
  | 
  static | 
Returns the build version of the actual running firmware.
| const String & Arp::Base::Core::ArpVersion::GetName | ( | void | ) | const | 
Gets the name of this released ArpVersion.
| const String & Arp::Base::Core::ArpVersion::GetState | ( | void | ) | const | 
Gets the state of this ArpVersion.
      
  | 
  static | 
Parses the given input string and creates a new ArpVersion.
| input | The input string to parse. | 
| Exception | If the input string is not valid. | 
| String Arp::Base::Core::ArpVersion::ToString | ( | void | ) | const | 
Converts this version into string.
      
  | 
  static | 
Tries to parse the given input string and creates a new ArpVersion.
| input | The input string to parse. | 
| result | The resulting ArpVersion of the input string was valid, otherwise an empty instance. | 
true on success, otherwise false.
      
  | 
  friend | 
DEPRECATED.
Use compare operator of ArpVersion::GetBuildVersion() instead.
      
  | 
  friend | 
DEPRECATED.
Use compare operator of ArpVersion::GetBuildVersion() instead.
      
  | 
  friend | 
Compares the left argument to the right argument on equality
| left | The left argument to compare the right argument to. | 
| right | The right argument to be compared to the left argument. | 
true if the left  argument is equal to the right  argument, otherwise false.operator!= is generated by the compiler.
      
  | 
  friend | 
DEPRECATED.
Use compare operator of ArpVersion::GetBuildVersion() instead.
      
  | 
  friend | 
DEPRECATED.
Use compare operator of ArpVersion::GetBuildVersion() instead.