F´ Flight Software - C/C++ Documentation
NASA-v1.5.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
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
c
f
h
i
l
m
n
o
p
s
t
v
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
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
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Typedefs
c
t
u
w
Enumerations
b
c
d
e
f
g
h
i
m
o
p
q
s
t
w
Enumerator
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
w
Related Functions
a
b
c
f
g
h
l
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Functions
f
i
m
s
u
Variables
_
c
f
i
l
p
t
Typedefs
Enumerations
Enumerator
a
c
d
f
i
m
p
r
s
t
w
Macros
a
c
d
f
g
h
i
k
l
m
n
p
r
s
t
u
v
►
F´ Flight Software - C/C++ Documentation
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
ValidatedFile.hpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title ValidatedFile.hpp
3
// \author bocchino
4
// \brief An fprime validated file
5
//
6
// \copyright
7
// Copyright (C) 2017 California Institute of Technology.
8
// ALL RIGHTS RESERVED. United States Government Sponsorship
9
// acknowledged.
10
//
11
// ======================================================================
12
13
#ifndef OS_ValidatedFile_HPP
14
#define OS_ValidatedFile_HPP
15
16
#include "
Fw/Types/EightyCharString.hpp
"
17
#include "
Fw/Types/BasicTypes.hpp
"
18
#include "
Os/ValidateFile.hpp
"
19
20
namespace
Os
{
21
23
class
ValidatedFile
{
24
25
public
:
26
28
ValidatedFile
(
29
const
char
*
const
fileName
30
);
31
32
public
:
33
36
Os::ValidateFile::Status
validate
(
void
);
37
40
Os::ValidateFile::Status
createHashFile
(
void
);
41
42
public
:
43
46
const
Fw::EightyCharString
&
getFileName
(
void
)
const
;
47
50
const
Fw::EightyCharString
&
getHashFileName
(
void
)
const
;
51
54
const
Utils::HashBuffer
&
getHashBuffer
(
void
)
const
;
55
56
PRIVATE
:
57
59
Fw::EightyCharString
fileName;
60
62
Fw::EightyCharString
hashFileName
;
63
65
Utils::HashBuffer
hashBuffer
;
66
};
67
68
};
69
70
#endif
Os
Definition:
File.cpp:7
Os::ValidatedFile::validate
Os::ValidateFile::Status validate(void)
Definition:
ValidatedFile.cpp:28
PRIVATE
#define PRIVATE
overridable private for unit testing
Definition:
BasicTypes.hpp:118
Os::ValidatedFile::getHashFileName
const Fw::EightyCharString & getHashFileName(void) const
Definition:
ValidatedFile.cpp:58
Os::ValidatedFile::createHashFile
Os::ValidateFile::Status createHashFile(void)
Definition:
ValidatedFile.cpp:40
Os::ValidateFile::Status
Status
Definition:
ValidateFile.hpp:27
Fw::EightyCharString
Definition:
EightyCharString.hpp:10
Os::ValidatedFile::hashFileName
Fw::EightyCharString hashFileName
The hash file name.
Definition:
ValidatedFile.hpp:62
ValidateFile.hpp
Defines a file class to validate files or generate a file validator file.
Utils::HashBuffer
An container class for holding a hash buffer.
Definition:
HashBuffer.hpp:26
EightyCharString.hpp
Os::ValidatedFile::getFileName
const Fw::EightyCharString & getFileName(void) const
Definition:
ValidatedFile.cpp:52
Os::ValidatedFile::hashBuffer
Utils::HashBuffer hashBuffer
The hash value after creating or loading a validation file.
Definition:
ValidatedFile.hpp:65
Os::ValidatedFile
A validated file.
Definition:
ValidatedFile.hpp:23
Os::ValidatedFile::ValidatedFile
ValidatedFile(const char *const fileName)
Construct a validated file.
Definition:
ValidatedFile.cpp:19
BasicTypes.hpp
Declares ISF basic types.
Os::ValidatedFile::getHashBuffer
const Utils::HashBuffer & getHashBuffer(void) const
Definition:
ValidatedFile.cpp:64
Os
ValidatedFile.hpp
Generated by
1.8.19