19 CStyle(
char*
const AData,
const int ALength) noexcept;
20 virtual ~
CStyle() =
default;
35 const
char*
CString(
void) const noexcept;
42 virtual
int Length(
void) const noexcept = 0;
68 bool operator==(const
CStyle& ARHS) const noexcept;
76 bool operator!=(const
CStyle& ARHS) const noexcept;
82 operator const
char*(
void) const noexcept;
87 #include "CStyleString.inl"
unsigned char byte
It's a byte, 8 bits, etc...
int RawLength(void) const noexcept
Get the byte length of the contained CString.
virtual int Length(void) const noexcept=0
Get the number of characters in the contained string. The definition of character may change in deriv...
char * FData
String data. May be const, do not modify from this class.
int FLength
Number of bytes before null terminator in FData.
int CalculateByteLength(void) const noexcept
Calculate the byte length of the contained CString.
A basic char contained string.
int IndexOfByte(const byte AByte, int ASkip=0) const noexcept
Get the ASkip'th index of byte AByte in the string.
const char * CString(void) const noexcept
Get the contained const CString.
CStyle(char *const AData, const int ALength) noexcept
Construct a CStyle string.