F´ Flight Software - C/C++ Documentation
NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Main Page
Related Pages
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
z
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
h
l
o
p
r
s
t
w
Enumerations
Enumerator
a
b
f
h
i
n
o
p
s
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Functions
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
a
b
d
e
f
g
h
i
l
m
n
p
q
r
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
Functions
i
m
p
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
e
f
m
o
p
r
s
t
v
Macros
_
a
c
d
f
g
h
i
k
l
m
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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 <
Fw/Types/BasicTypes.hpp
>
5
#include <
Fw/Types/StringType.hpp
>
6
#include <
Fw/Cfg/SerIds.hpp
>
7
8
namespace
Fw
{
9
10
class
EightyCharString
:
public
Fw::StringBase
{
11
public
:
12
13
enum
{
14
SERIALIZED_TYPE_ID
=
FW_TYPEID_EIGHTY_CHAR_STRING
,
15
STRING_SIZE
= 80,
16
SERIALIZED_SIZE
=
STRING_SIZE
+
sizeof
(
FwBuffSizeType
)
17
};
18
19
EightyCharString
(
const
char
* src);
20
EightyCharString
(
const
StringBase
& src);
21
EightyCharString
(
const
EightyCharString
& src);
22
EightyCharString
();
23
EightyCharString
&
operator=
(
const
EightyCharString
& other);
24
EightyCharString
&
operator=
(
const
StringBase
& other);
25
EightyCharString
&
operator=
(
const
char
* other);
26
~EightyCharString
();
27
28
const
char
*
toChar
()
const
;
29
NATIVE_UINT_TYPE
getCapacity
()
const
;
30
31
private
:
32
33
char
m_buf[
STRING_SIZE
];
34
};
35
}
36
37
#endif
StringType.hpp
Declares ISF string base class.
Fw::FW_TYPEID_EIGHTY_CHAR_STRING
@ FW_TYPEID_EIGHTY_CHAR_STRING
80 char string Buffer type id
Definition:
SerIds.hpp:57
Fw::StringBase
Definition:
StringType.hpp:23
Fw::EightyCharString::SERIALIZED_TYPE_ID
@ SERIALIZED_TYPE_ID
typeid for string type
Definition:
EightyCharString.hpp:14
Fw::EightyCharString::toChar
const char * toChar() const
gets char buffer
Definition:
EightyCharString.cpp:48
Fw::EightyCharString::STRING_SIZE
@ STRING_SIZE
Storage for string.
Definition:
EightyCharString.hpp:15
Fw::EightyCharString
Definition:
EightyCharString.hpp:10
Fw::EightyCharString::~EightyCharString
~EightyCharString()
destructor
Definition:
EightyCharString.cpp:45
Fw::EightyCharString::EightyCharString
EightyCharString()
default constructor
Definition:
EightyCharString.cpp:18
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Fw::EightyCharString::SERIALIZED_SIZE
@ SERIALIZED_SIZE
Serialized size is size of buffer + size field.
Definition:
EightyCharString.hpp:16
Fw::EightyCharString::getCapacity
NATIVE_UINT_TYPE getCapacity() const
return buffer size
Definition:
EightyCharString.cpp:52
BasicTypes.hpp
Declares ISF basic types.
SerIds.hpp
Definitions for ISF type serial IDs.
FwBuffSizeType
#define FwBuffSizeType
Type representation for storing a buffer or string size.
Definition:
FpConfig.hpp:79
Fw
Definition:
Buffer.cpp:21
Fw::EightyCharString::operator=
EightyCharString & operator=(const EightyCharString &other)
assignment operator
Definition:
EightyCharString.cpp:22
Fw
Types
EightyCharString.hpp
Generated by
1.8.17