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

SimpleResourceFile Class Reference

#include <resources.h>

Inheritance diagram for SimpleResourceFile:

List of all members.


Detailed Description

Simple resource file wrapper. Used at boot time when ResourcesCollection is not available yet.

Definition at line 131 of file resources.h.


Public Types

typedef std::list< DirectoryEntryDirectory
 List of directory entries.

Public Member Functions

void getDirectory (Directory &directory)
const std::wstring & getFileName () const
 Get the name of resource file.
int getPriority () const
 Get priority of this resource file.
std::ifstream & getStream ()
 Get file stream.
void * load (long offset, long packedSize, long unpackedSize, int level)
void load (char *buf, long offset, long packedSize, long unpackedSize, int level)
virtual void load (const std::wstring &name, Buffer &buffer)
virtual void * load (const std::wstring &name, int &size)
 SimpleResourceFile (const std::wstring &fileName, Buffer *buffer=NULL)
 Directory map.

Private Types

typedef std::map< std::wstring,
DirectoryEntry
DirectoryMap

Private Attributes

DirectoryMap directory

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

Generated by  Doxygen 1.6.0   Back to index