F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
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 <FpConfig.hpp>
18#include "Os/ValidateFile.hpp"
19
20namespace Os {
21
24
25 public:
26
29 const char* const fileName
30 );
31
32 public:
33
37
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
C++-compatible configuration header for fprime configuration.
Defines a file class to validate files or generate a file validator file.
A validated file.
const Fw::StringBase & getFileName() const
const Fw::StringBase & getHashFileName() const
Os::ValidateFile::Status validate()
Os::ValidateFile::Status createHashFile()
const Utils::HashBuffer & getHashBuffer() const
A container class for holding a hash buffer.
Definition File.cpp:6