8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/Commons/Configuration/Uuid.hpp"
12namespace Arp::Base::Rsc::Commons
30 static constexpr size_t GetDataSize(
void);
33 void SetData(
byte* pData,
size_t dataSize);
34 const byte* GetData(
void)
const;
37 Uuid ToUuid(
void)
const;
38 String ToString(
void)
const;
43 friend ARP_EXPORT
bool operator==(
const RscGuid& left,
const RscGuid& right)
noexcept;
44 friend ARP_EXPORT
bool operator!=(
const RscGuid& left,
const RscGuid& right)
noexcept;
47 static constexpr size_t bufferSize = 16;
50 std::array<byte, bufferSize> buffer{};
This class represents a Universal Unique ID.
Definition: Uuid.hpp:16
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
A RSC wrapper class to marshal objects of type Uuid.
Definition: RscGuid.hpp:22
static constexpr size_t GetDataSize(void)
Gets the size of the internal buffer to store the Uuid.
Definition: RscGuid.hpp:58
RscGuid(void)
The default constructor constructs an empty instance of type RscGuid.
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
@ Write
Specifies write access to the file. Data can be written to the file and the file pointer can be moved...
@ Read
Specifies read access to the file. Data can be read from the file and the file pointer can be moved....