Open-Typer
Open source typewriting tutor program
Loading...
Searching...
No Matches
HistoryEntry Class Reference

The HistoryEntry class is an entry in the exercise history. More...

#include "history/internal/HistoryEntry.h"

Public Member Functions

 HistoryEntry ()
 
 HistoryEntry (int grossHitsPerMinute, int mistakes, int timeSecs)
 
int grossHitsPerMinute (void)
 
void setGrossHitsPerMinute (int value)
 
int mistakes (void)
 
void setMistakes (int value)
 
int timeSecs (void)
 
void setTimeSecs (int value)
 

Properties

int grossHitsPerMinute
 
int mistakes
 
int timeSecs
 

Private Attributes

int m_grossHitsPerMinute = 0
 
int m_mistakes = 0
 
int m_timeSecs = 0
 

Detailed Description

The HistoryEntry class is an entry in the exercise history.

Constructor & Destructor Documentation

◆ HistoryEntry() [1/2]

HistoryEntry::HistoryEntry ( )

Constructs HistoryEntry.

◆ HistoryEntry() [2/2]

HistoryEntry::HistoryEntry ( int  grossHitsPerMinute,
int  mistakes,
int  timeSecs 
)

Constructs HistoryEntry with values.

Property Documentation

◆ grossHitsPerMinute

int HistoryEntry::grossHitsPerMinute
readwrite

Number of gross (total) hits per minute.

◆ mistakes

int HistoryEntry::mistakes
readwrite

Number of mistakes.

◆ timeSecs

int HistoryEntry::timeSecs
readwrite

Time in seconds.


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