Ben Evans University Second Year Project. Game Called Defender.

Dependencies:   mbed

Embed: (wiki syntax)

« Back to documentation index

SDErrors Class Reference

SDErrors Class Reference

SD Errors class errors. More...

#include <SDErrors.h>

Inherited by HighScore, and SavedGames.

Public Member Functions

bool get_error ()
 Gets error flag.
void set_error (bool error)
 Set error.

Protected Attributes

bool error_
 Flag for error,.

Detailed Description

SD Errors class errors.

Errors for SD related functions parent class

Author:
Benjamin Evans, University of Leeds
Date:
May 2020

Definition at line 13 of file SDErrors.h.


Member Function Documentation

bool get_error (  )

Gets error flag.

Returns:
error_;

Definition at line 4 of file SDErrors.cpp.

void set_error ( bool  error )

Set error.

Parameters:
error;

Definition at line 8 of file SDErrors.cpp.


Field Documentation

bool error_ [protected]

Flag for error,.

Note:
true = error

Definition at line 33 of file SDErrors.h.