![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Log/TextLogString.hpp>
Public Types | |
enum | { SERIALIZED_TYPE_ID = FW_TYPEID_LOG_STR , SERIALIZED_SIZE = FW_LOG_TEXT_BUFFER_SIZE + sizeof(FwBuffSizeType) } |
Public Member Functions | |
TextLogString (const char *src) | |
TextLogString (const StringBase &src) | |
TextLogString (const TextLogString &src) | |
TextLogString () | |
TextLogString & | operator= (const TextLogString &other) |
TextLogString & | operator= (const StringBase &other) |
TextLogString & | operator= (const char *other) |
~TextLogString () | |
const char * | toChar () const |
NATIVE_UINT_TYPE | getCapacity () const |
return size of buffer More... | |
![]() | |
NATIVE_UINT_TYPE | length () const |
Get length of string. More... | |
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... | |
void | format (const CHAR *formatString,...) |
write formatted string to buffer More... | |
virtual SerializeStatus | serialize (SerializeBufferBase &buffer) const |
serialization function More... | |
virtual SerializeStatus | serialize (SerializeBufferBase &buffer, NATIVE_UINT_TYPE maxLen) const |
serialization function More... | |
virtual SerializeStatus | deserialize (SerializeBufferBase &buffer) |
deserialization function More... | |
Additional Inherited Members | |
![]() | |
StringBase () | |
virtual | ~StringBase () |
void | appendBuff (const CHAR *buff, NATIVE_UINT_TYPE size) |
![]() | |
Serializable () | |
Default constructor. More... | |
virtual | ~Serializable () |
destructor More... | |
Definition at line 10 of file TextLogString.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_TYPE_ID | |
SERIALIZED_SIZE |
Definition at line 13 of file TextLogString.hpp.
Fw::TextLogString::TextLogString | ( | const char * | src | ) |
Definition at line 5 of file TextLogString.cpp.
Fw::TextLogString::TextLogString | ( | const StringBase & | src | ) |
Definition at line 9 of file TextLogString.cpp.
Fw::TextLogString::TextLogString | ( | const TextLogString & | src | ) |
Definition at line 13 of file TextLogString.cpp.
Fw::TextLogString::TextLogString | ( | ) |
Definition at line 17 of file TextLogString.cpp.
Fw::TextLogString::~TextLogString | ( | ) |
Definition at line 44 of file TextLogString.cpp.
|
virtual |
TextLogString & Fw::TextLogString::operator= | ( | const char * | other | ) |
Definition at line 39 of file TextLogString.cpp.
TextLogString & Fw::TextLogString::operator= | ( | const StringBase & | other | ) |
Definition at line 30 of file TextLogString.cpp.
TextLogString & Fw::TextLogString::operator= | ( | const TextLogString & | other | ) |
Definition at line 21 of file TextLogString.cpp.
|
virtual |
Implements Fw::StringBase.
Definition at line 47 of file TextLogString.cpp.