F´ Flight Software - C/C++ Documentation
NASA-v2.0.1
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
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
g
h
i
m
r
s
t
v
w
Variables
Typedefs
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
b
d
e
f
g
h
i
l
m
n
p
q
s
t
u
v
w
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
l
m
n
o
p
q
r
s
t
w
Related Functions
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Functions
f
i
m
s
u
Variables
Typedefs
Enumerations
Enumerator
c
d
f
m
p
r
s
t
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
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
(
void
)
7
{
8
return
HASH_EXTENSION_STRING
;
9
}
10
11
void
Hash ::
12
addFileExtension
(
13
const
Fw::EightyCharString
& baseName,
14
Fw::EightyCharString
& extendedName
15
) {
16
extendedName.
format
(
"%s%s"
, baseName.
toChar
(),
HASH_EXTENSION_STRING
);
17
}
18
19
NATIVE_UINT_TYPE
Hash ::
20
getFileExtensionLength
(
void
)
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
}
26
27
}
HASH_EXTENSION_STRING
#define HASH_EXTENSION_STRING
Definition:
CRC32.hpp:25
Fw::EightyCharString::toChar
const char * toChar(void) const
gets char buffer
Definition:
EightyCharString.cpp:34
Utils::Hash::addFileExtension
static void addFileExtension(const Fw::EightyCharString &baseName, Fw::EightyCharString &extendedName)
Definition:
HashCommon.cpp:12
Utils
Definition:
CRCChecker.cpp:20
Fw::EightyCharString
Definition:
EightyCharString.hpp:10
Utils::Hash::getFileExtensionLength
static NATIVE_UINT_TYPE getFileExtensionLength(void)
Definition:
HashCommon.cpp:20
Utils::Hash::getFileExtensionString
static const char * getFileExtensionString(void)
Definition:
HashCommon.cpp:6
Hash.hpp
NATIVE_UINT_TYPE
unsigned int NATIVE_UINT_TYPE
native unsigned integer type declaration
Definition:
BasicTypes.hpp:30
Fw::StringBase::format
void format(const char *formatString,...)
write formatted string to buffer
Definition:
StringType.cpp:61
Utils
Hash
HashCommon.cpp
Generated by
1.8.17