34 #ifndef CalAntennaSolutionsRow_CLASS
35 #define CalAntennaSolutionsRow_CLASS
137 class CalReductionRow;
140 class SpectralWindowRow;
143 class CalAntennaSolutionsRow;
188 std::string getAntennaName()
const;
710 Tag getCalDataId()
const;
892 bool compareNoAutoInc(std::string antennaName, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection, ReceiverBandMod::ReceiverBand
receiverBand, BasebandNameMod::BasebandName
basebandName,
Tag calDataId,
Tag calReductionId,
Tag spectralWindowId,
ArrayTime startValidTime,
ArrayTime endValidTime,
int numReceptor, std::string
refAntennaName, std::vector<Angle >
direction, std::vector<Frequency >
frequencyRange,
Interval integrationTime, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes,
bool correctionValidity, std::vector<float >
phaseAnt, std::vector<float >
phaseAntRMS, std::vector<float >
amplitudeAnt, std::vector<float >
amplitudeAntRMS);
928 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime,
int numReceptor, std::string
refAntennaName, std::vector<Angle >
direction, std::vector<Frequency >
frequencyRange,
Interval integrationTime, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes,
bool correctionValidity, std::vector<float >
phaseAnt, std::vector<float >
phaseAntRMS, std::vector<float >
amplitudeAnt, std::vector<float >
amplitudeAntRMS);
946 asdmIDL::CalAntennaSolutionsRowIDL *
toIDL()
const;
955 void toIDL(asdmIDL::CalAntennaSolutionsRowIDL& x)
const;
964 void setFromIDL (asdmIDL::CalAntennaSolutionsRowIDL x) ;
971 std::string
toXML()
const;
986 std::map<std::string, CalAntennaSolutionsAttributeFromBin>
fromBinMethods;
1025 void fromText(
const std::string& attributeName,
const std::string& t);
1080 std::string antennaName;
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void basebandNameFromText(const std::string &s)
void refAntennaNameFromText(const std::string &s)
void polarizationTypesFromText(const std::string &s)
Interval getIntegrationTime() const
===> Attribute integrationTime
The Interval class implements an interval of time in units of nanoseconds.
Interval integrationTime
===> Attribute integrationTime
void setPhaseAnt(std::vector< float > phaseAnt)
Set phaseAnt with the specified std::vector<float >.
void directionFromText(const std::string &s)
std::vector< float > getAmplitudeAntRMS() const
===> Attribute amplitudeAntRMS
void numReceptorFromText(const std::string &s)
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void calReductionIdFromText(const std::string &s)
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void startValidTimeFromText(const std::string &s)
bool compareNoAutoInc(std::string antennaName, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, ReceiverBandMod::ReceiverBand receiverBand, BasebandNameMod::BasebandName basebandName, Tag calDataId, Tag calReductionId, Tag spectralWindowId, ArrayTime startValidTime, ArrayTime endValidTime, int numReceptor, std::string refAntennaName, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, Interval integrationTime, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, bool correctionValidity, std::vector< float > phaseAnt, std::vector< float > phaseAntRMS, std::vector< float > amplitudeAnt, std::vector< float > amplitudeAntRMS)
Compare each mandatory attribute except the autoincrementable one of this CalAntennaSolutionsRow with...
void amplitudeAntRMSFromText(const std::string &s)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
CalAntennaSolutionsTable & table
The table to which this row belongs.
void integrationTimeFromText(const std::string &s)
The CalAntennaSolutionsTable class is an Alma table.
void(CalAntennaSolutionsRow::* CalAntennaSolutionsAttributeFromText)(const std::string &s)
void basebandNameFromBin(EndianIStream &eis)
void calDataIdFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalAntennaSolutionsAttributeFromBin > fromBinMethods
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
std::vector< float > phaseAnt
===> Attribute phaseAnt
Tag spectralWindowId
===> Attribute spectralWindowId
std::string toXML() const
Return this row in the form of an XML string.
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void phaseAntRMSFromText(const std::string &s)
void calReductionIdFromBin(EndianIStream &eis)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void startValidTimeFromBin(EndianIStream &eis)
void numReceptorFromBin(EndianIStream &eis)
Tag getSpectralWindowId() const
===> Attribute spectralWindowId
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
void antennaNameFromText(const std::string &s)
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
bool hasBeenAdded
Whether this row has been added to the table or not.
void amplitudeAntFromText(const std::string &s)
*text deserialization material std::map< std::string, CalAntennaSolutionsAttributeFromText > fromTextMethods
BasebandNameMod::BasebandName getBasebandName() const
===> Attribute basebandName
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
void setPhaseAntRMS(std::vector< float > phaseAntRMS)
Set phaseAntRMS with the specified std::vector<float >.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
std::string getRefAntennaName() const
===> Attribute refAntennaName
bool getCorrectionValidity() const
===> Attribute correctionValidity
bool correctionValidity
===> Attribute correctionValidity
void atmPhaseCorrectionFromBin(EndianIStream &eis)
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
CalAntennaSolutionsTable & getTable() const
Return the table to which this row belongs.
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
std::vector< float > amplitudeAntRMS
===> Attribute amplitudeAntRMS
ArrayTime getStartValidTime() const
===> Attribute startValidTime
bool equalByRequiredValue(CalAntennaSolutionsRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setFromIDL(asdmIDL::CalAntennaSolutionsRowIDL x)
Fill the values of this row from the IDL struct CalAntennaSolutionsRowIDL.
The CalReductionRow class is a row of a CalReductionTable.
bool isAdded() const
Has this row been added to its table ?
virtual ~CalAntennaSolutionsRow()
friend class asdm::TableStreamReader<CalAntennaSolutionsTable, CalAntennaSolutionsRow>; ...
void frequencyRangeFromText(const std::string &s)
SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
Tag calReductionId
===> Attribute calReductionId
ArrayTime startValidTime
===> Attribute startValidTime
void correctionValidityFromText(const std::string &s)
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===> Attribute atmPhaseCorrection
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
std::vector< Angle > direction
===> Attribute direction
void calDataIdFromText(const std::string &s)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void setRefAntennaName(std::string refAntennaName)
Set refAntennaName with the specified std::string.
void polarizationTypesFromBin(EndianIStream &eis)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
void receiverBandFromText(const std::string &s)
void setIntegrationTime(Interval integrationTime)
Set integrationTime with the specified Interval.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===> Attribute atmPhaseCorrection
void phaseAntRMSFromBin(EndianIStream &eis)
void integrationTimeFromBin(EndianIStream &eis)
void refAntennaNameFromBin(EndianIStream &eis)
void amplitudeAntFromBin(EndianIStream &eis)
asdmIDL::CalAntennaSolutionsRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void setAmplitudeAntRMS(std::vector< float > amplitudeAntRMS)
Set amplitudeAntRMS with the specified std::vector<float >.
The CalAntennaSolutionsRow class is a row of a CalAntennaSolutionsTable.
void setCorrectionValidity(bool correctionValidity)
Set correctionValidity with the specified bool.
std::string refAntennaName
===> Attribute refAntennaName
void atmPhaseCorrectionFromText(const std::string &s)
void phaseAntFromText(const std::string &s)
ArrayTime getEndValidTime() const
===> Attribute endValidTime
std::vector< float > getPhaseAnt() const
===> Attribute phaseAnt
std::vector< float > phaseAntRMS
===> Attribute phaseAntRMS
std::vector< float > getAmplitudeAnt() const
===> Attribute amplitudeAnt
void directionFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
CalAntennaSolutionsRow(CalAntennaSolutionsTable &table)
Create a CalAntennaSolutionsRow.
void setAmplitudeAnt(std::vector< float > amplitudeAnt)
Set amplitudeAnt with the specified std::vector<float >.
void spectralWindowIdFromText(const std::string &s)
The CalDataRow class is a row of a CalDataTable.
BasebandNameMod::BasebandName basebandName
===> Attribute basebandName
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void endValidTimeFromText(const std::string &s)
std::vector< float > getPhaseAntRMS() const
===> Attribute phaseAntRMS
void(CalAntennaSolutionsRow::* CalAntennaSolutionsAttributeFromBin)(EndianIStream &eis)
void antennaNameFromBin(EndianIStream &eis)
void frequencyRangeFromBin(EndianIStream &eis)
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector<Angle >.
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
The SpectralWindowRow class is a row of a SpectralWindowTable.
Tag getCalReductionId() const
===> Attribute calReductionId
void endValidTimeFromBin(EndianIStream &eis)
void phaseAntFromBin(EndianIStream &eis)
void amplitudeAntRMSFromBin(EndianIStream &eis)
ArrayTime endValidTime
===> Attribute endValidTime
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void correctionValidityFromBin(EndianIStream &eis)
std::vector< Angle > getDirection() const
===> Attribute direction
void receiverBandFromBin(EndianIStream &eis)
int numReceptor
===> Attribute numReceptor
std::vector< float > amplitudeAnt
===> Attribute amplitudeAnt
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numReceptor, std::string refAntennaName, std::vector< Angle > direction, std::vector< Frequency > frequencyRange, Interval integrationTime, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, bool correctionValidity, std::vector< float > phaseAnt, std::vector< float > phaseAntRMS, std::vector< float > amplitudeAnt, std::vector< float > amplitudeAntRMS)
Compare each mandatory value (i.e.
void spectralWindowIdFromBin(EndianIStream &eis)
int getNumReceptor() const
===> Attribute numReceptor