F´ Flight Software - C/C++ Documentation
NASA-v2.1.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
z
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
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
f
g
h
i
k
l
m
n
p
r
s
t
u
v
Functions
f
i
m
p
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
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/String.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
();
37
40
Os::ValidateFile::Status
createHashFile
();
41
42
public
:
43
46
const
Fw::StringBase
&
getFileName
()
const
;
47
50
const
Fw::StringBase
&
getHashFileName
()
const
;
51
54
const
Utils::HashBuffer
&
getHashBuffer
()
const
;
55
56
PRIVATE:
57
59
Fw::String
fileName;
60
62
Fw::String
hashFileName;
63
65
Utils::HashBuffer
hashBuffer;
66
};
67
68
};
69
70
#endif
Os
Definition:
File.cpp:7
Os::ValidateFile::Status
Status
Definition:
ValidateFile.hpp:27
Fw::StringBase
Definition:
StringType.hpp:23
ValidateFile.hpp
Defines a file class to validate files or generate a file validator file.
Utils::HashBuffer
A container class for holding a hash buffer.
Definition:
HashBuffer.hpp:26
Os::ValidatedFile::getHashFileName
const Fw::StringBase & getHashFileName() const
Definition:
ValidatedFile.cpp:58
String.hpp
Os::ValidatedFile::getHashBuffer
const Utils::HashBuffer & getHashBuffer() const
Definition:
ValidatedFile.cpp:64
Os::ValidatedFile::validate
Os::ValidateFile::Status validate()
Definition:
ValidatedFile.cpp:28
Fw::String
Definition:
String.hpp:10
Os::ValidatedFile
A validated file.
Definition:
ValidatedFile.hpp:23
Os::ValidatedFile::createHashFile
Os::ValidateFile::Status createHashFile()
Definition:
ValidatedFile.cpp:40
Os::ValidatedFile::getFileName
const Fw::StringBase & getFileName() const
Definition:
ValidatedFile.cpp:52
Os::ValidatedFile::ValidatedFile
ValidatedFile(const char *const fileName)
Construct a validated file.
Definition:
ValidatedFile.cpp:19
BasicTypes.hpp
Declares ISF basic types.
Os
ValidatedFile.hpp
Generated by
1.8.17