![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Tlm/TlmString.hpp>
Public Types | |
enum | { SERIALIZED_TYPE_ID = FW_TYPEID_TLM_STR, SERIALIZED_SIZE = FW_TLM_STRING_MAX_SIZE + sizeof(FwBuffSizeType) } |
Public Member Functions | |
TlmString (const char *src) | |
TlmString (const StringBase &src) | |
TlmString (const TlmString &src) | |
TlmString (void) | |
~TlmString (void) | |
const char * | toChar (void) const |
NATIVE_UINT_TYPE | length (void) const |
Get length of string. More... | |
void | setMaxSerialize (NATIVE_UINT_TYPE size) |
const TlmString & | operator= (const TlmString &other) |
equal operator for other strings More... | |
SerializeStatus | serialize (SerializeBufferBase &buffer) const |
serialize contents More... | |
SerializeStatus | deserialize (SerializeBufferBase &buffer) |
deserialize to contents 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... | |
const char * | operator= (const char *src) |
Assign char*. More... | |
const StringBase & | operator= (const StringBase &src) |
Assign another StringBase. More... | |
void | appendBuff (const char *buff, NATIVE_UINT_TYPE size) |
void | format (const char *formatString,...) |
write formatted string to buffer More... | |
Additional Inherited Members | |
![]() | |
StringBase (void) | |
virtual | ~StringBase (void) |
![]() | |
Serializable () | |
Default constructor. More... | |
virtual | ~Serializable () |
destructor More... | |
Definition at line 11 of file TlmString.hpp.
anonymous enum |
Enumerator | |
---|---|
SERIALIZED_TYPE_ID | |
SERIALIZED_SIZE |
Definition at line 14 of file TlmString.hpp.
Fw::TlmString::TlmString | ( | const char * | src | ) |
Definition at line 11 of file TlmString.cpp.
Fw::TlmString::TlmString | ( | const StringBase & | src | ) |
Definition at line 15 of file TlmString.cpp.
Fw::TlmString::TlmString | ( | const TlmString & | src | ) |
Definition at line 19 of file TlmString.cpp.
Fw::TlmString::TlmString | ( | void | ) |
Definition at line 23 of file TlmString.cpp.
Fw::TlmString::~TlmString | ( | void | ) |
Definition at line 27 of file TlmString.cpp.
|
virtual |
|
virtual |
equal operator for other strings
Definition at line 108 of file TlmString.cpp.
|
virtual |
void Fw::TlmString::setMaxSerialize | ( | NATIVE_UINT_TYPE | size | ) |
Definition at line 95 of file TlmString.cpp.
|
virtual |
Implements Fw::StringBase.
Definition at line 34 of file TlmString.cpp.