Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages | Examples

ArMapFileLineGroup Class Reference

#include <ArMapUtils.h>

List of all members.


Detailed Description

A group of map file lines which have a logical parent / child relationship.

Some of the text lines in a map file may have a parent / child relationship. For example, the text line that starts a route is the parent of the following lines that describe the contents of the route. This class is used to express this relationship. Note that there is currently no concept of a grandparent relationship in the map file lines.


Public Member Functions

 ArMapFileLineGroup (const ArMapFileLine &parentLine)
 Contructs a new group with the specified parent.
std::vector< ArMapFileLine > * getChildLines ()
 Returns a pointer to the list of child map file lines.
ArMapFileLinegetParentLine ()
 Returns a pointer to the parent map file line.
void log ()
 Writes the group to the Aria log.
 ~ArMapFileLineGroup ()
 Destructor.

Public Attributes

std::vector< ArMapFileLinemyChildLines
 A list of child map file lines.
ArMapFileLine myParentLine
 The map file line that is the parent of the group.

Friends

struct ArMapFileLineGroupCompare
bool operator< (const ArMapFileLineGroup &line1, const ArMapFileLineGroup &line2)
 Determines whether group1's parent text is less than group2's parent text.


The documentation for this class was generated from the following files:
Generated on Thu Jan 7 10:34:42 2010 for Aria by  doxygen 1.4.2