F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Os::ValidatedFile Class Reference

A validated file. More...

#include <Os/ValidatedFile.hpp>

Public Member Functions

 ValidatedFile (const char *const fileName)
 Construct a validated file. More...
 
Os::ValidateFile::Status validate ()
 
Os::ValidateFile::Status createHashFile ()
 
const Fw::StringBasegetFileName () const
 
const Fw::StringBasegetHashFileName () const
 
const Utils::HashBuffergetHashBuffer () const
 

Detailed Description

A validated file.

Definition at line 23 of file ValidatedFile.hpp.

Constructor & Destructor Documentation

◆ ValidatedFile()

Os::ValidatedFile::ValidatedFile ( const char *const  fileName)

Construct a validated file.

Parameters
fileNameThe file name

Definition at line 18 of file ValidatedFile.cpp.

Member Function Documentation

◆ createHashFile()

Os::ValidateFile::Status Os::ValidatedFile::createHashFile ( )

Create the hash file

Returns
Status

Definition at line 39 of file ValidatedFile.cpp.

◆ getFileName()

const Fw::StringBase & Os::ValidatedFile::getFileName ( ) const

Get the file name

Returns
The file name

Definition at line 51 of file ValidatedFile.cpp.

◆ getHashBuffer()

const Utils::HashBuffer & Os::ValidatedFile::getHashBuffer ( ) const

Get the hash file buffer

Returns
The hash file buffer

Definition at line 63 of file ValidatedFile.cpp.

◆ getHashFileName()

const Fw::StringBase & Os::ValidatedFile::getHashFileName ( ) const

Get the hash file name

Returns
The hash file name

Definition at line 57 of file ValidatedFile.cpp.

◆ validate()

Os::ValidateFile::Status Os::ValidatedFile::validate ( )

Validate the file

Returns
Status

Definition at line 27 of file ValidatedFile.cpp.


The documentation for this class was generated from the following files: