34 #ifndef CalDelayRow_CLASS
35 #define CalDelayRow_CLASS
139 class CalReductionRow;
187 std::string getAntennaName()
const;
797 std::vector<ReceiverSidebandMod::ReceiverSideband >
getSidebands()
const;
835 Tag getCalDataId()
const;
960 bool compareNoAutoInc(std::string antennaName, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection, BasebandNameMod::BasebandName
basebandName, ReceiverBandMod::ReceiverBand
receiverBand,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime, std::string
refAntennaName,
int numReceptor, std::vector<double >
delayError, std::vector<double >
delayOffset, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<double >
reducedChiSquared, std::vector<double >
appliedDelay);
1006 asdmIDL::CalDelayRowIDL *
toIDL()
const;
1015 void toIDL(asdmIDL::CalDelayRowIDL& x)
const;
1024 void setFromIDL (asdmIDL::CalDelayRowIDL x) ;
1031 std::string
toXML()
const;
1086 void fromText(
const std::string& attributeName,
const std::string& t);
1141 std::string antennaName;
1351 std::vector<ReceiverSidebandMod::ReceiverSideband >
sidebands;
asdmIDL::CalDelayRowIDL * toIDL() const
Return this row in the form of an IDL struct.
std::vector< double > delayError
===> Attribute delayError
bool isAdded() const
Has this row been added to its table ?
std::vector< Frequency > getRefFreq() const
Get refFreq, which is optional.
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
void antennaNameFromBin(EndianIStream &eis)
void receiverBandFromBin(EndianIStream &eis)
The CalDelayTable class is an Alma table.
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void numSidebandFromBin(EndianIStream &eis)
void clearCrossDelayOffset()
Mark crossDelayOffset, which is an optional field, as non-existent.
std::vector< double > delayOffset
===> Attribute delayOffset
ArrayTime getStartValidTime() const
===> Attribute startValidTime
void sidebandsFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
ArrayTime getEndValidTime() const
===> Attribute endValidTime
int getNumReceptor() const
===> Attribute numReceptor
void endValidTimeFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
void clearCrossDelayOffsetError()
Mark crossDelayOffsetError, which is an optional field, as non-existent.
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void setAppliedDelay(std::vector< double > appliedDelay)
Set appliedDelay with the specified std::vector<double >.
bool numSidebandExists
===> Attribute numSideband, which is optional
void numReceptorFromText(const std::string &s)
void setRefAntennaName(std::string refAntennaName)
Set refAntennaName with the specified std::string.
The CalDelayRow class is a row of a CalDelayTable.
void endValidTimeFromText(const std::string &s)
void basebandNameFromBin(EndianIStream &eis)
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, std::string refAntennaName, int numReceptor, std::vector< double > delayError, std::vector< double > delayOffset, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< double > reducedChiSquared, std::vector< double > appliedDelay)
Compare each mandatory value (i.e.
std::vector< double > getReducedChiSquared() const
===> Attribute reducedChiSquared
void calDataIdFromBin(EndianIStream &eis)
int numReceptor
===> Attribute numReceptor
bool sidebandsExists
===> Attribute sidebands, which is optional
std::vector< double > reducedChiSquared
===> Attribute reducedChiSquared
std::vector< ReceiverSidebandMod::ReceiverSideband > sidebands
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void calReductionIdFromBin(EndianIStream &eis)
std::vector< Angle > getRefFreqPhase() const
Get refFreqPhase, which is optional.
std::vector< double > appliedDelay
===> Attribute appliedDelay
CalDelayTable & getTable() const
Return the table to which this row belongs.
bool isSidebandsExists() const
===> Attribute sidebands, which is optional
void setDelayOffset(std::vector< double > delayOffset)
Set delayOffset with the specified std::vector<double >.
void setNumSideband(int numSideband)
Set numSideband with the specified int.
BasebandNameMod::BasebandName getBasebandName() const
===> Attribute basebandName
void clearSidebands()
Mark sidebands, which is an optional field, as non-existent.
BasebandNameMod::BasebandName basebandName
===> Attribute basebandName
void startValidTimeFromText(const std::string &s)
void clearRefFreqPhase()
Mark refFreqPhase, which is an optional field, as non-existent.
void polarizationTypesFromText(const std::string &s)
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
void calReductionIdFromText(const std::string &s)
void delayOffsetFromBin(EndianIStream &eis)
void crossDelayOffsetFromText(const std::string &s)
std::string toXML() const
Return this row in the form of an XML string.
void antennaNameFromText(const std::string &s)
double crossDelayOffsetError
void(CalDelayRow::* CalDelayAttributeFromText)(const std::string &s)
void crossDelayOffsetErrorFromBin(EndianIStream &eis)
bool refFreqPhaseExists
===> Attribute refFreqPhase, which is optional
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
std::vector< double > getDelayOffset() const
===> Attribute delayOffset
void numSidebandFromText(const std::string &s)
void delayOffsetFromText(const std::string &s)
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void appliedDelayFromBin(EndianIStream &eis)
void setDelayError(std::vector< double > delayError)
Set delayError with the specified std::vector<double >.
std::string getRefAntennaName() const
===> Attribute refAntennaName
std::vector< double > getAppliedDelay() const
===> Attribute appliedDelay
bool crossDelayOffsetErrorExists
===> Attribute crossDelayOffsetError, which is optional
void sidebandsFromText(const std::string &s)
void refAntennaNameFromBin(EndianIStream &eis)
bool isRefFreqPhaseExists() const
===> Attribute refFreqPhase, which is optional
void crossDelayOffsetErrorFromText(const std::string &s)
std::vector< ReceiverSidebandMod::ReceiverSideband > getSidebands() const
Get sidebands, which is optional.
Links *binary deserialization material from an EndianIStream std::map< std::string, CalDelayAttributeFromBin > fromBinMethods
void(CalDelayRow::* CalDelayAttributeFromBin)(EndianIStream &eis)
void delayErrorFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
int getNumSideband() const
Get numSideband, which is optional.
double getCrossDelayOffsetError() const
Get crossDelayOffsetError, which is optional.
ArrayTime endValidTime
===> Attribute endValidTime
void basebandNameFromText(const std::string &s)
void atmPhaseCorrectionFromText(const std::string &s)
bool crossDelayOffsetExists
===> Attribute crossDelayOffset, which is optional
double getCrossDelayOffset() const
Get crossDelayOffset, which is optional.
void delayErrorFromBin(EndianIStream &eis)
Tag calReductionId
===> Attribute calReductionId
void receiverBandFromText(const std::string &s)
void setRefFreq(std::vector< Frequency > refFreq)
Set refFreq with the specified std::vector<Frequency >.
Tag getCalReductionId() const
===> Attribute calReductionId
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void refFreqFromText(const std::string &s)
*text deserialization material std::map< std::string, CalDelayAttributeFromText > fromTextMethods
bool isRefFreqExists() const
===> Attribute refFreq, which is optional
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
bool isCrossDelayOffsetErrorExists() const
===> Attribute crossDelayOffsetError, which is optional
ArrayTime startValidTime
===> Attribute startValidTime
bool isNumSidebandExists() const
===> Attribute numSideband, which is optional
virtual ~CalDelayRow()
friend class asdm::TableStreamReader<CalDelayTable, CalDelayRow>;
bool equalByRequiredValue(CalDelayRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void crossDelayOffsetFromBin(EndianIStream &eis)
bool refFreqExists
===> Attribute refFreq, which is optional
void atmPhaseCorrectionFromBin(EndianIStream &eis)
bool isCrossDelayOffsetExists() const
===> Attribute crossDelayOffset, which is optional
void numReceptorFromBin(EndianIStream &eis)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
std::vector< double > getDelayError() const
===> Attribute delayError
std::vector< Frequency > refFreq
void setCrossDelayOffsetError(double crossDelayOffsetError)
Set crossDelayOffsetError with the specified double.
void clearNumSideband()
Mark numSideband, which is an optional field, as non-existent.
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
void setRefFreqPhase(std::vector< Angle > refFreqPhase)
Set refFreqPhase with the specified std::vector<Angle >.
void clearRefFreq()
Mark refFreq, which is an optional field, as non-existent.
void refFreqPhaseFromText(const std::string &s)
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
bool compareNoAutoInc(std::string antennaName, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, BasebandNameMod::BasebandName basebandName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, std::string refAntennaName, int numReceptor, std::vector< double > delayError, std::vector< double > delayOffset, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< double > reducedChiSquared, std::vector< double > appliedDelay)
Compare each mandatory attribute except the autoincrementable one of this CalDelayRow with the corres...
void setSidebands(std::vector< ReceiverSidebandMod::ReceiverSideband > sidebands)
Set sidebands with the specified std::vector<ReceiverSidebandMod::ReceiverSideband >...
CalDelayTable & table
The table to which this row belongs.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
The CalDataRow class is a row of a CalDataTable.
void polarizationTypesFromBin(EndianIStream &eis)
void setReducedChiSquared(std::vector< double > reducedChiSquared)
Set reducedChiSquared with the specified std::vector<double >.
std::string refAntennaName
===> Attribute refAntennaName
void reducedChiSquaredFromBin(EndianIStream &eis)
std::vector< Angle > refFreqPhase
void appliedDelayFromText(const std::string &s)
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===> Attribute atmPhaseCorrection
void refAntennaNameFromText(const std::string &s)
void startValidTimeFromBin(EndianIStream &eis)
void refFreqFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::CalDelayRowIDL x)
Fill the values of this row from the IDL struct CalDelayRowIDL.
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===> Attribute atmPhaseCorrection
void calDataIdFromText(const std::string &s)
void refFreqPhaseFromBin(EndianIStream &eis)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
void setCrossDelayOffset(double crossDelayOffset)
Set crossDelayOffset with the specified double.
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
CalDelayRow(CalDelayTable &table)
Create a CalDelayRow.
void reducedChiSquaredFromText(const std::string &s)