FIFE  2008.0
 All Classes Namespaces Functions Variables Enumerations Enumerator
FIFE::IResource Class Reference

#include <resource.h>

Inheritance diagram for FIFE::IResource:

List of all members.

Public Member Functions

virtual const ResourceLocationgetResourceLocation ()=0
virtual void setResourceLocation (const ResourceLocation &location)=0
virtual int getPoolId ()=0

Detailed Description

IResource is the internal representation of a loaded file. One resource is always associated with one file (resource location).

Definition at line 63 of file resource.h.


Member Function Documentation

virtual int FIFE::IResource::getPoolId ( ) [pure virtual]

returns -1 if not pooled, otherwise its a valid id

Implemented in FIFE::ResourceClass.

virtual const ResourceLocation& FIFE::IResource::getResourceLocation ( ) [pure virtual]

Get the location/file of this resource.

Implemented in FIFE::ResourceClass.

virtual void FIFE::IResource::setResourceLocation ( const ResourceLocation location) [pure virtual]

Change the location/file of this resource.

Implemented in FIFE::ResourceClass.


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