CrystalSpace

Public API Reference

Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

csEngineConfig Struct Reference

Object which implements iConfig interface on behalf of csEngine. More...

#include <engine.h>

Inheritance diagram for csEngineConfig:

iConfig iBase List of all members.

Public Methods

virtual bool GetOptionDescription (int idx, csOptionDescription *option)
 Get option description; return FALSE if there is no such option. More...

virtual bool SetOption (int id, csVariant *value)
 Set option. More...

virtual bool GetOption (int id, csVariant *value)
 Get option. More...


Detailed Description

Object which implements iConfig interface on behalf of csEngine.

This class is used as an embedded SCF object within csEngine. Typically, this class would be declared as an inner class of csEngine, but the NextStep compiler was unable to grok that usage after csObject (from which csEngine inherits) was changed so that it inherits from iObject. Somehow, the compiler was getting confused by the QueryInterface(), IncRef(), and DecRef() methods declared here as well as in iEngine and csObject (both of which csEngine inherits from). Making csEngineConfig stand-alone works around the problem.

Definition at line 196 of file csengine/engine.h.


Member Function Documentation

virtual bool csEngineConfig::GetOption int    id,
csVariant   value
[virtual]
 

Get option.

Implements iConfig.

virtual bool csEngineConfig::GetOptionDescription int    idx,
csOptionDescription   option
[virtual]
 

Get option description; return FALSE if there is no such option.

Implements iConfig.

virtual bool csEngineConfig::SetOption int    id,
csVariant   value
[virtual]
 

Set option.

Implements iConfig.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.14