Isis Developer Reference
|
A container for the information stored in a version 2 ControlPoint. More...
#include <ControlPointV0002.h>
Public Member Functions | |
ControlPointV0002 (PvlObject &pointObject) | |
Create a ControlPointV0002 object from a version 2 control point Pvl object. | |
ControlPointV0002 (QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > pointData, QSharedPointer< ControlNetLogDataProtoV0001_Point > logData) | |
Create a ControlPointV0002 object from a protobuf version 1 control point message. | |
ControlPointV0002 (ControlPointV0001 &oldPoint) | |
Create a version 2 control point from a version 1 control point. | |
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. | |
A container for the information stored in a version 2 ControlPoint.
A wrapper around the version 2 protobuf serialization of a ControlPoint. It allows for reading ControlPoints serialized as both PvlObjects and protobuf messages.
The version 1 and 2 control points use the same internal protobuf message format. Thus the "upgrade" process simply copies the shared pointer to the protobuf message.
Version 2 was the first version to have a standardized Pvl format. In the Pvl format, control points are represented by objects contained in the ControlNetwork object. Control measures are represented by groups contained in the control point objects.
Valid Control Point Keywords
Valid Control Measure Keywords
Isis::ControlPointV0002::ControlPointV0002 | ( | PvlObject & | pointObject | ) |
Create a ControlPointV0002 object from a version 2 control point Pvl object.
pointObject | The control point and its measures in a Pvl object. |
References _FILEINFO_, Isis::PvlContainer::deleteKeyword(), Isis::PvlContainer::hasKeyword(), Isis::IException::Io, Isis::PvlContainer::keywords(), Isis::PvlContainer::name(), Isis::IException::Programmer, Isis::toDouble(), and Isis::IException::User.
Isis::ControlPointV0002::ControlPointV0002 | ( | QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > | pointData, |
QSharedPointer< ControlNetLogDataProtoV0001_Point > | logData ) |
Create a ControlPointV0002 object from a protobuf version 1 control point message.
pointData | The protobuf message from a control net file. |
logData | The accompanying protobuf control measure log data for the point. |
Isis::ControlPointV0002::ControlPointV0002 | ( | ControlPointV0001 & | oldPoint | ) |
Create a version 2 control point from a version 1 control point.
The two versions internally store the same protobuf message, so all this does is copy the pointer to the internal protobuf object.
oldPoint | The old version 1 control point. |
QSharedPointer< ControlNetLogDataProtoV0001_Point > Isis::ControlPointV0002::logData | ( | ) |
Access the protobuf log data for the control measures in the point.
QSharedPointer< ControlNetFileProtoV0001_PBControlPoint > Isis::ControlPointV0002::pointData | ( | ) |
Access the protobuf control point data.