11 #include "utils/IArchivable.h" 12 #include "utils/ISerializable.h" 13 #include "utils/ISortable.h" 34 bool operator!=(
const CGameInfoTag& tag)
const {
return !(*
this == tag); }
36 bool IsLoaded()
const {
return m_bLoaded; }
37 void SetLoaded(
bool bOnOff =
true) { m_bLoaded = bOnOff; }
40 const std::string& GetURL()
const {
return m_strURL; }
41 void SetURL(
const std::string& strURL) { m_strURL = strURL; }
44 const std::string& GetTitle()
const {
return m_strTitle; }
45 void SetTitle(
const std::string& strTitle) { m_strTitle = strTitle; }
48 const std::string& GetPlatform()
const {
return m_strPlatform; }
49 void SetPlatform(
const std::string& strPlatform) { m_strPlatform = strPlatform; }
52 const std::vector<std::string>& GetGenres()
const {
return m_genres; }
53 void SetGenres(
const std::vector<std::string>& genres) { m_genres = genres; }
56 const std::string& GetDeveloper()
const {
return m_strDeveloper; }
57 void SetDeveloper(
const std::string& strDeveloper) { m_strDeveloper = strDeveloper; }
60 const std::string& GetOverview()
const {
return m_strOverview; }
61 void SetOverview(
const std::string& strOverview) { m_strOverview = strOverview; }
64 unsigned int GetYear()
const {
return m_year; }
65 void SetYear(
unsigned int year) { m_year = year; }
68 const std::string& GetID()
const {
return m_strID; }
69 void SetID(
const std::string& strID) { m_strID = strID; }
72 const std::string& GetRegion()
const {
return m_strRegion; }
73 void SetRegion(
const std::string& strRegion) { m_strRegion = strRegion; }
76 const std::string& GetPublisher()
const {
return m_strPublisher; }
77 void SetPublisher(
const std::string& strPublisher) { m_strPublisher = strPublisher; }
80 const std::string& GetFormat()
const {
return m_strFormat; }
81 void SetFormat(
const std::string& strFormat) { m_strFormat = strFormat; }
84 const std::string& GetCartridgeType()
const {
return m_strCartridgeType; }
85 void SetCartridgeType(
const std::string& strCartridgeType)
87 m_strCartridgeType = strCartridgeType;
91 const std::string& GetGameClient()
const {
return m_strGameClient; }
92 void SetGameClient(
const std::string& strGameClient) { m_strGameClient = strGameClient; }
95 const std::string& GetCaption()
const {
return m_strCaption; }
96 void SetCaption(
const std::string& strCaption) { m_strCaption = strCaption; }
99 void Serialize(
CVariant& value)
const override;
100 void ToSortable(SortItem& sortable, Field field)
const override;
104 std::string m_strURL;
105 std::string m_strTitle;
106 std::string m_strPlatform;
107 std::vector<std::string> m_genres;
108 std::string m_strDeveloper;
109 std::string m_strOverview;
112 std::string m_strRegion;
113 std::string m_strPublisher;
114 std::string m_strFormat;
115 std::string m_strCartridgeType;
116 std::string m_strGameClient;
117 std::string m_strCaption;
Definition: GameInfoTag.h:24
Definition: ISerializable.h:13
Definition: AudioDecoder.h:18
Definition: ISortable.h:15
Definition: IArchivable.h:13