Pol  Revision:cb584c9
Pol::Core::Region Class Reference

#include <region.h>

+ Inheritance diagram for Pol::Core::Region:

Public Member Functions

virtual size_t estimateSize () const
 
Bscript::BObjectImpget_region_string (const std::string &propname)
 
const std::string & name () const
 
RegionId regionid () const
 

Protected Member Functions

 Region (Clib::ConfigElem &elem, RegionId id)
 
virtual ~Region ()
 
void read_custom_config (Clib::ConfigElem &elem)
 

Protected Attributes

std::string name_
 
PropertyList proplist_
 
RegionId regionid_
 

Friends

class RegionGroupBase
 

Detailed Description

Definition at line 32 of file region.h.

Constructor & Destructor Documentation

Pol::Core::Region::Region ( Clib::ConfigElem elem,
RegionId  id 
)
explicitprotected

Definition at line 31 of file region.cpp.

Pol::Core::Region::~Region ( )
protectedvirtual

Definition at line 36 of file region.cpp.

Member Function Documentation

Bscript::BObjectImp * Pol::Core::Region::get_region_string ( const std::string &  propname)

Definition at line 48 of file region.cpp.

References Pol::Core::PropertyList::getprop(), and proplist_.

Referenced by Pol::Core::get_region_string().

const std::string & Pol::Core::Region::name ( ) const
inline

Definition at line 60 of file region.h.

void Pol::Core::Region::read_custom_config ( Clib::ConfigElem elem)
protected
RegionId Pol::Core::Region::regionid ( ) const
inline

Definition at line 65 of file region.h.

Referenced by Pol::Core::WeatherDef::assign_zones_to_region().

Friends And Related Function Documentation

friend class RegionGroupBase
friend

Definition at line 47 of file region.h.

Member Data Documentation

std::string Pol::Core::Region::name_
protected

Definition at line 50 of file region.h.

Referenced by estimateSize().

PropertyList Pol::Core::Region::proplist_
protected

Definition at line 57 of file region.h.

Referenced by estimateSize(), get_region_string(), and read_custom_config().

RegionId Pol::Core::Region::regionid_
protected

Definition at line 51 of file region.h.


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