F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
Toggle main menu visibility
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
o
p
r
s
t
v
w
Variables
Typedefs
a
b
c
d
e
f
g
h
l
o
p
r
s
t
u
w
Enumerations
Enumerator
a
b
c
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
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
w
Typedefs
c
e
s
t
u
w
Enumerations
b
c
d
g
h
m
o
q
s
t
u
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
Related Symbols
a
b
c
d
f
g
h
l
p
r
s
t
u
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
l
m
n
p
r
s
t
u
v
Functions
c
i
m
p
s
u
Variables
_
b
c
f
i
l
p
r
s
Typedefs
b
c
f
i
n
p
s
u
Enumerations
Enumerator
a
b
c
d
f
g
h
p
r
s
t
Macros
_
a
c
d
f
g
h
i
l
m
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
Loading...
Searching...
No Matches
HashCommon.cpp
Go to the documentation of this file.
1
#include <
Utils/Hash/Hash.hpp
>
2
3
namespace
Utils
{
4
5
const
char
* Hash ::
6
getFileExtensionString()
7
{
8
return
HASH_EXTENSION_STRING
;
9
}
5
const
char
* Hash :: {
…
}
10
11
void
Hash ::
12
addFileExtension(
13
const
Fw::StringBase
& baseName,
14
Fw::StringBase
& extendedName
15
) {
16
extendedName.
format
(
"%s%s"
, baseName.
toChar
(),
HASH_EXTENSION_STRING
);
17
}
11
void
Hash :: {
…
}
18
19
NATIVE_UINT_TYPE
Hash ::
20
getFileExtensionLength()
21
{
22
// Size of returns the size including the '\0' character.
23
// We want to return just the size of the string.
24
return
sizeof
(
HASH_EXTENSION_STRING
) - 1;
25
}
19
NATIVE_UINT_TYPE
Hash :: {
…
}
26
27
}
NATIVE_UINT_TYPE
PlatformUIntType NATIVE_UINT_TYPE
Definition
BasicTypes.h:52
HASH_EXTENSION_STRING
#define HASH_EXTENSION_STRING
Definition
CRC32.hpp:25
Hash.hpp
Fw::StringBase
Definition
StringType.hpp:23
Fw::StringBase::format
void format(const CHAR *formatString,...)
write formatted string to buffer
Definition
StringType.cpp:60
Fw::StringBase::toChar
virtual const CHAR * toChar() const =0
Utils
Definition
CRCChecker.cpp:20
Utils
Hash
HashCommon.cpp
Generated by
1.10.0