Pol  Rev 533
FileMapServer Class Reference

#include <filemapserver.h>

+ Inheritance diagram for FileMapServer:
+ Collaboration diagram for FileMapServer:

List of all members.

Public Member Functions

 FileMapServer (const RealmDescriptor &descriptor)
virtual ~FileMapServer ()
virtual MAPCELL GetMapCell (unsigned short x, unsigned short y) const

Protected Member Functions

 FileMapServer (const FileMapServer &)
FileMapServeroperator= (const FileMapServer &)

Protected Attributes

MAPBLOCK _cur_mapblock
int _cur_mapblock_index
BinaryFile _mapfile

Detailed Description

Definition at line 19 of file filemapserver.h.


Constructor & Destructor Documentation

FileMapServer::FileMapServer ( const RealmDescriptor descriptor) [explicit]

Definition at line 16 of file filemapserver.cpp.

References _cur_mapblock, _cur_mapblock_index, MapServer::_descriptor, _mapfile, BinaryFile::Open(), RealmDescriptor::path(), and BinaryFile::Read().

+ Here is the call graph for this function:

virtual FileMapServer::~FileMapServer ( ) [inline, virtual]

Definition at line 23 of file filemapserver.h.

FileMapServer::FileMapServer ( const FileMapServer ) [protected]

Member Function Documentation

MAPCELL FileMapServer::GetMapCell ( unsigned short  x,
unsigned short  y 
) const [virtual]
FileMapServer& FileMapServer::operator= ( const FileMapServer ) [protected]

Member Data Documentation

MAPBLOCK FileMapServer::_cur_mapblock [mutable, protected]

Definition at line 30 of file filemapserver.h.

Referenced by FileMapServer(), and GetMapCell().

int FileMapServer::_cur_mapblock_index [mutable, protected]

Definition at line 29 of file filemapserver.h.

Referenced by FileMapServer(), and GetMapCell().

BinaryFile FileMapServer::_mapfile [mutable, protected]

Definition at line 28 of file filemapserver.h.

Referenced by FileMapServer(), and GetMapCell().


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