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

ArMapFileLine Class Reference

#include <ArMapUtils.h>

List of all members.


Detailed Description

Encapsulates the data regarding a text line in a map file.

ArMapFileLine is the building block for map change comparisons. It is simply the line number and associated text.


Public Member Functions

 ArMapFileLine (const ArMapFileLine &other)
 Copy constructor.
 ArMapFileLine (int lineNum, const char *lineText)
 Constructor which sets the line number and text.
 ArMapFileLine ()
 Default constructor.
int getLineNum () const
 Returns the line number of the map file line.
const char * getLineText () const
 Returns the text of the map file line.
ArMapFileLineoperator= (const ArMapFileLine &other)
 Assignment operator.
 ~ArMapFileLine ()
 Destructor.

Protected Attributes

int myLineNum
 Line number.
std::string myLineText
 Line text.

Friends

struct ArMapFileLineCompare
bool operator< (const ArMapFileLine &line1, const ArMapFileLine &line2)
 Determines whether the first ArMapFileLine is less than the second.


Friends And Related Function Documentation

bool operator< const ArMapFileLine line1,
const ArMapFileLine line2
[friend]
 

Determines whether the first ArMapFileLine is less than the second.

Line1 is less than Line2 if its line number is less than that of Line2. If the two line nubmers are equal, then Line1 is less than Line2 if its text is less.


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