F´ Flight Software - C/C++ Documentation  NASA-v2.0.0
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 (void)
 
Os::ValidateFile::Status createHashFile (void)
 
const Fw::EightyCharStringgetFileName (void) const
 
const Fw::EightyCharStringgetHashFileName (void) const
 
const Utils::HashBuffergetHashBuffer (void) 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 19 of file ValidatedFile.cpp.

Member Function Documentation

◆ createHashFile()

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

Create the hash file

Returns
Status

Definition at line 40 of file ValidatedFile.cpp.

◆ getFileName()

const Fw::EightyCharString & Os::ValidatedFile::getFileName ( void  ) const

Get the file name

Returns
The file name

Definition at line 52 of file ValidatedFile.cpp.

◆ getHashBuffer()

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

Get the hash file buffer

Returns
The hash file buffer

Definition at line 64 of file ValidatedFile.cpp.

◆ getHashFileName()

const Fw::EightyCharString & Os::ValidatedFile::getHashFileName ( void  ) const

Get the hash file name

Returns
The hash file name

Definition at line 58 of file ValidatedFile.cpp.

◆ validate()

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

Validate the file

Returns
Status

Definition at line 28 of file ValidatedFile.cpp.


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