F´ Flight Software - C/C++ Documentation
NASA-v1.5.0
A framework for building embedded system applications to NASA flight quality standards.
|
Go to the documentation of this file. 1 #ifndef FW_EIGHTY_CHAR_STRING_TYPE_HPP
2 #define FW_EIGHTY_CHAR_STRING_TYPE_HPP
24 const char*
toChar(
void)
const;
Declares ISF string base class.
@ FW_TYPEID_EIGHTY_CHAR_STRING
80 char string Buffer type id
const char * toChar(void) const
gets char buffer
#define PRIVATE
overridable private for unit testing
@ SERIALIZED_SIZE
Serialized size is size of buffer + size field.
SerializeStatus
forward declaration for string
SerializeStatus serialize(SerializeBufferBase &buffer) const
serialization function
void terminate(NATIVE_UINT_TYPE size)
terminate the string
PRIVATE NATIVE_UINT_TYPE size
copy source buffer, overwriting
SerializeStatus deserialize(SerializeBufferBase &buffer)
deserialization function
NATIVE_UINT_TYPE getCapacity(void) const
return buffer size
EightyCharString(void)
default constructor
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
~EightyCharString(void)
destructor
virtual void copyBuff(const char *buff, NATIVE_UINT_TYPE size)=0
@ SERIALIZED_TYPE_ID
typeid for string type
char m_buf[STRING_SIZE]
storage for string data
NATIVE_UINT_TYPE length(void) const
returns length of stored string
@ STRING_SIZE
Storage for string.
Declares ISF basic types.
Definitions for ISF type serial IDs.
#define FwBuffSizeType
Type representation for storing a buffer or string size.
const EightyCharString & operator=(const EightyCharString &other)
equal operator