PLCnext API Documentation
22.9.0.33
|
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. More... | |
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. More... | |
RscVersion (RscVersion &&arg)=default | |
Move constructor. More... | |
RscVersion & | operator= (const RscVersion &arg)=default |
Assignment operator. More... | |
~RscVersion (void)=default | |
Destructs this instance and frees all resources. More... | |
int32 | GetMajor (void) const |
Gets the major version. More... | |
int32 | GetMinor (void) const |
Gets the minor version. More... | |
int32 | GetRevision (void) const |
Gets the revision version. More... | |
int32 | GetBuild (void) const |
Gets the build version. More... | |
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,
|
default |
Constructs a zero'ed RscVersion instance.
|
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. |
|
default |
Copy constructor.
|
default |
Move constructor.
|
default |
Destructs this instance and frees all resources.
|
inline |
Gets the build version.
|
inline |
Gets the major version.
|
inline |
Gets the minor version.
|
inline |
Gets the revision version.
|
default |
Assignment operator.
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 |