|
PLCnext API Documentation 24.6.0.58
|
Specifies a version with 4 version numbers and is marshalled to .NET type System.Version.
More...
#include <RscVersion.hpp>
Public Member Functions | |
| RscVersion (void)=default | |
| Constructs a zero'ed RscVersion instance. | |
| RscVersion (int32 major, int32 minor, int32 revision, int32 build) | |
| Constructs a RscVersion instance by the given arguments. More... | |
| RscVersion (const Version &version) | |
| Constructs a RscVersion instance by the given argument. More... | |
| RscVersion (const RscVersion &arg)=default | |
| Copy constructor. | |
| RscVersion (RscVersion &&arg)=default | |
| Move constructor. | |
| RscVersion & | operator= (const RscVersion &arg)=default |
| Assignment operator. | |
| ~RscVersion (void)=default | |
| Destructs this instance and frees all resources. | |
| int32 | GetMajor (void) const |
| Gets the major version. | |
| int32 | GetMinor (void) const |
| Gets the minor version. | |
| int32 | GetRevision (void) const |
| Gets the revision version. | |
| int32 | GetBuild (void) const |
| Gets the build version. | |
| Version | ToVersion (void) const |
| Converts this instance into a Arp::Version. More... | |
| String | ToString (void) const |
| Converts this instance into a String. More... | |
| void | Read (RscReader &reader) |
| Reads this instance from the given RscReader. More... | |
| void | Write (RscWriter &writer) const |
| Writes this instance to the given RscWriter. More... | |
Specifies a version with 4 version numbers and is marshalled to .NET type System.Version.
Specifies a version with 4 version numbers like 1.2.3.4, where 1 is the major version, 2 is the minjor version, 3 is the revision version and 4 is the build version,
|
inline |
Constructs a RscVersion instance by the given arguments.
| major | The major version. |
| minor | The minor version. |
| revision | The revision version. |
| build | The build version. |
|
inline |
Constructs a RscVersion instance by the given argument.
| version | The Arp version to copy the version numbers from. |
| void Arp::System::Rsc::Services::RscVersion::Read | ( | RscReader & | reader | ) |
| String Arp::System::Rsc::Services::RscVersion::ToString | ( | void | ) | const |
|
inline |
Converts this instance into a Arp::Version.
| void Arp::System::Rsc::Services::RscVersion::Write | ( | RscWriter & | writer | ) | const |