F´ Flight Software - C/C++ Documentation  NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
InternalInterfaceString.hpp
Go to the documentation of this file.
1 #ifndef FW_INTERNAL_INTERFACE_STRING_TYPE_HPP
2 #define FW_INTERNAL_INTERFACE_STRING_TYPE_HPP
3 
4 #include <Fw/Types/BasicTypes.hpp>
5 #include <Fw/Types/StringType.hpp>
6 #include <Fw/Cfg/SerIds.hpp>
7 #include <FpConfig.hpp>
8 
9 namespace Fw {
10 
12  public:
13 
14  enum {
17  };
18 
19  InternalInterfaceString(const char* src);
25  InternalInterfaceString& operator=(const char* other);
27 
28  const char* toChar() const;
30 
31  private:
32 
34  };
35 }
36 
37 #endif // FW_INTERNAL_INTERFACE_STRING_TYPE_HPP
Fw::InternalInterfaceString
Definition: InternalInterfaceString.hpp:11
Fw::StringBase
Definition: StringType.hpp:23
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition: BasicTypes.hpp:28
Fw::InternalInterfaceString::getCapacity
NATIVE_UINT_TYPE getCapacity() const
return buffer size
Definition: InternalInterfaceString.cpp:52
Fw::InternalInterfaceString::SERIALIZED_SIZE
@ SERIALIZED_SIZE
Serialized size is size of buffer + size field.
Definition: InternalInterfaceString.hpp:16
Fw::InternalInterfaceString::~InternalInterfaceString
~InternalInterfaceString()
destructor
Definition: InternalInterfaceString.cpp:45
FwBuffSizeType
#define FwBuffSizeType
Type representation for storing a buffer or string size.
Definition: FpConfig.hpp:79
Fw::FW_TYPEID_INTERNAL_INTERFACE_STRING
@ FW_TYPEID_INTERNAL_INTERFACE_STRING
interface string Buffer type id
Definition: SerIds.hpp:58
Fw::InternalInterfaceString::operator=
InternalInterfaceString & operator=(const InternalInterfaceString &other)
assignment operator
Definition: InternalInterfaceString.cpp:22
Fw::InternalInterfaceString::SERIALIZED_TYPE_ID
@ SERIALIZED_TYPE_ID
typeid for string type
Definition: InternalInterfaceString.hpp:15
Fw::InternalInterfaceString::toChar
const char * toChar() const
gets char buffer
Definition: InternalInterfaceString.cpp:48
Fw::InternalInterfaceString::InternalInterfaceString
InternalInterfaceString()
default constructor
Definition: InternalInterfaceString.cpp:18
FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
#define FW_INTERNAL_INTERFACE_STRING_MAX_SIZE
Max size of interface string parameter type.
Definition: FpConfig.hpp:273
Fw
Definition: SerIds.hpp:20