Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
atlas::records Namespace Reference

Namespaces

namespace  internal
 

Classes

class  Game
 
struct  GameData
 
struct  InvalidRecordID
 
struct  MetadataAlreadyExists
 
struct  MetadataException
 
struct  RecordAlreadyExists
 
struct  RecordException
 
class  Version
 Representation of a game version. More...
 
struct  VersionData
 
struct  VersionKey
 

Functions

Game importRecord (QString title, QString creator, QString engine)
 imports a new record and returns it. Will return an existing record if the record already exists
 
bool recordExists (QString title, QString creator, QString engine)
 
RecordID fetchRecord (QString title, QString creator, QString engine)
 
RecordID recordID (const QString &title, const QString &creator, const QString &engine)
 Returns 0 if there is not record with this data.
 
bool recordExists (const QString &title, const QString &creator, const QString &engine)
 Helper function. Returns if a title,creator,engine combo can be found.
 

Function Documentation

◆ fetchRecord()

RecordID atlas::records::fetchRecord ( QString title,
QString creator,
QString engine )
nodiscard

◆ importRecord()

Game atlas::records::importRecord ( QString title,
QString creator,
QString engine )
nodiscard

imports a new record and returns it. Will return an existing record if the record already exists

Imports a record into the database.

Exceptions
RecordAlreadyExists
Returns

◆ recordExists() [1/2]

bool atlas::records::recordExists ( const QString & title,
const QString & creator,
const QString & engine )

Helper function. Returns if a title,creator,engine combo can be found.

◆ recordExists() [2/2]

bool atlas::records::recordExists ( QString title,
QString creator,
QString engine )
nodiscard

◆ recordID()

RecordID atlas::records::recordID ( const QString & title,
const QString & creator,
const QString & engine )

Returns 0 if there is not record with this data.