The TournamentData struct holding all tournament relevant informations.
More...
#include <tournament.h>
|
|
std::string | name_ {} |
| |
|
Date | date_ {} |
| |
|
std::string | location_ {} |
| |
The TournamentData struct holding all tournament relevant informations.
| TournamentData& TournamentRunner::TournamentData::at_location |
( |
const std::string & |
address | ) |
|
|
inline |
Set the location the tournament is held.
- Parameters
-
- Returns
- Reference to the updated tournament data
| TournamentData& TournamentRunner::TournamentData::at_location |
( |
std::string && |
address | ) |
|
|
inlinenoexcept |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
Set the tournament date.
- Parameters
-
- Returns
- Reference to the updated tournament data
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
| TournamentData& TournamentRunner::TournamentData::on_date |
( |
const std::string & |
date_as_string | ) |
|
|
inline |
Set the tournament date.
- Parameters
-
| date_as_string | Date the tournament is held as ISO 8601 extended format string (CCYY-MM-DD) |
- Returns
- Reference to the updated tournament data
| TournamentData& TournamentRunner::TournamentData::with_name |
( |
const std::string & |
name | ) |
|
|
inline |
Set the tournament name.
- Parameters
-
- Returns
- Reference to the updated tournament data
| TournamentData& TournamentRunner::TournamentData::with_name |
( |
std::string && |
name | ) |
|
|
inlinenoexcept |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
The documentation for this struct was generated from the following file: