Isis 3 Programmer Reference
ControlPointV0003.h
Go to the documentation of this file.
1 #ifndef ControlPointV0003_h
2 #define ControlPointV0003_h
3 
26 #include <QSharedPointer>
27 
28 #include "ControlPointFileEntryV0002.pb.h"
29 
30 namespace Isis {
31  class ControlPointV0002;
32  class PvlObject;
33  class PvlContainer;
34 
175  public:
176  ControlPointV0003(PvlObject &pointObject);
179 
180  const ControlPointFileEntryV0002 &pointData();
181 
182  private:
192  ControlPointV0003(const ControlPointV0003 &other);
201 
202  // methods for converting from Pvl to protobuf
203  void copy(PvlContainer &container,
204  QString keyName,
206  void (ControlPointFileEntryV0002::*setter)(bool));
207  void copy(PvlContainer &container,
208  QString keyName,
210  void (ControlPointFileEntryV0002::*setter)(double));
211  void copy(PvlContainer &container,
212  QString keyName,
214  void (ControlPointFileEntryV0002::*setter)(const std::string&));
215  void copy(PvlContainer &container,
216  QString keyName,
217  ControlPointFileEntryV0002_Measure &measure,
218  void (ControlPointFileEntryV0002_Measure::*setter)(bool));
219  void copy(PvlContainer &container,
220  QString keyName,
221  ControlPointFileEntryV0002_Measure &measure,
222  void (ControlPointFileEntryV0002_Measure::*setter)(double));
223  void copy(PvlContainer &container,
224  QString keyName,
225  ControlPointFileEntryV0002_Measure &measure,
226  void (ControlPointFileEntryV0002_Measure::*setter)(const std::string &));
227 
231  };
232 }
233 
234 #endif
void copy(PvlContainer &container, QString keyName, QSharedPointer< ControlPointFileEntryV0002 > point, void(ControlPointFileEntryV0002::*setter)(bool))
This convenience method takes a boolean value from a PvlKeyword and copies it into a version 2 protob...
Contains more than one keyword-value pair.
Definition: PvlContainer.h:63
ControlPointV0003 & operator=(const ControlPointV0003 &other)
Assignment operator.
QSharedPointer< ControlPointFileEntryV0002 > m_pointData
protobuf container that holds information used to create a control point.
A container for the information stored in a version 3 and 4 ControlPoint.
ControlPointV0003()
Default constructor.
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.
const ControlPointFileEntryV0002 & pointData()
Access the protobuf control point data.