![]() |
F´ Flight Software - C/C++ Documentation
NASA-v2.1.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 & | operator= (const TaskString &other) |
assignment operator More... | |
TaskString & | operator= (const StringBase &other) |
other string assignment operator More... | |
TaskString & | operator= (const char *other) |
char* assignment operator More... | |
~TaskString (void) | |
destructor More... | |
const char * | toChar (void) const |
get pointer to internal char buffer More... | |
NATIVE_UINT_TYPE | getCapacity (void) const |
return buffer size 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... | |
Additional Inherited Members | |
![]() | |
StringBase (void) | |
virtual | ~StringBase (void) |
void | appendBuff (const char *buff, NATIVE_UINT_TYPE size) |
![]() | |
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 6 of file TaskString.cpp.
Os::TaskString::TaskString | ( | const StringBase & | src | ) |
Copy constructor.
Definition at line 10 of file TaskString.cpp.
Os::TaskString::TaskString | ( | const TaskString & | src | ) |
Copy constructor.
Definition at line 14 of file TaskString.cpp.
Os::TaskString::TaskString | ( | void | ) |
default constructor
Definition at line 18 of file TaskString.cpp.
Os::TaskString::~TaskString | ( | void | ) |
destructor
Definition at line 37 of file TaskString.cpp.
|
virtual |
TaskString & Os::TaskString::operator= | ( | const char * | other | ) |
char* assignment operator
Definition at line 32 of file TaskString.cpp.
TaskString & Os::TaskString::operator= | ( | const StringBase & | other | ) |
other string assignment operator
Definition at line 27 of file TaskString.cpp.
TaskString & Os::TaskString::operator= | ( | const TaskString & | other | ) |
assignment operator
Definition at line 22 of file TaskString.cpp.
|
virtual |
get pointer to internal char buffer
Implements Fw::StringBase.
Definition at line 40 of file TaskString.cpp.