Isis 3 Programmer Reference
ControlPointV0002.h
Go to the documentation of this file.
1 #ifndef ControlPointV0002_h
2 #define ControlPointV0002_h
3 
26  #include <QSharedPointer>
27 
28  #include "ControlNetFileProtoV0001.pb.h"
29  #include "ControlNetLogDataProtoV0001.pb.h"
30 
31 namespace Isis {
32  class ControlPointV0001;
33  class PvlObject;
34  class PvlContainer;
35 
169  public:
170  ControlPointV0002(PvlObject &pointObject);
174 
177 
178  private:
188  ControlPointV0002(const ControlPointV0002 &other);
197 
198  // methods for converting from Pvl to protobuf
199  void copy(PvlContainer &container,
200  QString keyName,
202  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(bool));
203  void copy(PvlContainer &container,
204  QString keyName,
206  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(double));
207  void copy(PvlContainer &container,
208  QString keyName,
210  void (ControlNetFileProtoV0001_PBControlPoint::*setter)(const std::string&));
211  void copy(PvlContainer &container,
212  QString keyName,
213  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
214  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(bool));
215  void copy(PvlContainer &container,
216  QString keyName,
217  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
218  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(double));
219  void copy(PvlContainer &container,
220  QString keyName,
221  ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure &measure,
222  void (ControlNetFileProtoV0001_PBControlPoint_PBControlMeasure::*setter)(
223  const std::string &));
224 
229  };
230 }
231 
232 #endif
Contains more than one keyword-value pair.
Definition: PvlContainer.h:63
ControlPointV0002 & operator=(const ControlPointV0002 &other)
Assignment operator.
void copy(PvlContainer &container, QString keyName, QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > point, void(ControlNetFileProtoV0001_PBControlPoint::*setter)(bool))
This convenience method takes a boolean value from a PvlKeyword and copies it into a version 1 protob...
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > pointData()
Access the protobuf control point data.
QSharedPointer< ControlNetLogDataProtoV0001_Point > logData()
Access the protobuf log data for the control measures in the point.
ControlPointV0002()
Default constructor.
A container for the information stored in a version 1 ControlPoint.
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > m_pointData
protobuf container that holds information used to create a control point.
QSharedPointer< ControlNetLogDataProtoV0001_Point > m_logData
Protobuf container that holds log data for the control measures in the point.
Namespace for ISIS/Bullet specific routines.
Definition: Apollo.h:31
Contains Pvl Groups and Pvl Objects.
Definition: PvlObject.h:74
A container for the information stored in a version 2 ControlPoint.