34 #ifndef CalAmpliRow_CLASS
35 #define CalAmpliRow_CLASS
119 class CalReductionRow;
167 std::string getAntennaName()
const;
550 Tag getCalDataId()
const;
671 bool compareNoAutoInc(std::string antennaName, AtmPhaseCorrectionMod::AtmPhaseCorrection
atmPhaseCorrection, ReceiverBandMod::ReceiverBand
receiverBand, BasebandNameMod::BasebandName
basebandName,
Tag calDataId,
Tag calReductionId,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes,
ArrayTime startValidTime,
ArrayTime endValidTime, std::vector<Frequency >
frequencyRange, std::vector<float >
apertureEfficiency, std::vector<float >
apertureEfficiencyError);
713 asdmIDL::CalAmpliRowIDL *
toIDL()
const;
722 void toIDL(asdmIDL::CalAmpliRowIDL& x)
const;
738 std::string
toXML()
const;
786 void fromText(
const std::string& attributeName,
const std::string& t);
841 std::string antennaName;
bool isAdded() const
Has this row been added to its table ?
void startValidTimeFromText(const std::string &s)
void atmPhaseCorrectionFromBin(EndianIStream &eis)
void apertureEfficiencyFromBin(EndianIStream &eis)
void basebandNameFromText(const std::string &s)
void apertureEfficiencyFromText(const std::string &s)
The CalAmpliTable class is an Alma table.
CalAmpliTable & getTable() const
Return the table to which this row belongs.
void endValidTimeFromBin(EndianIStream &eis)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection
===> Attribute atmPhaseCorrection
AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection() const
===> Attribute atmPhaseCorrection
void polarizationTypesFromText(const std::string &s)
void atmPhaseCorrectionFromText(const std::string &s)
void antennaNameFromBin(EndianIStream &eis)
std::vector< float > apertureEfficiency
===> Attribute apertureEfficiency
void numReceptorFromText(const std::string &s)
void frequencyRangeFromBin(EndianIStream &eis)
void numReceptorFromBin(EndianIStream &eis)
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
ArrayTime getEndValidTime() const
===> Attribute endValidTime
bool hasBeenAdded
Whether this row has been added to the table or not.
void calDataIdFromBin(EndianIStream &eis)
bool correctionValidityExists
===> Attribute correctionValidity, which is optional
void correctionValidityFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalAmpliAttributeFromBin > fromBinMethods
int getNumReceptor() const
===> Attribute numReceptor
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void receiverBandFromText(const std::string &s)
The CalAmpliRow class is a row of a CalAmpliTable.
void setApertureEfficiencyError(std::vector< float > apertureEfficiencyError)
Set apertureEfficiencyError with the specified std::vector<float >.
ArrayTime startValidTime
===> Attribute startValidTime
void receiverBandFromBin(EndianIStream &eis)
bool getCorrectionValidity() const
Get correctionValidity, which is optional.
std::vector< float > getApertureEfficiency() const
===> Attribute apertureEfficiency
asdmIDL::CalAmpliRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
void endValidTimeFromText(const std::string &s)
void basebandNameFromBin(EndianIStream &eis)
Tag getCalReductionId() const
===> Attribute calReductionId
void calReductionIdFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
void setFromIDL(asdmIDL::CalAmpliRowIDL x)
Fill the values of this row from the IDL struct CalAmpliRowIDL.
CalAmpliRow(CalAmpliTable &table)
Create a CalAmpliRow.
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
virtual ~CalAmpliRow()
friend class asdm::TableStreamReader<CalAmpliTable, CalAmpliRow>;
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void apertureEfficiencyErrorFromBin(EndianIStream &eis)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void frequencyRangeFromText(const std::string &s)
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
bool compareNoAutoInc(std::string antennaName, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, ReceiverBandMod::ReceiverBand receiverBand, BasebandNameMod::BasebandName basebandName, Tag calDataId, Tag calReductionId, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, std::vector< float > apertureEfficiency, std::vector< float > apertureEfficiencyError)
Compare each mandatory attribute except the autoincrementable one of this CalAmpliRow with the corres...
bool equalByRequiredValue(CalAmpliRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void startValidTimeFromBin(EndianIStream &eis)
void apertureEfficiencyErrorFromText(const std::string &s)
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
std::string toXML() const
Return this row in the form of an XML string.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Tag calReductionId
===> Attribute calReductionId
void(CalAmpliRow::* CalAmpliAttributeFromText)(const std::string &s)
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
*text deserialization material std::map< std::string, CalAmpliAttributeFromText > fromTextMethods
void clearCorrectionValidity()
Mark correctionValidity, which is an optional field, as non-existent.
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
void polarizationTypesFromBin(EndianIStream &eis)
void antennaNameFromText(const std::string &s)
BasebandNameMod::BasebandName basebandName
===> Attribute basebandName
void calReductionIdFromBin(EndianIStream &eis)
bool isCorrectionValidityExists() const
===> Attribute correctionValidity, which is optional
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
ArrayTime getStartValidTime() const
===> Attribute startValidTime
The CalDataRow class is a row of a CalDataTable.
void setApertureEfficiency(std::vector< float > apertureEfficiency)
Set apertureEfficiency with the specified std::vector<float >.
std::vector< float > apertureEfficiencyError
===> Attribute apertureEfficiencyError
std::vector< float > getApertureEfficiencyError() const
===> Attribute apertureEfficiencyError
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void calDataIdFromText(const std::string &s)
void setCorrectionValidity(bool correctionValidity)
Set correctionValidity with the specified bool.
CalAmpliTable & table
The table to which this row belongs.
void(CalAmpliRow::* CalAmpliAttributeFromBin)(EndianIStream &eis)
bool compareRequiredValue(int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, std::vector< float > apertureEfficiency, std::vector< float > apertureEfficiencyError)
Compare each mandatory value (i.e.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
void correctionValidityFromText(const std::string &s)
ArrayTime endValidTime
===> Attribute endValidTime
BasebandNameMod::BasebandName getBasebandName() const
===> Attribute basebandName
int numReceptor
===> Attribute numReceptor