|
Pol
Rev 533
|
#include <realmdescriptor.h>
Collaboration diagram for RealmDescriptor:Public Member Functions | |
| RealmDescriptor () | |
| RealmDescriptor & | operator= (const RealmDescriptor &) |
| bool | operator== (const RealmDescriptor &rdesc) const |
| std::string | path (const std::string &filename) const |
Static Public Member Functions | |
| static RealmDescriptor | Load (const std::string &realm_name, const std::string &realm_path="") |
Public Attributes | |
| const std::string | file_path |
| const unsigned short | height |
| const std::string | mapserver_type |
| const std::string | name |
| const unsigned | num_map_patches |
| const unsigned | num_static_patches |
| const unsigned | season |
| const bool | uodif |
| const unsigned | uomapid |
| const unsigned short | width |
Private Member Functions | |
| RealmDescriptor (const std::string &realm_name, const std::string &realm_path, ConfigElem &elem) | |
Definition at line 15 of file realmdescriptor.h.
Definition at line 47 of file realmdescriptor.cpp.
Referenced by Load().
Here is the caller graph for this function:| RealmDescriptor::RealmDescriptor | ( | const std::string & | realm_name, |
| const std::string & | realm_path, | ||
| ConfigElem & | elem | ||
| ) | [private] |
Definition at line 34 of file realmdescriptor.cpp.
| RealmDescriptor RealmDescriptor::Load | ( | const std::string & | realm_name, |
| const std::string & | realm_path = "" |
||
| ) | [static] |
Definition at line 18 of file realmdescriptor.cpp.
References ConfigFile::read(), RealmDescriptor(), and ConfigElem::throw_error().
Referenced by create_maptile(), defragstatics(), mapdump(), test_walk(), write_pol_static_files(), and xmain().
Here is the call graph for this function:
Here is the caller graph for this function:| RealmDescriptor& RealmDescriptor::operator= | ( | const RealmDescriptor & | ) | [inline] |
Definition at line 38 of file realmdescriptor.h.
| bool RealmDescriptor::operator== | ( | const RealmDescriptor & | rdesc | ) | const [inline] |
Definition at line 34 of file realmdescriptor.h.
| string RealmDescriptor::path | ( | const std::string & | filename | ) | const |
Definition at line 61 of file realmdescriptor.cpp.
References file_path, and name.
Referenced by FileMapServer::FileMapServer(), InMemoryMapServer::InMemoryMapServer(), MapServer::LoadFirstLevelIndex(), MapServer::LoadSecondLevelIndex(), MapServer::LoadSolids(), and StaticServer::StaticServer().
Here is the caller graph for this function:| const std::string RealmDescriptor::file_path |
Definition at line 23 of file realmdescriptor.h.
Referenced by path().
| const unsigned short RealmDescriptor::height |
Definition at line 25 of file realmdescriptor.h.
Referenced by create_maptile(), defragstatics(), StaticServer::findstatic(), InMemoryMapServer::GetMapCell(), FileMapServer::GetMapCell(), MapServer::GetMapShapes(), StaticServer::getstatics(), Realm::height(), InMemoryMapServer::InMemoryMapServer(), MapServer::LoadFirstLevelIndex(), StaticServer::Validate(), and xmain().
| const std::string RealmDescriptor::mapserver_type |
Definition at line 31 of file realmdescriptor.h.
Referenced by MapServer::Create().
| const std::string RealmDescriptor::name |
Definition at line 22 of file realmdescriptor.h.
Referenced by Realm::name(), operator==(), and path().
| const unsigned RealmDescriptor::num_map_patches |
Definition at line 28 of file realmdescriptor.h.
Referenced by Realm::getNumMapPatches().
| const unsigned RealmDescriptor::num_static_patches |
Definition at line 29 of file realmdescriptor.h.
Referenced by Realm::getNumStaticPatches().
| const unsigned RealmDescriptor::season |
Definition at line 30 of file realmdescriptor.h.
Referenced by Realm::season().
| const bool RealmDescriptor::uodif |
Definition at line 27 of file realmdescriptor.h.
Referenced by create_maptile(), defragstatics(), and xmain().
| const unsigned RealmDescriptor::uomapid |
Definition at line 26 of file realmdescriptor.h.
Referenced by create_maptile(), defragstatics(), Realm::getUOMapID(), operator==(), and xmain().
| const unsigned short RealmDescriptor::width |
Definition at line 24 of file realmdescriptor.h.
Referenced by create_maptile(), defragstatics(), StaticServer::findstatic(), InMemoryMapServer::GetMapCell(), FileMapServer::GetMapCell(), MapServer::GetMapShapes(), MapTileServer::GetMapTile(), StaticServer::getstatics(), InMemoryMapServer::InMemoryMapServer(), MapServer::LoadFirstLevelIndex(), StaticServer::Validate(), StaticServer::ValidateBlock(), Realm::width(), and xmain().