|  | F´ Flight Software - C/C++ Documentation
    devel
    A framework for building embedded system applications to NASA flight quality standards. | 
#include <Fw/Cmd/CmdString.hpp>
 
  
| Public Types | |
| enum | { SERIALIZED_TYPE_ID = FW_TYPEID_CMD_STR , SERIALIZED_SIZE = FW_CMD_STRING_MAX_SIZE + sizeof(FwBuffSizeType) } | 
| Public Member Functions | |
| CmdStringArg (const char *src) | |
| CmdStringArg (const StringBase &src) | |
| CmdStringArg (const CmdStringArg &src) | |
| CmdStringArg () | |
| CmdStringArg & | operator= (const CmdStringArg &other) | 
| CmdStringArg & | operator= (const StringBase &other) | 
| CmdStringArg & | operator= (const char *other) | 
| ~CmdStringArg () | |
| const char * | toChar () const | 
| NATIVE_UINT_TYPE | getCapacity () const | 
| return buffer size  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... | |
| virtual SerializeStatus | serialize (SerializeBufferBase &buffer) const | 
| serialization function  More... | |
| virtual SerializeStatus | serialize (SerializeBufferBase &buffer, NATIVE_UINT_TYPE maxLen) const | 
| serialization function  More... | |
| virtual SerializeStatus | deserialize (SerializeBufferBase &buffer) | 
| deserialization function  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 CmdString.hpp.
| anonymous enum | 
| Enumerator | |
|---|---|
| SERIALIZED_TYPE_ID | |
| SERIALIZED_SIZE | |
Definition at line 13 of file CmdString.hpp.
| Fw::CmdStringArg::CmdStringArg | ( | const char * | src | ) | 
Definition at line 6 of file CmdString.cpp.
| Fw::CmdStringArg::CmdStringArg | ( | const StringBase & | src | ) | 
Definition at line 10 of file CmdString.cpp.
| Fw::CmdStringArg::CmdStringArg | ( | const CmdStringArg & | src | ) | 
Definition at line 14 of file CmdString.cpp.
| Fw::CmdStringArg::CmdStringArg | ( | ) | 
Definition at line 18 of file CmdString.cpp.
| Fw::CmdStringArg::~CmdStringArg | ( | ) | 
Definition at line 45 of file CmdString.cpp.
| 
 | virtual | 
| CmdStringArg & Fw::CmdStringArg::operator= | ( | const char * | other | ) | 
Definition at line 40 of file CmdString.cpp.
| CmdStringArg & Fw::CmdStringArg::operator= | ( | const CmdStringArg & | other | ) | 
Definition at line 22 of file CmdString.cpp.
| CmdStringArg & Fw::CmdStringArg::operator= | ( | const StringBase & | other | ) | 
Definition at line 31 of file CmdString.cpp.
| 
 | virtual | 
Implements Fw::StringBase.
Definition at line 48 of file CmdString.cpp.