![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.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 | length (void) const =0 |
| 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... | |
| 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... | |
Public Member Functions inherited from Fw::Serializable | |
| virtual SerializeStatus | serialize (SerializeBufferBase &buffer) const =0 |
| serialize contents More... | |
| virtual SerializeStatus | deserialize (SerializeBufferBase &buffer)=0 |
| deserialize to contents More... | |
Protected Member Functions | |
| StringBase (void) | |
| virtual | ~StringBase (void) |
| virtual void | copyBuff (const char *buff, NATIVE_UINT_TYPE size)=0 |
| virtual NATIVE_UINT_TYPE | getCapacity (void) const =0 |
| return size of buffer More... | |
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 23 of file StringType.cpp.
|
protectedvirtual |
Definition at line 26 of file StringType.cpp.
| void Fw::StringBase::appendBuff | ( | const char * | buff, |
| NATIVE_UINT_TYPE | size | ||
| ) |
Definition at line 107 of file StringType.cpp.
|
protectedpure virtual |
| void Fw::StringBase::format | ( | const char * | formatString, |
| ... | |||
| ) |
write formatted string to buffer
Definition at line 61 of file StringType.cpp.
|
protectedpure virtual |
return size of buffer
|
pure virtual |
Get length of string.
Implemented in Fw::CmdStringArg, Fw::LogStringArg, Fw::TextLogString, Fw::ParamString, Fw::TlmString, Fw::EightyCharString, Fw::FixedLengthString, Fw::InternalInterfaceString, Os::QueueString, and Os::TaskString.
| bool Fw::StringBase::operator!= | ( | const char * | other | ) | const |
Inequality with char*.
Definition at line 77 of file StringType.cpp.
| bool Fw::StringBase::operator!= | ( | const StringBase & | other | ) | const |
Inequality with StringBase.
Definition at line 73 of file StringType.cpp.
| const char * Fw::StringBase::operator+= | ( | const char * | src | ) |
Concatenate a char*.
Definition at line 29 of file StringType.cpp.
| const StringBase & Fw::StringBase::operator+= | ( | const StringBase & | src | ) |
Concatenate a StringBase.
Definition at line 34 of file StringType.cpp.
| const char * Fw::StringBase::operator= | ( | const char * | src | ) |
Assign char*.
Definition at line 102 of file StringType.cpp.
| const StringBase & Fw::StringBase::operator= | ( | const StringBase & | src | ) |
Assign another StringBase.
Definition at line 95 of file StringType.cpp.
| bool Fw::StringBase::operator== | ( | const char * | other | ) | const |
Check for equality with char*.
Definition at line 48 of file StringType.cpp.
| bool Fw::StringBase::operator== | ( | const StringBase & | other | ) | const |
Check for equality with StringBase.
Definition at line 39 of file StringType.cpp.
|
pure virtual |