Contains information about HRC Region and it attributes:
Public Member Functions | |
virtual const String * | getName () const |
Full Qualified region name (def:Text for example). | |
virtual const String * | getDescription () const |
Region description. | |
virtual const Region * | getParent () const |
Direct region ancestor (parent). | |
virtual int | getID () const |
Quick access region id (incrementable). | |
bool | hasParent (const Region *region) const |
Checks if region has the specified parent in all of it's ancestors. | |
Region (const String *_name, const String *_description, const Region *_parent, int _id) | |
Basic constructor. | |
Protected Attributes | |
String * | name |
Internal members. | |
String * | description |
const Region * | parent |
int | id |
|
Basic constructor. Used only by HRCParser. |
|
Checks if region has the specified parent in all of it's ancestors.
This method is useful to check if region has specified parent, and use this information, as region type specification. For example, |