8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
10namespace Arp::Base::Rsc::Commons
41 operator String(
void)
const;
44 size_t GetLength(
void)
const;
47 const char* CStr(
void)
const;
48 String ToString(
void)
const;
50 void Assign(
const char* pChars);
51 void Assign(
const String& str);
58 void SetBufferInfo(
char* pStringBuffer,
size_t bufferSize,
size_t strLength = 0);
59 void SetBufferInfo(
char* pStringBuffer,
size_t bufferSize,
const char* pChars);
60 void SetBufferInfo(
char* pStringBuffer,
size_t bufferSize,
const String& str);
61 void Assign(
const char* pChars,
size_t count);
62 void SetStringType(RscType value);
63 RscType GetStringType(
void)
const;
66 char* GetBuffer(
void)
const;
67 size_t GetBufferSize(
void)
const;
68 size_t GetMaxStringLength(
void)
const;
72 size_t bufferSize = 0;
73 char* pBuffer =
nullptr;
74 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:40
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....