Pol  Revision:cb584c9
Pol::Core::RegionGroup< T > Class Template Reference

#include <region.h>

+ Inheritance diagram for Pol::Core::RegionGroup< T >:

Public Member Functions

 RegionGroup (const char *name)
virtual T * getregion (xcoord x, ycoord y, Realms::Realm *realm)
virtual T * getregion (const std::string &regionname)
- Public Member Functions inherited from Pol::Core::RegionGroupBase
 RegionGroupBase (const char *name)
virtual ~RegionGroupBase ()
void create_bgnd_region (Clib::ConfigElem &elem)
virtual size_t estimateSize () const
const std::string & name () const
void read_region (Clib::ConfigElem &elem)

Protected Member Functions

virtual Regioncreate_region (Clib::ConfigElem &elem, RegionId id) const POL_OVERRIDE
- Protected Member Functions inherited from Pol::Core::RegionGroupBase
Regiongetregion_byloc (xcoord x, ycoord y, Realms::Realm *realm)
Regiongetregion_byname (const std::string &regionname)

Additional Inherited Members

- Protected Types inherited from Pol::Core::RegionGroupBase
typedef std::map< Realms::Realm *, RegionId ** > RegionRealms
- Protected Attributes inherited from Pol::Core::RegionGroupBase
RegionRealms regionrealms
std::vector< Region * > regions_

Detailed Description

template<class T>
class Pol::Core::RegionGroup< T >

Definition at line 107 of file region.h.

Constructor & Destructor Documentation

template<class T >
Pol::Core::RegionGroup< T >::RegionGroup ( const char *  name)

Definition at line 120 of file region.h.

Member Function Documentation

template<class T >
Region * Pol::Core::RegionGroup< T >::create_region ( Clib::ConfigElem elem,
RegionId  id 
) const

Implements Pol::Core::RegionGroupBase.

Definition at line 138 of file region.h.

References Pol::Core::read_region_data().

template<class T >
T * Pol::Core::RegionGroup< T >::getregion ( const std::string &  regionname)

Definition at line 132 of file region.h.

References Pol::Core::RegionGroupBase::getregion_byname().

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