#include <ArMapUtils.h>
ArMapFileLineSet is a container of ArMapFileLineGroup objects -- i.e. a set of parent/child text lines in an Aria map. The class has been defined to enable comparisons of map file versions. Each section of an Aria map is written to an ArMapFileLineSet and then the standard algorithm set_difference can be used to determine changes within a section. The static method ArMapFileLineSet::calculateChanges() performs this comparison.
Java and Python Wrappers: Not available in Java or Python wrapper libraries.
Public Member Functions | |
ArMapFileLineSet (const ArMapFileLineSet &other) | |
Copy constructor. | |
ArMapFileLineSet () | |
Constructor. | |
iterator | find (const ArMapFileLine &groupParent) |
Searches the set for the given parent line. | |
void | log (const char *prefix) |
Writes the set to the Aria output log. | |
ArMapFileLineSet & | operator= (const ArMapFileLineSet &other) |
Assignment operator. | |
~ArMapFileLineSet () | |
Destructor. | |
Static Public Member Functions | |
static bool | calculateChanges (ArMapFileLineSet &origLines, ArMapFileLineSet &newLines, ArMapFileLineSet *deletedLinesOut, ArMapFileLineSet *addedLinesOut, bool isCheckChildren=true) |
Determines the changes that have been made to a set of ArMapFileLines. |
|
Determines the changes that have been made to a set of ArMapFileLines.
|