46 const std::vector<ChangelogEntry>&
getChanges()
const;
Header for the ChangeLogEntry class.
std::time_t getDate() const
Getter for the publishing date of the version.
Definition versionchangelog.cpp:22
std::string getVersion() const
Getter for the version string.
Definition versionchangelog.cpp:17
std::string getTitle() const
Getter for the version title.
Definition versionchangelog.cpp:27
std::string version_
Version number of this changelog.
Definition versionchangelog.h:61
VersionChangelog()=default
Default constructor.
std::time_t date_
Publishing date for this version.
Definition versionchangelog.h:63
std::string versionAndDateString() const
Constructs a string from the version and the date timestamp.
Definition versionchangelog.cpp:37
std::string title_
Title for this version.
Definition versionchangelog.h:65
bool operator<(const VersionChangelog &other) const
Compares publishing time of this with other.
Definition versionchangelog.cpp:44
const std::vector< ChangelogEntry > & getChanges() const
Getter for the changes made in this version.
Definition versionchangelog.cpp:32
std::vector< ChangelogEntry > changes_
Contains all changes made in this version.
Definition versionchangelog.h:67