Isis Developer Reference
ControlPointV0003.h
Go to the documentation of this file.
1 #ifndef ControlPointV0003_h
2 #define ControlPointV0003_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12 #include <QSharedPointer>
13 
14 #include "ControlPointFileEntryV0002.pb.h"
15 
16 namespace Isis {
17  class ControlPointV0002;
18  class PvlObject;
19  class PvlContainer;
20 
161  public:
162  ControlPointV0003(PvlObject &pointObject);
165 
166  const ControlPointFileEntryV0002 &pointData();
167 
168  private:
178  ControlPointV0003(const ControlPointV0003 &other);
186  ControlPointV0003 &operator=(const ControlPointV0003 &other);
187 
188  // methods for converting from Pvl to protobuf
189  void copy(PvlContainer &container,
190  QString keyName,
192  void (ControlPointFileEntryV0002::*setter)(bool));
193  void copy(PvlContainer &container,
194  QString keyName,
196  void (ControlPointFileEntryV0002::*setter)(double));
197  void copy(PvlContainer &container,
198  QString keyName,
200  void (ControlPointFileEntryV0002::*setter)(const std::string&));
201  void copy(PvlContainer &container,
202  QString keyName,
203  ControlPointFileEntryV0002_Measure &measure,
204  void (ControlPointFileEntryV0002_Measure::*setter)(bool));
205  void copy(PvlContainer &container,
206  QString keyName,
207  ControlPointFileEntryV0002_Measure &measure,
208  void (ControlPointFileEntryV0002_Measure::*setter)(double));
209  void copy(PvlContainer &container,
210  QString keyName,
211  ControlPointFileEntryV0002_Measure &measure,
212  void (ControlPointFileEntryV0002_Measure::*setter)(const std::string &));
213 
217  };
218 }
219 
220 #endif
Isis::PvlObject::group
PvlGroup & group(const int index)
Return the group at the specified index.
Definition: PvlObject.cpp:452
Isis::IException::Io
@ Io
A type of error that occurred when performing an actual I/O operation.
Definition: IException.h:155
Isis::PvlObject
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:61
Isis::ControlPointV0003::pointData
const ControlPointFileEntryV0002 & pointData()
Access the protobuf control point data.
Definition: ControlPointV0003.cpp:561
Isis::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
Isis::ControlMeasureLogData::GetNumericalValue
double GetNumericalValue() const
Get the value associated with this log data.
Definition: ControlMeasureLogData.cpp:123
Isis::ControlPointV0002
A container for the information stored in a version 2 ControlPoint.
Definition: ControlPointV0002.h:154
Isis::PvlObject::groups
int groups() const
Returns the number of groups contained.
Definition: PvlObject.h:75
Isis::ControlMeasureLogData::GetDataType
NumericLogDataType GetDataType() const
Get the data type associated with this log data.
Definition: ControlMeasureLogData.cpp:135
Isis::PvlContainer::hasKeyword
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
QSharedPointer< ControlPointFileEntryV0002 >
Isis::toString
QString toString(bool boolToConvert)
Global function to convert a boolean to a string.
Definition: IString.cpp:211
Isis::ControlMeasureLogData::IsValid
bool IsValid() const
This tests if the log data is complete and valid.
Definition: ControlMeasureLogData.cpp:154
Isis::ControlPointV0002::pointData
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > pointData()
Access the protobuf control point data.
Definition: ControlPointV0002.cpp:353
Isis::PvlGroup
Contains multiple PvlContainers.
Definition: PvlGroup.h:41
_FILEINFO_
#define _FILEINFO_
Macro for the filename and line number.
Definition: IException.h:24
Isis::ControlPointV0002::logData
QSharedPointer< ControlNetLogDataProtoV0001_Point > logData()
Access the protobuf log data for the control measures in the point.
Definition: ControlPointV0002.cpp:364
Isis::PvlObject::hasKeyword
bool hasKeyword(const QString &kname, FindOptions opts) const
See if a keyword is in the current PvlObject, or deeper inside other PvlObjects and Pvlgroups within ...
Definition: PvlObject.cpp:236
Isis::PvlContainer::name
QString name() const
Returns the container name.
Definition: PvlContainer.h:63
Isis::ControlPointV0003
A container for the information stored in a version 3 and 4 ControlPoint.
Definition: ControlPointV0003.h:160
Isis::IException
Isis exception class.
Definition: IException.h:91
PvlContainer.h
Isis::PvlContainer::deleteKeyword
void deleteKeyword(const QString &name)
Remove a specified keyword.
Definition: PvlContainer.cpp:97
ControlPointV0003.h
IException.h
Isis::toDouble
double toDouble(const QString &string)
Global function to convert from a string to a double.
Definition: IString.cpp:149
Isis::IException::Programmer
@ Programmer
This error is for when a programmer made an API call that was illegal.
Definition: IException.h:146
std
Namespace for the standard library.
ControlPointV0002.h
PvlObject.h
Isis::PvlContainer::keywords
int keywords() const
Returns the number of keywords contained in the PvlContainer.
Definition: PvlContainer.h:86
Isis::PvlContainer
Contains more than one keyword-value pair.
Definition: PvlContainer.h:49
ControlMeasureLogData.h
Isis::ControlMeasureLogData
Statistical and similar ControlMeasure associated information.
Definition: ControlMeasureLogData.h:37
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
Isis::None
@ None
Definition: PixelType.h:28