EHM DAL 0.2.3
Data abstraction layer for Eastside Hockey Manager
|
The SavedGameData class contains the individual binary sub-files comprising the saved game. More...
#include <saved_game_data.h>
Public Member Functions | |
SavedGameData () | |
Default constructor. | |
~SavedGameData () | |
Default destructor. | |
bool | read (QDataStream &in) |
Reads the saved game file from the QDataStream . | |
std::vector< std::shared_ptr< SavedGameSubFile > > | find (const QString &sub_file_name, const Qt::CaseSensitivity cs=Qt::CaseInsensitive) |
Finds all sub-files containing sub_file_name and returns all results in a vector. | |
bool | isCompressed () const |
Returns whether the saved game is compressed. | |
The SavedGameData class contains the individual binary sub-files comprising the saved game.
std::vector< std::shared_ptr< SavedGameSubFile > > ehm_dal::saved_game::SavedGameData::find | ( | const QString & | sub_file_name, |
const Qt::CaseSensitivity | cs = Qt::CaseInsensitive |
||
) |
Finds all sub-files containing sub_file_name
and returns all results in a vector.
sub_file_name | Target sub-file name |
cs | Case sensitivity |
|
inline |
Returns whether the saved game is compressed.
bool ehm_dal::saved_game::SavedGameData::read | ( | QDataStream & | in | ) |
Reads the saved game file from the QDataStream
.
in | QDataStream attached to the saved game |