Isis Developer Reference
ControlPointV0002.h
Go to the documentation of this file.
1 #ifndef ControlPointV0002_h
2 #define ControlPointV0002_h
3 
10 /* SPDX-License-Identifier: CC0-1.0 */
11 
12  #include <QSharedPointer>
13 
14  #include "ControlNetFileProtoV0001.pb.h"
15  #include "ControlNetLogDataProtoV0001.pb.h"
16 
17 namespace Isis {
18  class ControlPointV0001;
19  class PvlObject;
20  class PvlContainer;
21 
155  public:
156  ControlPointV0002(PvlObject &pointObject);
160 
163 
164  private:
174  ControlPointV0002(const ControlPointV0002 &other);
182  ControlPointV0002 &operator=(const ControlPointV0002 &other);
183 
184  // methods for converting from Pvl to protobuf
185  void copy(PvlContainer &container,
186  QString keyName,
188  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(bool));
189  void copy(PvlContainer &container,
190  QString keyName,
192  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(double));
193  void copy(PvlContainer &container,
194  QString keyName,
196  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(const std::string&));
197  void copy(PvlContainer &container,
198  QString keyName,
199  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
200  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(bool));
201  void copy(PvlContainer &container,
202  QString keyName,
203  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
204  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(double));
205  void copy(PvlContainer &container,
206  QString keyName,
207  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
208  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(
209  const std::string &));
210 
215  };
216 }
217 
218 #endif
Isis::PvlKeyword::name
QString name() const
Returns the keyword name.
Definition: PvlKeyword.h:98
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::PvlKeyword
A single keyword-value pair.
Definition: PvlKeyword.h:82
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::PvlContainer::hasKeyword
bool hasKeyword(const QString &name) const
Check to see if a keyword exists.
Definition: PvlContainer.cpp:159
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint >
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
Pvl.h
_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::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
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
Isis::PvlContainer::keywords
int keywords() const
Returns the number of keywords contained in the PvlContainer.
Definition: PvlContainer.h:86
ControlPointV0001.h
Isis::PvlContainer
Contains more than one keyword-value pair.
Definition: PvlContainer.h:49
Isis::ControlPointV0001
A container for the information stored in a version 1 ControlPoint.
Definition: ControlPointV0001.h:62
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