F´ Flight Software - C/C++ Documentation NASA-v1.6.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 | |
TaskString (const StringBase &src) | |
Copy constructor. | |
TaskString (const TaskString &src) | |
Copy constructor. | |
TaskString () | |
default constructor | |
TaskString & | operator= (const TaskString &other) |
assignment operator | |
TaskString & | operator= (const StringBase &other) |
other string assignment operator | |
TaskString & | operator= (const char *other) |
char* assignment operator | |
~TaskString () | |
destructor | |
const char * | toChar () const |
get pointer to internal char buffer | |
NATIVE_UINT_TYPE | getCapacity () const |
return buffer size | |
Public Member Functions inherited from Fw::StringBase | |
virtual const CHAR * | toChar () const =0 |
virtual NATIVE_UINT_TYPE | getCapacity () const =0 |
return size of buffer | |
NATIVE_UINT_TYPE | length () const |
Get length of string. | |
const CHAR * | operator+= (const CHAR *src) |
Concatenate a CHAR*. | |
const StringBase & | operator+= (const StringBase &src) |
Concatenate a StringBase. | |
bool | operator== (const StringBase &other) const |
Check for equality with StringBase. | |
bool | operator== (const CHAR *other) const |
Check for equality with CHAR*. | |
bool | operator!= (const StringBase &other) const |
Inequality with StringBase. | |
bool | operator!= (const CHAR *other) const |
Inequality with CHAR*. | |
StringBase & | operator= (const CHAR *src) |
Assign CHAR*. | |
StringBase & | operator= (const StringBase &src) |
Assign another StringBase. | |
void | format (const CHAR *formatString,...) |
write formatted string to buffer | |
virtual SerializeStatus | serialize (SerializeBufferBase &buffer) const |
serialization function | |
virtual SerializeStatus | serialize (SerializeBufferBase &buffer, NATIVE_UINT_TYPE maxLen) const |
serialization function | |
virtual SerializeStatus | deserialize (SerializeBufferBase &buffer) |
deserialization function | |
virtual SerializeStatus | serialize (SerializeBufferBase &buffer) const =0 |
serialize contents | |
virtual SerializeStatus | deserialize (SerializeBufferBase &buffer)=0 |
deserialize to contents | |
Additional Inherited Members | |
Protected Member Functions inherited from Fw::StringBase | |
StringBase () | |
virtual | ~StringBase () |
void | appendBuff (const CHAR *buff, NATIVE_UINT_TYPE size) |
Protected Member Functions inherited from Fw::Serializable | |
Serializable () | |
Default constructor. | |
virtual | ~Serializable () |
destructor | |
Definition at line 9 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 | ( | ) |
default constructor
Definition at line 18 of file TaskString.cpp.
Os::TaskString::~TaskString | ( | ) |
destructor
Definition at line 45 of file TaskString.cpp.
|
virtual |
TaskString & Os::TaskString::operator= | ( | const char * | other | ) |
char* assignment operator
Definition at line 40 of file TaskString.cpp.
TaskString & Os::TaskString::operator= | ( | const StringBase & | other | ) |
other string assignment operator
Definition at line 31 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 48 of file TaskString.cpp.