Isis Developer Reference
ControlPointList.h
Go to the documentation of this file.
1 #ifndef ControlPointList_h
2 #define ControlPointList_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QStringList>
13 #include <QVector>
14 
15 #include "Pvl.h"
16 
17 namespace Isis {
18  class FileName;
19 
39  public:
40  ControlPointList(const FileName &psFileName);
41  virtual ~ControlPointList();
42 
43  QString ControlPointId(int piIndex);
44  int ControlPointIndex(const QString &psCpId);
45 
46  bool HasControlPoint(const QString &psCpId);
47 
48  int Size() const;
49 
50  void RegisterStatistics(Pvl &pcPvlLog);
51 
52  private:
53  QStringList mqCpList;
54 
57  QVector<bool> mbFound;
58  };
59 };
60 
61 #endif
FileName.h
Isis::ControlPointList::RegisterStatistics
void RegisterStatistics(Pvl &pcPvlLog)
Register invalid control point and calculate the valid & invalid point count.
Definition: ControlPointList.cpp:124
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
QList< QString >
ControlPointList.h
Isis::FileName
File name manipulation and expansion.
Definition: FileName.h:100
Isis::Pvl
Container for cube-like labels.
Definition: Pvl.h:119
Isis::ControlPointList::ControlPointId
QString ControlPointId(int piIndex)
Return a control point id given an index.
Definition: ControlPointList.cpp:88
Isis::ControlPointList
Control Point List generator.
Definition: ControlPointList.h:38
QStringList
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Isis::ControlPointList::Size
int Size() const
How many control points in the list.
Definition: ControlPointList.cpp:76
IString.h
FileList.h
Isis::FileName::expanded
QString expanded() const
Returns a QString of the full file name including the file path, excluding the attributes.
Definition: FileName.cpp:196
Pvl.h
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::IException
Isis exception class.
Definition: IException.h:91
Isis::ControlPointList::~ControlPointList
virtual ~ControlPointList()
Destructor.
Definition: ControlPointList.cpp:48
Isis::ControlPointList::HasControlPoint
bool HasControlPoint(const QString &psCpId)
Determines whether or not the requested control point id exists in the list.
Definition: ControlPointList.cpp:60
IException.h
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
Isis::ControlPointList::ControlPointIndex
int ControlPointIndex(const QString &psCpId)
return a list index given a control point id
Definition: ControlPointList.cpp:107
QVector< bool >
Isis::ControlPointList::ControlPointList
ControlPointList(const FileName &psFileName)
Creates a ControlPointList from a list of control point ids'.
Definition: ControlPointList.cpp:24
Isis::FileList
Internalizes a list of files.
Definition: FileList.h:54
Isis
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16
Isis::IException::User
@ User
A type of error that could only have occurred due to a mistake on the user's part (e....
Definition: IException.h:126