|
| ExternalString (const ExternalString &)=delete |
| Deleted copy constructor. More...
|
|
| ExternalString () |
| Constructor (uninitialized buffer) More...
|
|
| ExternalString (char *bufferPtr, StringBase::SizeType bufferSize) |
| Constructor (bufferPtr and bufferSize) More...
|
|
| ExternalString (char *bufferPtr, StringBase::SizeType bufferSize, const StringBase &sb) |
| Constructor (bufferPtr, bufferSize, and StringBase) More...
|
|
| ExternalString (char *bufferPtr, StringBase::SizeType bufferSize, const char *str) |
| Constructor (bufferPtr, bufferSize, and const char*) More...
|
|
| ~ExternalString () |
| Destructor. More...
|
|
const char * | toChar () const |
|
StringBase::SizeType | getCapacity () const |
|
void | setBuffer (char *bufferPtr, StringBase::SizeType bufferSize) |
| Set the buffer and initialize it to the empty string. More...
|
|
ExternalString & | operator= (const ExternalString &src) |
|
ExternalString & | operator= (const StringBase &src) |
|
ExternalString & | operator= (const char *src) |
|
SizeType | length () const |
| Get length of string. More...
|
|
SizeType | maxLength () const |
| Get the maximum length of a string that the buffer can hold (which is capacity - 1) More...
|
|
SizeType | serializedSize () const |
|
SizeType | serializedTruncatedSize (FwSizeType maxLength) const |
|
const CHAR * | operator+= (const CHAR *src) |
| Concatenate a CHAR*. More...
|
|
const StringBase & | operator+= (const StringBase &src) |
| Concatenate a StringBase. More...
|
|
bool | operator== (const StringBase &other) const |
| Check for equality with StringBase. More...
|
|
bool | operator== (const CHAR *other) const |
| Check for equality with CHAR*. More...
|
|
bool | operator!= (const StringBase &other) const |
| Inequality with StringBase. More...
|
|
bool | operator!= (const CHAR *other) const |
| Inequality with CHAR*. More...
|
|
StringBase & | operator= (const CHAR *src) |
| Assign CHAR*. More...
|
|
StringBase & | operator= (const StringBase &src) |
| Assign another StringBase. More...
|
|
FormatStatus | format (const CHAR *formatString,...) |
| write formatted string to buffer More...
|
|
FormatStatus | vformat (const CHAR *formatString, va_list args) |
| write formatted string to buffer using va_list More...
|
|
virtual SerializeStatus | serialize (SerializeBufferBase &buffer) const |
| serialization function More...
|
|
virtual SerializeStatus | serialize (SerializeBufferBase &buffer, SizeType maxLen) const |
| serialization function More...
|
|
virtual SerializeStatus | deserialize (SerializeBufferBase &buffer) |
| deserialization function More...
|
|
A string backed by an external buffer.
Definition at line 17 of file ExternalString.hpp.