8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
10namespace Arp::Base::Rsc::Commons
41 operator String(
void)
const;
46 return left.Equals(right);
50 return !left.Equals(right);
54 size_t GetLength(
void)
const;
57 const char* CStr(
void)
const;
58 String ToString(
void)
const;
60 void Assign(
const char* pChars);
61 void Assign(
const String& str);
68 void SetBufferInfo(
char* pStringBuffer,
size_t bufferSize,
size_t strLength = 0);
69 void SetBufferInfo(
char* pStringBuffer,
size_t bufferSize,
const char* pChars);
70 void SetBufferInfo(
char* pStringBuffer,
size_t bufferSize,
const String& str);
71 void Assign(
const char* pChars,
size_t count);
72 void SetStringType(RscType value);
73 RscType GetStringType(
void)
const;
77 char* GetBuffer(
void)
const;
78 size_t GetBufferSize(
void)
const;
79 size_t GetMaxStringLength(
void)
const;
83 size_t bufferSize = 0;
84 char* pBuffer =
nullptr;
85 RscType stringType = RscType::None;
This class represents the Arp String. The implementation is based on std::string.
Definition: String.hpp:39
This class is a base class of template class RscString.
Definition: RscStringBase.hpp:27
~RscStringBase(void)
Default destructor.
RscStringBase(RscStringBase &&arg) noexcept
Default move constructor.
RscStringBase(const RscStringBase &arg)
Default copy constructor.
This class is a base class of template class RscVariant.
Definition: RscVariantBase.hpp:41
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
@ Equals
Start recording if TriggerVariable1 is equal to TriggerVariable2.
@ 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....