![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Os/TaskString.hpp>
Public Member Functions | |
TaskString (const char *src) | |
char buffer constructor More... | |
TaskString (const StringBase &src) | |
Copy constructor. More... | |
TaskString (const TaskString &src) | |
Copy constructor. More... | |
TaskString (void) | |
default constructor More... | |
~TaskString (void) | |
destructor More... | |
const char * | toChar (void) const |
get pointer to internal char buffer More... | |
NATIVE_UINT_TYPE | length (void) const |
return current string length More... | |
Fw::SerializeStatus | serialize (Fw::SerializeBufferBase &buffer) const |
serialize contents More... | |
Fw::SerializeStatus | deserialize (Fw::SerializeBufferBase &buffer) |
deserialize to contents More... | |
const TaskString & | operator= (const TaskString &other) |
equal operator 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 10 of file TaskString.hpp.
Os::TaskString::TaskString | ( | const char * | src | ) |
char buffer constructor
Definition at line 11 of file TaskString.cpp.
Os::TaskString::TaskString | ( | const StringBase & | src | ) |
Copy constructor.
Definition at line 15 of file TaskString.cpp.
Os::TaskString::TaskString | ( | const TaskString & | src | ) |
Copy constructor.
Definition at line 19 of file TaskString.cpp.
Os::TaskString::TaskString | ( | void | ) |
default constructor
Definition at line 23 of file TaskString.cpp.
Os::TaskString::~TaskString | ( | void | ) |
destructor
Definition at line 27 of file TaskString.cpp.
|
virtual |
|
virtual |
return current string length
Implements Fw::StringBase.
Definition at line 30 of file TaskString.cpp.
const TaskString & Os::TaskString::operator= | ( | const TaskString & | other | ) |
equal operator
Definition at line 48 of file TaskString.cpp.
|
virtual |
|
virtual |
get pointer to internal char buffer
Implements Fw::StringBase.
Definition at line 34 of file TaskString.cpp.