1#ifndef EXPECTEDELECTIONRESULT_H
2#define EXPECTEDELECTIONRESULT_H
5#include "star/star_base_export.h"
11#include "star/electionresult.h"
36 QList<Seat>
seats()
const;
The ElectionResult class holds the outcome of an election.
Definition electionresult.h:15
The ExpectedElectionResult::Builder class is a utility through expected election result sets can be c...
Definition expectedelectionresult.h:42
Builder & wWinner(const QString &winner)
Definition expectedelectionresult.cpp:128
Builder & wSeat(const Seat &seat)
Definition expectedelectionresult.cpp:115
Builder()
Definition expectedelectionresult.cpp:106
ExpectedElectionResult build()
Definition expectedelectionresult.cpp:136
QList< Seat > seats() const
Definition expectedelectionresult.cpp:72
bool operator==(const ElectionResult &result) const
Definition expectedelectionresult.cpp:80
bool isNull() const
Definition expectedelectionresult.cpp:37
ExpectedElectionResult()
Definition expectedelectionresult.cpp:28
qsizetype seatCount() const
Definition expectedelectionresult.cpp:65
bool sameOutcomeAs(const ElectionResult &result)
Definition expectedelectionresult.cpp:46
The Seat class contains the outcome for a specific seat in a given election.
Definition seat.h:17
The Star namespace is the main namespace through which all functionality of the STAR++ library is acc...
Definition calculator.cpp:21