![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.1.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Types/StringType.hpp>
Public Member Functions | |
| virtual const char * | toChar (void) const =0 |
| virtual NATIVE_UINT_TYPE | getCapacity (void) const =0 |
| return size of buffer More... | |
| NATIVE_UINT_TYPE | length (void) 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... | |
| SerializeStatus | serialize (SerializeBufferBase &buffer) const |
| serialization function More... | |
| SerializeStatus | deserialize (SerializeBufferBase &buffer) |
| deserialization function More... | |
Protected Member Functions | |
| StringBase (void) | |
| virtual | ~StringBase (void) |
| void | appendBuff (const char *buff, NATIVE_UINT_TYPE size) |
Protected Member Functions inherited from Fw::Serializable | |
| Serializable () | |
| Default constructor. More... | |
| virtual | ~Serializable () |
| destructor More... | |
Definition at line 23 of file StringType.hpp.
|
protected |
Definition at line 22 of file StringType.cpp.
|
protectedvirtual |
Definition at line 25 of file StringType.cpp.
|
protected |
Definition at line 106 of file StringType.cpp.
|
virtual |
deserialization function
Implements Fw::Serializable.
Definition at line 127 of file StringType.cpp.
| void Fw::StringBase::format | ( | const char * | formatString, |
| ... | |||
| ) |
write formatted string to buffer
Definition at line 60 of file StringType.cpp.
|
pure virtual |
return size of buffer
Implemented in Fw::CmdStringArg, Fw::TextLogString, Fw::ParamString, Fw::EightyCharString, Fw::InternalInterfaceString, Os::QueueString, Os::TaskString, and Fw::String.
| NATIVE_UINT_TYPE Fw::StringBase::length | ( | void | ) | const |
Get length of string.
Definition at line 119 of file StringType.cpp.
| bool Fw::StringBase::operator!= | ( | const char * | other | ) | const |
Inequality with char*.
Definition at line 76 of file StringType.cpp.
| bool Fw::StringBase::operator!= | ( | const StringBase & | other | ) | const |
Inequality with StringBase.
Definition at line 72 of file StringType.cpp.
| const char * Fw::StringBase::operator+= | ( | const char * | src | ) |
Concatenate a char*.
Definition at line 28 of file StringType.cpp.
| const StringBase & Fw::StringBase::operator+= | ( | const StringBase & | src | ) |
Concatenate a StringBase.
Definition at line 33 of file StringType.cpp.
| StringBase & Fw::StringBase::operator= | ( | const char * | src | ) |
Assign char*.
Definition at line 101 of file StringType.cpp.
| StringBase & Fw::StringBase::operator= | ( | const StringBase & | src | ) |
Assign another StringBase.
Definition at line 94 of file StringType.cpp.
| bool Fw::StringBase::operator== | ( | const char * | other | ) | const |
Check for equality with char*.
Definition at line 47 of file StringType.cpp.
| bool Fw::StringBase::operator== | ( | const StringBase & | other | ) | const |
Check for equality with StringBase.
Definition at line 38 of file StringType.cpp.
|
virtual |
|
pure virtual |