34 #ifndef CalFocusRow_CLASS
35 #define CalFocusRow_CLASS
175 class CalReductionRow;
587 std::vector<std::vector<Length > >
getOffset()
const;
707 std::vector<std::vector<Length > >
getPosition()
const;
1438 Tag getCalDataId()
const;
1571 bool compareNoAutoInc(std::string
antennaName, ReceiverBandMod::ReceiverBand
receiverBand,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime,
Temperature ambientTemperature, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection, FocusMethodMod::FocusMethod
focusMethod, std::vector<Frequency >
frequencyRange, std::vector<Angle >
pointingDirection,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<bool >
wereFixed, std::vector<std::vector<Length > >
offset, std::vector<std::vector<Length > >
offsetError, std::vector<std::vector<bool > >
offsetWasTied, std::vector<std::vector<double > >
reducedChiSquared, std::vector<std::vector<Length > >
position);
1611 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime,
Temperature ambientTemperature, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection, FocusMethodMod::FocusMethod
focusMethod, std::vector<Frequency >
frequencyRange, std::vector<Angle >
pointingDirection,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<bool >
wereFixed, std::vector<std::vector<Length > >
offset, std::vector<std::vector<Length > >
offsetError, std::vector<std::vector<bool > >
offsetWasTied, std::vector<std::vector<double > >
reducedChiSquared, std::vector<std::vector<Length > >
position);
1629 asdmIDL::CalFocusRowIDL *
toIDL()
const;
1638 void toIDL(asdmIDL::CalFocusRowIDL& x)
const;
1647 void setFromIDL (asdmIDL::CalFocusRowIDL x) ;
1654 std::string
toXML()
const;
1724 void fromText(
const std::string& attributeName,
const std::string& t);
std::vector< std::vector< Length > > offset
===> Attribute offset
void peakIntensityErrorFromBin(EndianIStream &eis)
bool equalByRequiredValue(CalFocusRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void atmPhaseCorrectionFromBin(EndianIStream &eis)
std::vector< std::vector< Length > > illumOffsetError
void ambientTemperatureFromBin(EndianIStream &eis)
void setReducedChiSquared(std::vector< std::vector< double > > reducedChiSquared)
Set reducedChiSquared with the specified std::vector<std::vector<double > >.
void pointingDirectionFromText(const std::string &s)
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
void offIntensityFromBin(EndianIStream &eis)
bool focusCurveWidthErrorExists
===> Attribute focusCurveWidthError, which is optional
std::vector< bool > wereFixed
===> Attribute wereFixed
void offsetFromBin(EndianIStream &eis)
bool isAstigmMultExists() const
===> Attribute astigmMult, which is optional
bool focusCurveWasFixedExists
===> Attribute focusCurveWasFixed, which is optional
void peakIntensityFromText(const std::string &s)
bool focusCurveWidthExists
===> Attribute focusCurveWidth, which is optional
void positionFromText(const std::string &s)
bool illumOffsetErrorExists
===> Attribute illumOffsetError, which is optional
void startValidTimeFromText(const std::string &s)
std::vector< std::vector< bool > > getOffsetWasTied() const
===> Attribute offsetWasTied
bool isOffIntensityErrorExists() const
===> Attribute offIntensityError, which is optional
The CalFocusTable class is an Alma table.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
bool isOffIntensityExists() const
===> Attribute offIntensity, which is optional
asdmIDL::CalFocusRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void offIntensityErrorFromText(const std::string &s)
void setFocusCurveWasFixed(std::vector< bool > focusCurveWasFixed)
Set focusCurveWasFixed with the specified std::vector<bool >.
std::vector< Length > astigmPlusError
void offIntensityWasFixedFromText(const std::string &s)
void frequencyRangeFromText(const std::string &s)
void calReductionIdFromText(const std::string &s)
void astigmMultFromText(const std::string &s)
std::vector< std::vector< double > > getReducedChiSquared() const
===> Attribute reducedChiSquared
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void(CalFocusRow::* CalFocusAttributeFromText)(const std::string &s)
FocusMethodMod::FocusMethod getFocusMethod() const
===> Attribute focusMethod
std::vector< Length > getAstigmMultError() const
Get astigmMultError, which is optional.
void peakIntensityErrorFromText(const std::string &s)
std::vector< Length > getAstigmPlusError() const
Get astigmPlusError, which is optional.
void setOffIntensity(std::vector< Temperature > offIntensity)
Set offIntensity with the specified std::vector<Temperature >.
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
std::vector< std::vector< Length > > getPosition() const
===> Attribute position
void setOffIntensityWasFixed(bool offIntensityWasFixed)
Set offIntensityWasFixed with the specified bool.
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
void clearOffIntensity()
Mark offIntensity, which is an optional field, as non-existent.
void setFromIDL(asdmIDL::CalFocusRowIDL x)
Fill the values of this row from the IDL struct CalFocusRowIDL.
void astigmMultFromBin(EndianIStream &eis)
void clearPolarizationsAveraged()
Mark polarizationsAveraged, which is an optional field, as non-existent.
void setPeakIntensityError(std::vector< Temperature > peakIntensityError)
Set peakIntensityError with the specified std::vector<Temperature >.
void focusCurveWidthFromBin(EndianIStream &eis)
void clearFocusCurveWidthError()
Mark focusCurveWidthError, which is an optional field, as non-existent.
void endValidTimeFromText(const std::string &s)
void illumOffsetFromBin(EndianIStream &eis)
std::vector< Temperature > peakIntensity
void setPolarizationsAveraged(bool polarizationsAveraged)
Set polarizationsAveraged with the specified bool.
void offsetWasTiedFromBin(EndianIStream &eis)
std::vector< std::vector< double > > reducedChiSquared
===> Attribute reducedChiSquared
bool getPolarizationsAveraged() const
Get polarizationsAveraged, which is optional.
ArrayTime endValidTime
===> Attribute endValidTime
bool isOffIntensityWasFixedExists() const
===> Attribute offIntensityWasFixed, which is optional
int numReceptor
===> Attribute numReceptor
void offsetErrorFromBin(EndianIStream &eis)
int getNumReceptor() const
===> Attribute numReceptor
std::vector< Temperature > getPeakIntensity() const
Get peakIntensity, which is optional.
void calDataIdFromBin(EndianIStream &eis)
std::vector< std::vector< Length > > getIllumOffsetError() const
Get illumOffsetError, which is optional.
std::vector< std::vector< bool > > offsetWasTied
===> Attribute offsetWasTied
void setFocusMethod(FocusMethodMod::FocusMethod focusMethod)
Set focusMethod with the specified FocusMethodMod::FocusMethod.
std::vector< Length > fitRMS
void illumOffsetErrorFromText(const std::string &s)
bool peakIntensityWasFixedExists
===> Attribute peakIntensityWasFixed, which is optional
void peakIntensityFromBin(EndianIStream &eis)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void polarizationsAveragedFromText(const std::string &s)
std::vector< Temperature > offIntensity
std::vector< std::vector< Length > > getOffset() const
===> Attribute offset
void calDataIdFromText(const std::string &s)
void setIllumOffset(std::vector< std::vector< Length > > illumOffset)
Set illumOffset with the specified std::vector<std::vector<Length > >.
void receiverBandFromText(const std::string &s)
void clearFocusCurveWasFixed()
Mark focusCurveWasFixed, which is an optional field, as non-existent.
void clearAstigmMult()
Mark astigmMult, which is an optional field, as non-existent.
void pointingDirectionFromBin(EndianIStream &eis)
std::vector< std::vector< Length > > illumOffset
void setFitRMS(std::vector< Length > fitRMS)
Set fitRMS with the specified std::vector<Length >.
The CalFocusRow class is a row of a CalFocusTable.
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
void clearPeakIntensityError()
Mark peakIntensityError, which is an optional field, as non-existent.
void wereFixedFromBin(EndianIStream &eis)
void receiverBandFromBin(EndianIStream &eis)
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
bool offIntensityWasFixed
void numReceptorFromBin(EndianIStream &eis)
std::vector< Length > getAstigmMult() const
Get astigmMult, which is optional.
FocusMethodMod::FocusMethod focusMethod
===> Attribute focusMethod
std::vector< std::vector< Length > > focusCurveWidthError
std::string antennaName
===> Attribute antennaName
The Temperature class implements a quantity of temperature in degrees Kelvin.
void setAstigmPlus(std::vector< Length > astigmPlus)
Set astigmPlus with the specified std::vector<Length >.
bool peakIntensityExists
===> Attribute peakIntensity, which is optional
void clearIllumOffsetError()
Mark illumOffsetError, which is an optional field, as non-existent.
void astigmMultErrorFromBin(EndianIStream &eis)
ArrayTime getEndValidTime() const
===> Attribute endValidTime
void clearFitRMS()
Mark fitRMS, which is an optional field, as non-existent.
CalFocusTable & table
The table to which this row belongs.
std::vector< Length > getFitRMS() const
Get fitRMS, which is optional.
void calReductionIdFromBin(EndianIStream &eis)
void clearIllumOffset()
Mark illumOffset, which is an optional field, as non-existent.
std::vector< std::vector< Length > > offsetError
===> Attribute offsetError
void astigmPlusFromText(const std::string &s)
void antennaNameFromText(const std::string &s)
bool isPeakIntensityWasFixedExists() const
===> Attribute peakIntensityWasFixed, which is optional
void polarizationTypesFromText(const std::string &s)
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, FocusMethodMod::FocusMethod focusMethod, std::vector< Frequency > frequencyRange, std::vector< Angle > pointingDirection, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< bool > wereFixed, std::vector< std::vector< Length > > offset, std::vector< std::vector< Length > > offsetError, std::vector< std::vector< bool > > offsetWasTied, std::vector< std::vector< double > > reducedChiSquared, std::vector< std::vector< Length > > position)
Compare each mandatory value (i.e.
Tag calReductionId
===> Attribute calReductionId
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
std::vector< Length > astigmMultError
bool astigmMultExists
===> Attribute astigmMult, which is optional
std::vector< Angle > getPointingDirection() const
===> Attribute pointingDirection
bool illumOffsetExists
===> Attribute illumOffset, which is optional
bool astigmMultErrorExists
===> Attribute astigmMultError, which is optional
bool astigmPlusErrorExists
===> Attribute astigmPlusError, which is optional
void(CalFocusRow::* CalFocusAttributeFromBin)(EndianIStream &eis)
void startValidTimeFromBin(EndianIStream &eis)
void ambientTemperatureFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
bool getOffIntensityWasFixed() const
Get offIntensityWasFixed, which is optional.
bool isPolarizationsAveragedExists() const
===> Attribute polarizationsAveraged, which is optional
*text deserialization material std::map< std::string, CalFocusAttributeFromText > fromTextMethods
bool peakIntensityWasFixed
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void illumOffsetFromText(const std::string &s)
void offIntensityErrorFromBin(EndianIStream &eis)
std::vector< Length > astigmPlus
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void focusCurveWasFixedFromText(const std::string &s)
void numReceptorFromText(const std::string &s)
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
void setPosition(std::vector< std::vector< Length > > position)
Set position with the specified std::vector<std::vector<Length > >.
void focusCurveWasFixedFromBin(EndianIStream &eis)
void frequencyRangeFromBin(EndianIStream &eis)
void clearPeakIntensity()
Mark peakIntensity, which is an optional field, as non-existent.
void setOffset(std::vector< std::vector< Length > > offset)
Set offset with the specified std::vector<std::vector<Length > >.
std::vector< Angle > pointingDirection
===> Attribute pointingDirection
void setPointingDirection(std::vector< Angle > pointingDirection)
Set pointingDirection with the specified std::vector<Angle >.
void setPeakIntensity(std::vector< Temperature > peakIntensity)
Set peakIntensity with the specified std::vector<Temperature >.
void setAstigmPlusError(std::vector< Length > astigmPlusError)
Set astigmPlusError with the specified std::vector<Length >.
void clearPeakIntensityWasFixed()
Mark peakIntensityWasFixed, which is an optional field, as non-existent.
bool isFocusCurveWidthErrorExists() const
===> Attribute focusCurveWidthError, which is optional
bool isFocusCurveWidthExists() const
===> Attribute focusCurveWidth, which is optional
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
bool polarizationsAveraged
void astigmMultErrorFromText(const std::string &s)
void peakIntensityWasFixedFromText(const std::string &s)
std::vector< bool > focusCurveWasFixed
virtual ~CalFocusRow()
friend class asdm::TableStreamReader<CalFocusTable, CalFocusRow>;
void offsetErrorFromText(const std::string &s)
void offIntensityWasFixedFromBin(EndianIStream &eis)
bool isPeakIntensityExists() const
===> Attribute peakIntensity, which is optional
void positionFromBin(EndianIStream &eis)
bool polarizationsAveragedExists
===> Attribute polarizationsAveraged, which is optional
void offsetWasTiedFromText(const std::string &s)
bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, FocusMethodMod::FocusMethod focusMethod, std::vector< Frequency > frequencyRange, std::vector< Angle > pointingDirection, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< bool > wereFixed, std::vector< std::vector< Length > > offset, std::vector< std::vector< Length > > offsetError, std::vector< std::vector< bool > > offsetWasTied, std::vector< std::vector< double > > reducedChiSquared, std::vector< std::vector< Length > > position)
Compare each mandatory attribute except the autoincrementable one of this CalFocusRow with the corres...
std::string toXML() const
Return this row in the form of an XML string.
std::vector< Length > getAstigmPlus() const
Get astigmPlus, which is optional.
void clearFocusCurveWidth()
Mark focusCurveWidth, which is an optional field, as non-existent.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void clearAstigmPlus()
Mark astigmPlus, which is an optional field, as non-existent.
std::vector< std::vector< Length > > getFocusCurveWidthError() const
Get focusCurveWidthError, which is optional.
bool offIntensityWasFixedExists
===> Attribute offIntensityWasFixed, which is optional
std::vector< std::vector< Length > > getIllumOffset() const
Get illumOffset, which is optional.
void reducedChiSquaredFromText(const std::string &s)
bool getPeakIntensityWasFixed() const
Get peakIntensityWasFixed, which is optional.
void offsetFromText(const std::string &s)
bool isAstigmPlusErrorExists() const
===> Attribute astigmPlusError, which is optional
void illumOffsetErrorFromBin(EndianIStream &eis)
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===> Attribute atmPhaseCorrection
bool hasBeenAdded
Whether this row has been added to the table or not.
void polarizationsAveragedFromBin(EndianIStream &eis)
CalFocusTable & getTable() const
Return the table to which this row belongs.
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
bool astigmPlusExists
===> Attribute astigmPlus, which is optional
void clearAstigmPlusError()
Mark astigmPlusError, which is an optional field, as non-existent.
void setFocusCurveWidthError(std::vector< std::vector< Length > > focusCurveWidthError)
Set focusCurveWidthError with the specified std::vector<std::vector<Length > >.
std::vector< Length > astigmMult
void focusMethodFromBin(EndianIStream &eis)
Tag getCalReductionId() const
===> Attribute calReductionId
void clearOffIntensityWasFixed()
Mark offIntensityWasFixed, which is an optional field, as non-existent.
std::vector< std::vector< Length > > focusCurveWidth
bool offIntensityExists
===> Attribute offIntensity, which is optional
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
std::vector< Temperature > getOffIntensityError() const
Get offIntensityError, which is optional.
void focusMethodFromText(const std::string &s)
std::vector< Temperature > getPeakIntensityError() const
Get peakIntensityError, which is optional.
void peakIntensityWasFixedFromBin(EndianIStream &eis)
std::vector< std::vector< Length > > getFocusCurveWidth() const
Get focusCurveWidth, which is optional.
std::vector< bool > getFocusCurveWasFixed() const
Get focusCurveWasFixed, which is optional.
std::vector< Temperature > offIntensityError
bool isFocusCurveWasFixedExists() const
===> Attribute focusCurveWasFixed, which is optional
void focusCurveWidthFromText(const std::string &s)
std::vector< Temperature > peakIntensityError
void atmPhaseCorrectionFromText(const std::string &s)
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
Temperature getAmbientTemperature() const
===> Attribute ambientTemperature
void clearOffIntensityError()
Mark offIntensityError, which is an optional field, as non-existent.
void focusCurveWidthErrorFromText(const std::string &s)
void fitRMSFromBin(EndianIStream &eis)
void setOffsetWasTied(std::vector< std::vector< bool > > offsetWasTied)
Set offsetWasTied with the specified std::vector<std::vector<bool > >.
bool isIllumOffsetExists() const
===> Attribute illumOffset, which is optional
std::string getAntennaName() const
===> Attribute antennaName
bool isIllumOffsetErrorExists() const
===> Attribute illumOffsetError, which is optional
The CalDataRow class is a row of a CalDataTable.
CalFocusRow(CalFocusTable &table)
Create a CalFocusRow.
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
void endValidTimeFromBin(EndianIStream &eis)
void focusCurveWidthErrorFromBin(EndianIStream &eis)
void setAstigmMult(std::vector< Length > astigmMult)
Set astigmMult with the specified std::vector<Length >.
std::vector< std::vector< Length > > position
===> Attribute position
void offIntensityFromText(const std::string &s)
bool isAstigmPlusExists() const
===> Attribute astigmPlus, which is optional
void setFocusCurveWidth(std::vector< std::vector< Length > > focusCurveWidth)
Set focusCurveWidth with the specified std::vector<std::vector<Length > >.
void setIllumOffsetError(std::vector< std::vector< Length > > illumOffsetError)
Set illumOffsetError with the specified std::vector<std::vector<Length > >.
Links *binary deserialization material from an EndianIStream std::map< std::string, CalFocusAttributeFromBin > fromBinMethods
bool offIntensityErrorExists
===> Attribute offIntensityError, which is optional
void setWereFixed(std::vector< bool > wereFixed)
Set wereFixed with the specified std::vector<bool >.
bool peakIntensityErrorExists
===> Attribute peakIntensityError, which is optional
std::vector< std::vector< Length > > getOffsetError() const
===> Attribute offsetError
Temperature ambientTemperature
===> Attribute ambientTemperature
void clearAstigmMultError()
Mark astigmMultError, which is an optional field, as non-existent.
bool fitRMSExists
===> Attribute fitRMS, which is optional
void antennaNameFromBin(EndianIStream &eis)
bool isPeakIntensityErrorExists() const
===> Attribute peakIntensityError, which is optional
void setOffIntensityError(std::vector< Temperature > offIntensityError)
Set offIntensityError with the specified std::vector<Temperature >.
void astigmPlusFromBin(EndianIStream &eis)
bool isFitRMSExists() const
===> Attribute fitRMS, which is optional
void setOffsetError(std::vector< std::vector< Length > > offsetError)
Set offsetError with the specified std::vector<std::vector<Length > >.
bool isAdded() const
Has this row been added to its table ?
void astigmPlusErrorFromBin(EndianIStream &eis)
std::vector< bool > getWereFixed() const
===> Attribute wereFixed
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setAstigmMultError(std::vector< Length > astigmMultError)
Set astigmMultError with the specified std::vector<Length >.
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===> Attribute atmPhaseCorrection
void wereFixedFromText(const std::string &s)
bool isAstigmMultErrorExists() const
===> Attribute astigmMultError, which is optional
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void fitRMSFromText(const std::string &s)
void reducedChiSquaredFromBin(EndianIStream &eis)
void setPeakIntensityWasFixed(bool peakIntensityWasFixed)
Set peakIntensityWasFixed with the specified bool.
std::vector< Temperature > getOffIntensity() const
Get offIntensity, which is optional.
void setAmbientTemperature(Temperature ambientTemperature)
Set ambientTemperature with the specified Temperature.
void polarizationTypesFromBin(EndianIStream &eis)
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
void astigmPlusErrorFromText(const std::string &s)