Pol  Revision:cb584c9
Pol::Plib::RealmDescriptor Class Reference

#include <realmdescriptor.h>

Public Member Functions

bool operator== (const RealmDescriptor &rdesc) const
 
std::string path (const std::string &filename) const
 
size_t sizeEstimate () const
 

Static Public Member Functions

static RealmDescriptor Load (const std::string &realm_name, const std::string &realm_path="")
 

Public Attributes

std::string file_path
 
unsigned short grid_height
 
unsigned short grid_width
 
unsigned short height
 
std::string mapserver_type
 
std::string name
 
unsigned num_map_patches
 
unsigned num_static_patches
 
unsigned season
 
bool uodif
 
unsigned uomapid
 
unsigned short width
 

Private Member Functions

 RealmDescriptor (const std::string &realm_name, const std::string &realm_path, Clib::ConfigElem &elem)
 

Detailed Description

Definition at line 24 of file realmdescriptor.h.

Constructor & Destructor Documentation

Pol::Plib::RealmDescriptor::RealmDescriptor ( const std::string &  realm_name,
const std::string &  realm_path,
Clib::ConfigElem elem 
)
private

Definition at line 47 of file realmdescriptor.cpp.

Referenced by Load().

Member Function Documentation

bool Pol::Plib::RealmDescriptor::operator== ( const RealmDescriptor rdesc) const
inline

Definition at line 43 of file realmdescriptor.h.

References name, and uomapid.

size_t Pol::Plib::RealmDescriptor::sizeEstimate ( ) const

Member Data Documentation

std::string Pol::Plib::RealmDescriptor::file_path

Definition at line 30 of file realmdescriptor.h.

Referenced by path(), and sizeEstimate().

unsigned short Pol::Plib::RealmDescriptor::grid_height

Definition at line 40 of file realmdescriptor.h.

Referenced by Pol::Realms::Realm::grid_height().

unsigned short Pol::Plib::RealmDescriptor::grid_width

Definition at line 39 of file realmdescriptor.h.

Referenced by Pol::Realms::Realm::grid_width().

std::string Pol::Plib::RealmDescriptor::mapserver_type

Definition at line 38 of file realmdescriptor.h.

Referenced by Pol::Plib::MapServer::Create(), and sizeEstimate().

std::string Pol::Plib::RealmDescriptor::name

Definition at line 29 of file realmdescriptor.h.

Referenced by Pol::Realms::Realm::name(), operator==(), path(), and sizeEstimate().

unsigned Pol::Plib::RealmDescriptor::num_map_patches

Definition at line 35 of file realmdescriptor.h.

unsigned Pol::Plib::RealmDescriptor::num_static_patches

Definition at line 36 of file realmdescriptor.h.

unsigned Pol::Plib::RealmDescriptor::season

Definition at line 37 of file realmdescriptor.h.

Referenced by Pol::Realms::Realm::season().

bool Pol::Plib::RealmDescriptor::uodif
unsigned Pol::Plib::RealmDescriptor::uomapid

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