8#include "Arp/Base/Core/Detail/Version.hpp"
12namespace Arp {
namespace Base {
namespace Core
26 using Value = Version::Value;
40 ArpVersion(Value major, Value minor, Value patch, Value build,
const String& state =
"",
const String& name =
"");
51 const String& GetName(
void)
const;
52 const String& GetState(
void)
const;
53 const Version& GetBuildVersion(
void)
const;
56 String ToString(
void)
const;
59 ARP_DEPRECATED(
"Use ArpVersion::GetBuildVersion().GetMajor() instead.")
60 uint8 GetMajor(
void)const;
62 uint8 GetMinor(
void)const;
64 uint8 GetPatch(
void)const;
66 uint32 GetBuild(
void)const;
75 const Impl& GetImpl(
void)const;
105#define ARP_VERSION_CURRENT ArpVersion(ARP_VERSION_MAJOR, ARP_VERSION_MINOR, ARP_VERSION_PATCH, ARP_VERSION_BUILD, ARP_VERSION_STATE, ARP_VERSION_NAME)
113#define ARP_VERSION_BUILT ArpVersion(ARP_VERSION_MAJOR, ARP_VERSION_MINOR, ARP_VERSION_PATCH, ARP_VERSION_BUILD, ARP_VERSION_STATE, ARP_VERSION_NAME)
132#define ARP_ABI_VERSION_CURRENT ArpVersion(ARP_ABI_VERSION_MAJOR, ARP_ABI_VERSION_MINOR, ARP_ABI_VERSION_PATCH, "", "ABI");
This class compounds Arp build version and infos.
Definition: ArpVersion.hpp:21
ArpVersion(const ArpVersion &arg)
Default copy constructor.
~ArpVersion(void)
Default destructor.
ArpVersion(ArpVersion &&arg) noexcept
Default move constructor.
ArpVersion(void)
Default constructor.
ArpVersion & operator=(ArpVersion &&arg) noexcept
Default move-assignment operator.
ArpVersion & operator=(const ArpVersion &arg)
Default copy-assignment operator.
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
This class provides versioning.
Definition: Version.hpp:19
std::uint32_t uint32
The Arp unsigned integer type of 4 byte size.
Definition: PrimitiveTypes.hpp:33
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
Root namespace for the PLCnext API
class ARP_DEPRECATED("Use Arp::Enum<T> instead.") EnumStrings
Deprecated! The class implements an adapter for enums to define the string literals of the enum entri...
Definition: EnumStrings.hxx:38