Pol  Rev 533
Region Class Reference

#include <region.h>

+ Inheritance diagram for Region:
+ Collaboration diagram for Region:

List of all members.

Public Member Functions

BObjectImpget_region_string (const std::string &propname)
const std::string & name () const
RegionId regionid () const

Protected Member Functions

 Region (ConfigElem &elem)
virtual ~Region ()
void read_custom_config (ConfigElem &elem)

Protected Attributes

std::string name_
PropertyList proplist_
RegionId regionid_

Friends

class RegionGroupBase

Detailed Description

Definition at line 23 of file region.h.


Constructor & Destructor Documentation

Region::Region ( ConfigElem elem) [explicit, protected]

Definition at line 24 of file region.cpp.

Region::~Region ( ) [protected, virtual]

Definition at line 29 of file region.cpp.


Member Function Documentation

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

Definition at line 38 of file region.cpp.

References PropertyList::getprop(), and proplist_.

Referenced by get_region_string().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

const std::string & Region::name ( ) const [inline]

Definition at line 50 of file region.h.

References name_.

void Region::read_custom_config ( ConfigElem elem) [protected]

Definition at line 33 of file region.cpp.

References proplist_, and PropertyList::readRemainingPropertiesAsStrings().

Referenced by RegionGroupBase::create_bgnd_region(), and RegionGroupBase::read_region().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

RegionId Region::regionid ( ) const [inline]

Definition at line 55 of file region.h.

References regionid_.

Referenced by WeatherDef::assign_zones_to_region().

+ Here is the caller graph for this function:


Friends And Related Function Documentation

friend class RegionGroupBase [friend]

Definition at line 37 of file region.h.


Member Data Documentation

std::string Region::name_ [protected]

Definition at line 40 of file region.h.

Referenced by name(), and ResourceRegion::write().

Definition at line 47 of file region.h.

Referenced by get_region_string(), and read_custom_config().

Definition at line 41 of file region.h.

Referenced by regionid().


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