9 namespace Arp {
namespace System {
namespace Rsc {
namespace Services
71 int32 majorVersion = 0;
72 int32 minorVersion = 0;
73 int32 revisionVersion = 0;
74 int32 buildVersion = 0;
82 , revisionVersion(revision)
88 :
RscVersion(version.GetMajor(), version.GetMinor(), version.GetPatch(), version.GetBuild())
94 return this->majorVersion;
99 return this->minorVersion;
104 return this->revisionVersion;
109 return this->buildVersion;
114 return Version((
uint8)this->majorVersion, (
uint8)this->minorVersion, (
uint8)this->revisionVersion, this->buildVersion);
This class represents the version of a special SDK or Arp build.
Definition: BasicVersion.hpp:35
Reads data from Rsc
Definition: RscReader.hpp:26
Specifies a version with 4 version numbers and is marshalled to .NET type System.Version.
Definition: RscVersion.hpp:21
RscVersion(const RscVersion &arg)=default
Copy constructor.
Version ToVersion(void) const
Converts this instance into a Arp::Version.
Definition: RscVersion.hpp:112
String ToString(void) const
Converts this instance into a String.
int32 GetBuild(void) const
Gets the build version.
Definition: RscVersion.hpp:107
int32 GetMinor(void) const
Gets the minor version.
Definition: RscVersion.hpp:97
RscVersion(void)=default
Constructs a zero'ed RscVersion instance.
RscVersion & operator=(const RscVersion &arg)=default
Assignment operator.
~RscVersion(void)=default
Destructs this instance and frees all resources.
int32 GetRevision(void) const
Gets the revision version.
Definition: RscVersion.hpp:102
int32 GetMajor(void) const
Gets the major version.
Definition: RscVersion.hpp:92
RscVersion(RscVersion &&arg)=default
Move constructor.
void Write(RscWriter &writer) const
Writes this instance to the given RscWriter.
void Read(RscReader &reader)
Reads this instance from the given RscReader.
Writes data to Rsc.
Definition: RscWriter.hpp:31
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:27
std::int32_t int32
The Arp integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:37
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API