1 #ifndef ControlNetDiff_h 2 #define ControlNetDiff_h 28 template<
typename A,
typename B >
class QMap;
29 template<
typename T >
class QSet;
86 void diff(QString name,
double v1,
double v2,
double tol,
PvlContainer &report);
void addUniqueMeasure(QString label, QString v1, QString v2, PvlObject &parent)
Add a new keyword for the given measure to the parent object.
void diff(QString name, PvlObject &o1, PvlObject &o2, PvlContainer &report)
Add a new difference keyword to the given report if the PvlObjects have different values for the keyw...
void compareGroups(PvlContainer &g1, PvlContainer &g2, PvlObject &report)
Compare two collections, or groupings, of PvlKeywords.
void init()
Initialize the persistent structures used to maintain the state of this instance: its ignore keys and...
Contains more than one keyword-value pair.
File name manipulation and expansion.
Compares two Control Networks and reports their differences.
QMap< QString, double > * m_tolerances
The map of tolerances going from keyword name to tolerance value.
ControlNetDiff()
Create a ControlNetDiff without any tolerances.
A single keyword-value pair.
PvlKeyword makeKeyword(QString name, QString v1, QString v2)
Create a new keyword with the given label name and the given values.
Container for cube-like labels.
void addUniquePoint(QString label, QString v1, QString v2, PvlObject &parent)
Add a new keyword for the given point to the parent object.
Namespace for ISIS/Bullet specific routines.
virtual ~ControlNetDiff()
Destroy the ControlNetDiff.
Pvl compare(FileName &net1Name, FileName &net2Name)
Compare two Control Networks given their file names, and return their differences.
Contains Pvl Groups and Pvl Objects.
QSet< QString > * m_ignoreKeys
The set of keywords to ignore by name.
void addTolerances(Pvl &diffFile)
Add the given ignore keys and tolerances to the persisent collections of such values.