|
Isis Developer Reference
|
Go to the documentation of this file. 1 #ifndef ControlNetDiff_h
2 #define ControlNetDiff_h
14 template<
typename A,
typename B >
class QMap;
15 template<
typename T >
class QSet;
72 void diff(QString name,
double v1,
double v2,
double tol,
PvlContainer &report);
QString name() const
Returns the keyword name.
Definition: PvlKeyword.h:98
PvlGroupIterator findGroup(const QString &name, PvlGroupIterator beg, PvlGroupIterator end)
Find a group with the specified name, within these indexes.
Definition: PvlObject.h:129
PvlGroup & group(const int index)
Return the group at the specified index.
Definition: PvlObject.cpp:452
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
A single keyword-value pair.
Definition: PvlKeyword.h:82
void addUniquePoint(QString label, QString v1, QString v2, PvlObject &parent)
Add a new keyword for the given point to the parent object.
Definition: ControlNetDiff.cpp:378
QString name() const
Returns the name of the file excluding the path and the attributes in the file name.
Definition: FileName.cpp:162
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...
Definition: ControlNetDiff.cpp:285
void addKeyword(const PvlKeyword &keyword, const InsertMode mode=Append)
Add a keyword to the container.
Definition: PvlContainer.cpp:202
File name manipulation and expansion.
Definition: FileName.h:100
Pvl compare(FileName &net1Name, FileName &net2Name)
Compare two Control Networks given their file names, and return their differences.
Definition: ControlNetDiff.cpp:92
void addValue(QString value, QString unit="")
Adds a value with units.
Definition: PvlKeyword.cpp:252
int groups() const
Returns the number of groups contained.
Definition: PvlObject.h:75
bool hasGroup(const QString &name) const
Returns a boolean value based on whether the object has the specified group or not.
Definition: PvlObject.h:210
void addTolerances(Pvl &diffFile)
Add the given ignore keys and tolerances to the persisent collections of such values.
Definition: ControlNetDiff.cpp:68
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
Container for cube-like labels.
Definition: Pvl.h:119
void addObject(const PvlObject &object)
Add a PvlObject.
Definition: PvlObject.h:307
PvlObject & object(const int index)
Return the object at the specified index.
Definition: PvlObject.cpp:489
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
PvlKeyword makeKeyword(QString name, QString v1, QString v2)
Create a new keyword with the given label name and the given values.
Definition: ControlNetDiff.cpp:319
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
ControlNetDiff()
Create a ControlNetDiff without any tolerances.
Definition: ControlNetDiff.cpp:33
Compares two Control Networks and reports their differences.
Definition: ControlNetDiff.h:53
QString netId() const
Returns the ID for the network.
Definition: ControlNetVersioner.cpp:114
long long int BigInt
Big int.
Definition: Constants.h:49
PvlObjectIterator findObject(const QString &name, PvlObjectIterator beg, PvlObjectIterator end)
Find the index of object with a specified name, between two indexes.
Definition: PvlObject.h:274
void compareGroups(PvlContainer &g1, PvlContainer &g2, PvlObject &report)
Compare two collections, or groupings, of PvlKeywords.
Definition: ControlNetDiff.cpp:214
QString name() const
Returns the container name.
Definition: PvlContainer.h:63
virtual ~ControlNetDiff()
Destroy the ControlNetDiff.
Definition: ControlNetDiff.cpp:52
QString targetName() const
Returns the target for the network.
Definition: ControlNetVersioner.cpp:124
int numPoints() const
Returns the number of points that have been read in or are ready to write out.
Definition: ControlNetVersioner.cpp:174
void addGroup(const Isis::PvlGroup &group)
Add a group to the object.
Definition: PvlObject.h:186
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
void addUniqueMeasure(QString label, QString v1, QString v2, PvlObject &parent)
Add a new keyword for the given measure to the parent object.
Definition: ControlNetDiff.cpp:400
Pvl toPvl()
Generates a Pvl file from the currently stored control points and header.
Definition: ControlNetVersioner.cpp:202
This is free and unencumbered software released into the public domain.
Definition: CubeIoHandler.h:22
int keywords() const
Returns the number of keywords contained in the PvlContainer.
Definition: PvlContainer.h:86
PvlKeyword & findKeyword(const QString &kname, FindOptions opts)
Finds a keyword in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within this...
Definition: PvlObject.cpp:177
PvlKeyword & findKeyword(const QString &name)
Find a keyword with a specified name.
Definition: PvlContainer.cpp:62
Contains more than one keyword-value pair.
Definition: PvlContainer.h:49
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Handle various control network file format versions.
Definition: ControlNetVersioner.h:412