Pol  Rev 533
RealmDescriptor Class Reference

#include <realmdescriptor.h>

+ Collaboration diagram for RealmDescriptor:

List of all members.

Public Member Functions

 RealmDescriptor ()
RealmDescriptoroperator= (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)

Detailed Description

Definition at line 15 of file realmdescriptor.h.


Constructor & Destructor Documentation

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.


Member Function Documentation

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.

References name, and uomapid.

string RealmDescriptor::path ( const std::string &  filename) const

Member Data Documentation

const std::string RealmDescriptor::file_path

Definition at line 23 of file realmdescriptor.h.

Referenced by path().

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().

Definition at line 28 of file realmdescriptor.h.

Referenced by Realm::getNumMapPatches().

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().

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().


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