Main Page   Class Hierarchy   Compound List   File List   Compound Members  

ResConfigRegistryR Class Reference

Interface for configuration reading. More...

Inheritance diagram for ResConfigRegistryR:

Inheritance graph
[legend]
Collaboration diagram for ResConfigRegistryR:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual ~ResConfigRegistryR ()
virtual bool hasKey (const String &key) const=0
virtual String readString (const String &key, const String &def="") const=0
virtual UInt32 readUInt32 (const String &key, UInt32 def=0) const
virtual Float readFloat (const String &key, Float def=0.f) const
UInt32 readEnum (const String &key, UInt32 nbEntries, UInt32 def) const
 No default to prevent accidental misuse.

bool readBool (const String &key, bool def=false) const
BaTime::Duration readTimeDuration (const String &key, BaTime::Duration def=0) const

Static Public Methods

RCShdPtr< ResConfigRegistryR > create (const String &groupName)
 Implemented in derived class' source.


Detailed Description

Interface for configuration reading.

ResConfig objects load their contents using this object, which should retrieve from the format stored by ResConfigRegistryW.

Definition at line 102 of file resConfigRegistry.h.


The documentation for this class was generated from the following files:
Generated on Fri May 2 16:51:30 2003 for Freecloth by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002