34 #ifndef CalHolographyRow_CLASS
35 #define CalHolographyRow_CLASS
156 class CalReductionRow;
162 class CalHolographyRow;
207 std::string getAntennaName()
const;
1051 Tag getCalDataId()
const;
1184 bool compareNoAutoInc(std::string antennaName,
Tag calDataId,
Tag calReductionId, AntennaMakeMod::AntennaMake
antennaMake,
ArrayTime startValidTime,
ArrayTime endValidTime,
Temperature ambientTemperature, std::vector<Length >
focusPosition, std::vector<Frequency >
frequencyRange,
double illuminationTaper,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes,
int numPanelModes, ReceiverBandMod::ReceiverBand
receiverBand,
EntityRef beamMapUID,
Length rawRMS,
Length weightedRMS,
EntityRef surfaceMapUID, std::vector<Angle >
direction);
1226 bool compareRequiredValue(AntennaMakeMod::AntennaMake
antennaMake,
ArrayTime startValidTime,
ArrayTime endValidTime,
Temperature ambientTemperature, std::vector<Length >
focusPosition, std::vector<Frequency >
frequencyRange,
double illuminationTaper,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes,
int numPanelModes, ReceiverBandMod::ReceiverBand
receiverBand,
EntityRef beamMapUID,
Length rawRMS,
Length weightedRMS,
EntityRef surfaceMapUID, std::vector<Angle >
direction);
1244 asdmIDL::CalHolographyRowIDL *
toIDL()
const;
1253 void toIDL(asdmIDL::CalHolographyRowIDL& x)
const;
1262 void setFromIDL (asdmIDL::CalHolographyRowIDL x) ;
1269 std::string
toXML()
const;
1284 std::map<std::string, CalHolographyAttributeFromBin>
fromBinMethods;
1330 void fromText(
const std::string& attributeName,
const std::string& t);
1385 std::string antennaName;
virtual ~CalHolographyRow()
friend class asdm::TableStreamReader<CalHolographyTable, CalHolographyRow>;
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void(CalHolographyRow::* CalHolographyAttributeFromText)(const std::string &s)
void gravOptRangeFromText(const std::string &s)
void screwMotionFromBin(EndianIStream &eis)
void numPanelModesFromText(const std::string &s)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
bool compareRequiredValue(AntennaMakeMod::AntennaMake antennaMake, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, std::vector< Length > focusPosition, std::vector< Frequency > frequencyRange, double illuminationTaper, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, int numPanelModes, ReceiverBandMod::ReceiverBand receiverBand, EntityRef beamMapUID, Length rawRMS, Length weightedRMS, EntityRef surfaceMapUID, std::vector< Angle > direction)
Compare each mandatory value (i.e.
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
std::vector< Length > screwMotion
*text deserialization material std::map< std::string, CalHolographyAttributeFromText > fromTextMethods
void clearGravOptRange()
Mark gravOptRange, which is an optional field, as non-existent.
void weightedRMSFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
void ambientTemperatureFromBin(EndianIStream &eis)
void numScrewFromText(const std::string &s)
EntityRef getSurfaceMapUID() const
===> Attribute surfaceMapUID
ArrayTime endValidTime
===> Attribute endValidTime
void rawRMSFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::CalHolographyRowIDL x)
Fill the values of this row from the IDL struct CalHolographyRowIDL.
void directionFromText(const std::string &s)
Length rawRMS
===> Attribute rawRMS
void gravOptRangeFromBin(EndianIStream &eis)
CalHolographyRow(CalHolographyTable &table)
Create a CalHolographyRow.
void antennaMakeFromBin(EndianIStream &eis)
bool isScrewMotionExists() const
===> Attribute screwMotion, which is optional
void beamMapUIDFromBin(EndianIStream &eis)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void setNumScrew(int numScrew)
Set numScrew with the specified int.
void setWeightedRMS(Length weightedRMS)
Set weightedRMS with the specified Length.
double getIlluminationTaper() const
===> Attribute illuminationTaper
void screwMotionErrorFromText(const std::string &s)
std::vector< Temperature > tempOptRange
void calDataIdFromBin(EndianIStream &eis)
std::vector< std::string > screwName
std::vector< Angle > gravOptRange
bool isAdded() const
Has this row been added to its table ?
std::string toXML() const
Return this row in the form of an XML string.
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
void receiverBandFromBin(EndianIStream &eis)
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void setScrewMotion(std::vector< Length > screwMotion)
Set screwMotion with the specified std::vector<Length >.
int numReceptor
===> Attribute numReceptor
void clearScrewMotion()
Mark screwMotion, which is an optional field, as non-existent.
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
std::vector< Angle > getGravOptRange() const
Get gravOptRange, which is optional.
void antennaNameFromText(const std::string &s)
bool gravCorrectionExists
===> Attribute gravCorrection, which is optional
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
EntityRef getBeamMapUID() const
===> Attribute beamMapUID
void clearGravCorrection()
Mark gravCorrection, which is an optional field, as non-existent.
The CalHolographyRow class is a row of a CalHolographyTable.
void rawRMSFromText(const std::string &s)
bool numScrewExists
===> Attribute numScrew, which is optional
Length weightedRMS
===> Attribute weightedRMS
void focusPositionFromBin(EndianIStream &eis)
bool isScrewNameExists() const
===> Attribute screwName, which is optional
std::vector< Length > getScrewMotionError() const
Get screwMotionError, which is optional.
void(CalHolographyRow::* CalHolographyAttributeFromBin)(EndianIStream &eis)
void polarizationTypesFromText(const std::string &s)
void numScrewFromBin(EndianIStream &eis)
bool isTempOptRangeExists() const
===> Attribute tempOptRange, which is optional
The Temperature class implements a quantity of temperature in degrees Kelvin.
void setScrewName(std::vector< std::string > screwName)
Set screwName with the specified std::vector<std::string >.
void directionFromBin(EndianIStream &eis)
void setRawRMS(Length rawRMS)
Set rawRMS with the specified Length.
int getNumScrew() const
Get numScrew, which is optional.
bool compareNoAutoInc(std::string antennaName, Tag calDataId, Tag calReductionId, AntennaMakeMod::AntennaMake antennaMake, ArrayTime startValidTime, ArrayTime endValidTime, Temperature ambientTemperature, std::vector< Length > focusPosition, std::vector< Frequency > frequencyRange, double illuminationTaper, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, int numPanelModes, ReceiverBandMod::ReceiverBand receiverBand, EntityRef beamMapUID, Length rawRMS, Length weightedRMS, EntityRef surfaceMapUID, std::vector< Angle > direction)
Compare each mandatory attribute except the autoincrementable one of this CalHolographyRow with the c...
int getNumPanelModes() const
===> Attribute numPanelModes
void screwMotionFromText(const std::string &s)
bool isScrewMotionErrorExists() const
===> Attribute screwMotionError, which is optional
ArrayTime getStartValidTime() const
===> Attribute startValidTime
bool screwNameExists
===> Attribute screwName, which is optional
void clearNumScrew()
Mark numScrew, which is an optional field, as non-existent.
void illuminationTaperFromBin(EndianIStream &eis)
The EntityRef class is an identification of a persistant entity in the ALMA archive.
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void endValidTimeFromText(const std::string &s)
void calReductionIdFromText(const std::string &s)
bool isGravCorrectionExists() const
===> Attribute gravCorrection, which is optional
void setSurfaceMapUID(EntityRef surfaceMapUID)
Set surfaceMapUID with the specified EntityRef.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
ArrayTime startValidTime
===> Attribute startValidTime
void screwNameFromText(const std::string &s)
AntennaMakeMod::AntennaMake getAntennaMake() const
===> Attribute antennaMake
bool screwMotionErrorExists
===> Attribute screwMotionError, which is optional
void numReceptorFromBin(EndianIStream &eis)
bool screwMotionExists
===> Attribute screwMotion, which is optional
ArrayTime getEndValidTime() const
===> Attribute endValidTime
void setScrewMotionError(std::vector< Length > screwMotionError)
Set screwMotionError with the specified std::vector<Length >.
void setGravOptRange(std::vector< Angle > gravOptRange)
Set gravOptRange with the specified std::vector<Angle >.
std::vector< Length > screwMotionError
void receiverBandFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
void startValidTimeFromText(const std::string &s)
bool getTempCorrection() const
Get tempCorrection, which is optional.
bool isNumScrewExists() const
===> Attribute numScrew, which is optional
void clearScrewName()
Mark screwName, which is an optional field, as non-existent.
Length getWeightedRMS() const
===> Attribute weightedRMS
std::vector< Length > focusPosition
===> Attribute focusPosition
void setTempOptRange(std::vector< Temperature > tempOptRange)
Set tempOptRange with the specified std::vector<Temperature >.
The Length class implements a quantity of length in meters.
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
void focusPositionFromText(const std::string &s)
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void frequencyRangeFromBin(EndianIStream &eis)
void tempCorrectionFromText(const std::string &s)
std::vector< Angle > getDirection() const
===> Attribute direction
void numPanelModesFromBin(EndianIStream &eis)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
bool isGravOptRangeExists() const
===> Attribute gravOptRange, which is optional
void setBeamMapUID(EntityRef beamMapUID)
Set beamMapUID with the specified EntityRef.
void gravCorrectionFromBin(EndianIStream &eis)
void calDataIdFromText(const std::string &s)
void gravCorrectionFromText(const std::string &s)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
std::vector< Temperature > getTempOptRange() const
Get tempOptRange, which is optional.
bool gravOptRangeExists
===> Attribute gravOptRange, which is optional
bool getGravCorrection() const
Get gravCorrection, which is optional.
EntityRef beamMapUID
===> Attribute beamMapUID
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void screwMotionErrorFromBin(EndianIStream &eis)
void setGravCorrection(bool gravCorrection)
Set gravCorrection with the specified bool.
Temperature getAmbientTemperature() const
===> Attribute ambientTemperature
void startValidTimeFromBin(EndianIStream &eis)
CalHolographyTable & table
The table to which this row belongs.
void setIlluminationTaper(double illuminationTaper)
Set illuminationTaper with the specified double.
void setAmbientTemperature(Temperature ambientTemperature)
Set ambientTemperature with the specified Temperature.
Tag getCalReductionId() const
===> Attribute calReductionId
void clearTempOptRange()
Mark tempOptRange, which is an optional field, as non-existent.
void clearScrewMotionError()
Mark screwMotionError, which is an optional field, as non-existent.
std::vector< Length > getScrewMotion() const
Get screwMotion, which is optional.
CalHolographyTable & getTable() const
Return the table to which this row belongs.
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector<Angle >.
void tempOptRangeFromBin(EndianIStream &eis)
void endValidTimeFromBin(EndianIStream &eis)
EntityRef surfaceMapUID
===> Attribute surfaceMapUID
void setTempCorrection(bool tempCorrection)
Set tempCorrection with the specified bool.
void antennaMakeFromText(const std::string &s)
void tempCorrectionFromBin(EndianIStream &eis)
AntennaMakeMod::AntennaMake antennaMake
===> Attribute antennaMake
void setFocusPosition(std::vector< Length > focusPosition)
Set focusPosition with the specified std::vector<Length >.
Temperature ambientTemperature
===> Attribute ambientTemperature
bool tempOptRangeExists
===> Attribute tempOptRange, which is optional
Tag calReductionId
===> Attribute calReductionId
The CalDataRow class is a row of a CalDataTable.
void illuminationTaperFromText(const std::string &s)
std::vector< Angle > direction
===> Attribute direction
void numReceptorFromText(const std::string &s)
bool equalByRequiredValue(CalHolographyRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void antennaNameFromBin(EndianIStream &eis)
void calReductionIdFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
std::vector< std::string > getScrewName() const
Get screwName, which is optional.
void frequencyRangeFromText(const std::string &s)
int getNumReceptor() const
===> Attribute numReceptor
std::vector< Length > getFocusPosition() const
===> Attribute focusPosition
void weightedRMSFromText(const std::string &s)
void clearTempCorrection()
Mark tempCorrection, which is an optional field, as non-existent.
int numPanelModes
===> Attribute numPanelModes
bool tempCorrectionExists
===> Attribute tempCorrection, which is optional
void tempOptRangeFromText(const std::string &s)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalHolographyAttributeFromBin > fromBinMethods
void ambientTemperatureFromText(const std::string &s)
bool isTempCorrectionExists() const
===> Attribute tempCorrection, which is optional
void surfaceMapUIDFromBin(EndianIStream &eis)
void screwNameFromBin(EndianIStream &eis)
Length getRawRMS() const
===> Attribute rawRMS
The CalHolographyTable class is an Alma table.
void polarizationTypesFromBin(EndianIStream &eis)
asdmIDL::CalHolographyRowIDL * toIDL() const
Return this row in the form of an IDL struct.
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setNumPanelModes(int numPanelModes)
Set numPanelModes with the specified int.
double illuminationTaper
===> Attribute illuminationTaper