F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
EightyCharString.hpp
Go to the documentation of this file.
1#ifndef FW_EIGHTY_CHAR_STRING_TYPE_HPP
2#define FW_EIGHTY_CHAR_STRING_TYPE_HPP
3
4#include <FpConfig.hpp>
6#include <Fw/Cfg/SerIds.hpp>
7
8namespace Fw {
9
11 public:
12
13 enum {
17 };
18
19 EightyCharString(const char* src);
20 EightyCharString(const StringBase& src);
25 EightyCharString& operator=(const char* other);
27
28 const char* toChar() const;
30
31 private:
32
33 char m_buf[STRING_SIZE];
34 };
35}
36
37#endif
PlatformUIntType NATIVE_UINT_TYPE
Definition BasicTypes.h:52
U16 FwBuffSizeType
Definition FpConfig.h:30
C++-compatible configuration header for fprime configuration.
Definitions for ISF type serial IDs.
Declares ISF string base class.
const char * toChar() const
gets char buffer
@ STRING_SIZE
Storage for string.
@ SERIALIZED_TYPE_ID
typeid for string type
@ SERIALIZED_SIZE
Serialized size is size of buffer + size field.
EightyCharString()
default constructor
EightyCharString & operator=(const EightyCharString &other)
assignment operator
NATIVE_UINT_TYPE getCapacity() const
return buffer size
Definition Buffer.cpp:21
@ FW_TYPEID_EIGHTY_CHAR_STRING
80 char string Buffer type id
Definition SerIds.hpp:57