#include <ArMapUtils.h>
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. | |
ArMapFileLine & | operator= (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. |
|
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. |