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

#include <resource.h>

Inheritance diagram for FIFE::IResource:
Inheritance graph
Collaboration diagram for FIFE::IResource:
Collaboration graph

List of all members.

Public Member Functions

virtual const ResourceLocationgetResourceLocation ()=0
virtual void setResourceLocation (const ResourceLocation &location)=0
virtual int getPoolId ()=0
- Public Member Functions inherited from FIFE::IReferenceCounted
virtual void addRef ()=0
virtual void decRef ()=0
virtual unsigned int getRefCount ()=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: