![]() |
F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
|
#include <Fw/Log/LogString.hpp>
Public Types | |
| enum | { SERIALIZED_TYPE_ID = FW_TYPEID_LOG_STR , SERIALIZED_SIZE = FW_LOG_STRING_MAX_SIZE + sizeof(FwBuffSizeType) } |
Public Member Functions | |
| LogStringArg () | |
| LogStringArg (const LogStringArg &src) | |
| LogStringArg string constructor. More... | |
| LogStringArg (const StringBase &src) | |
| other string constructor More... | |
| LogStringArg (const char *src) | |
| char* source constructor More... | |
| LogStringArg & | operator= (const LogStringArg &other) |
| assignment operator More... | |
| LogStringArg & | operator= (const StringBase &other) |
| other string assignment operator More... | |
| LogStringArg & | operator= (const char *other) |
| char* assignment operator More... | |
| ~LogStringArg () | |
| const char * | toChar () const override |
| NATIVE_UINT_TYPE | getCapacity () const override |
| return size of buffer More... | |
| SerializeStatus | serialize (SerializeBufferBase &buffer) const override |
| serialization function More... | |
| SerializeStatus | serialize (SerializeBufferBase &buffer, NATIVE_UINT_TYPE maxLen) const override |
| serialization function More... | |
| SerializeStatus | deserialize (SerializeBufferBase &buffer) override |
| deserialization function More... | |
Public Member Functions inherited from Fw::StringBase | |
| NATIVE_UINT_TYPE | length () 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... | |
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. More... | |
| virtual | ~Serializable () |
| destructor More... | |
Definition at line 10 of file LogString.hpp.
| anonymous enum |
| Enumerator | |
|---|---|
| SERIALIZED_TYPE_ID | |
| SERIALIZED_SIZE | |
Definition at line 13 of file LogString.hpp.
| Fw::LogStringArg::LogStringArg | ( | ) |
Definition at line 18 of file LogString.cpp.
| Fw::LogStringArg::LogStringArg | ( | const LogStringArg & | src | ) |
LogStringArg string constructor.
Definition at line 14 of file LogString.cpp.
| Fw::LogStringArg::LogStringArg | ( | const StringBase & | src | ) |
other string constructor
Definition at line 10 of file LogString.cpp.
| Fw::LogStringArg::LogStringArg | ( | const char * | src | ) |
char* source constructor
Definition at line 6 of file LogString.cpp.
| Fw::LogStringArg::~LogStringArg | ( | ) |
Definition at line 46 of file LogString.cpp.
|
overridevirtual |
deserialization function
Reimplemented from Fw::StringBase.
Definition at line 76 of file LogString.cpp.
|
overridevirtual |
| LogStringArg & Fw::LogStringArg::operator= | ( | const char * | other | ) |
char* assignment operator
Definition at line 41 of file LogString.cpp.
| LogStringArg & Fw::LogStringArg::operator= | ( | const LogStringArg & | other | ) |
assignment operator
Definition at line 23 of file LogString.cpp.
| LogStringArg & Fw::LogStringArg::operator= | ( | const StringBase & | other | ) |
other string assignment operator
Definition at line 32 of file LogString.cpp.
|
overridevirtual |
serialization function
Reimplemented from Fw::StringBase.
Definition at line 57 of file LogString.cpp.
|
overridevirtual |
serialization function
Reimplemented from Fw::StringBase.
Definition at line 61 of file LogString.cpp.
|
overridevirtual |
Implements Fw::StringBase.
Definition at line 49 of file LogString.cpp.