Logo Search packages:      
Sourcecode: scummvm version File versions  Download package

GameDescriptor Class Reference

#include <game.h>

Inheritance diagram for GameDescriptor:

Common::HashMap< String, String, IgnoreCase_Hash, IgnoreCase_EqualTo >

List of all members.

Detailed Description

A hashmap describing details about a given game. In a sense this is a refined version of PlainGameDescriptor, as it also contains a gameid and a description string. But in addition, platform and language settings, as well as arbitrary other settings, can be contained in a GameDescriptor. This is an essential part of the glue between the game engines and the launcher code.

Definition at line 74 of file game.h.

Public Types

typedef IteratorImpl< const Node > const_iterator
typedef IteratorImpl< Node > iterator

Public Member Functions

const_iterator begin () const
iterator begin ()
void clear (bool shrinkArray=0)
bool contains (const String &key) const
const Common::Stringdescription () const
Common::Stringdescription ()
bool empty () const
const_iterator end () const
iterator end ()
void erase (const String &key)
const_iterator find (const String &key) const
iterator find (const String &key)
 GameDescriptor (const Common::String &gameid, const Common::String &description, Common::Language language=Common::UNK_LANG, Common::Platform platform=Common::kPlatformUnknown, uint32 guioptions=0)
 GameDescriptor (const PlainGameDescriptorGUIOpts &pgd)
 GameDescriptor (const PlainGameDescriptor &pgd)
const Common::Stringgameid () const
Common::Stringgameid ()
const String & getVal (const String &key) const
String & getVal (const String &key)
Common::Language language () const
const String & operator[] (const String &key) const
String & operator[] (const String &key)
Common::Platform platform () const
const Common::Stringpreferredtarget () const
void setGUIOptions (uint32 options)
void setVal (const String &key, const String &val)
uint size () const
void updateDesc (const char *extra=0)

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index