Storia
 
Loading...
Searching...
No Matches
Timeline Class Reference

#include <timeLine.h>

Collaboration diagram for Timeline:
Collaboration graph

Public Member Functions

 Timeline ()
 
void loadDefaultEvents ()
 
void loadEventsFromJson (const std::string &fileName)
 
void addEvent (std::string title, int year, int victims, std::string partOfBulgaria, std::string leader, std::string countries, std::string description, std::string username)
 
void saveEventsToJson (const std::string &fileName)
 
void editEvent (const std::string &fileName, int year)
 
void deleteEvent (const std::string &fileName, int year)
 
void displayEvents ()
 
void displayEvent ()
 
void chooseEventsToCompare (Ui &ui)
 

Constructor & Destructor Documentation

◆ Timeline()

Timeline::Timeline ( )

Member Function Documentation

◆ addEvent()

void Timeline::addEvent ( std::string title,
int year,
int victims,
std::string partOfBulgaria,
std::string leader,
std::string countries,
std::string description,
std::string username )
Here is the caller graph for this function:

◆ chooseEventsToCompare()

void Timeline::chooseEventsToCompare ( Ui & ui)
Here is the caller graph for this function:

◆ deleteEvent()

void Timeline::deleteEvent ( const std::string & fileName,
int year )

◆ displayEvent()

void Timeline::displayEvent ( )
Here is the caller graph for this function:

◆ displayEvents()

void Timeline::displayEvents ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ editEvent()

void Timeline::editEvent ( const std::string & fileName,
int year )

◆ loadDefaultEvents()

void Timeline::loadDefaultEvents ( )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ loadEventsFromJson()

void Timeline::loadEventsFromJson ( const std::string & fileName)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveEventsToJson()

void Timeline::saveEventsToJson ( const std::string & fileName)

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