34 #ifndef CalCurveRow_CLASS
35 #define CalCurveRow_CLASS
127 class CalReductionRow;
175 AtmPhaseCorrectionMod::AtmPhaseCorrection getAtmPhaseCorrection()
const;
541 std::vector<std::vector<std::vector<float > > >
getCurve()
const;
553 void setCurve (std::vector<std::vector<std::vector<float > > >
curve);
649 std::vector<std::vector<float > >
getRms()
const;
660 void setRms (std::vector<std::vector<float > >
rms);
687 Tag getCalDataId()
const;
814 bool compareNoAutoInc(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, CalCurveTypeMod::CalCurveType
typeCurve, ReceiverBandMod::ReceiverBand
receiverBand,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime, std::vector<Frequency >
frequencyRange,
int numAntenna,
int numPoly,
int numReceptor, std::vector<std::string >
antennaNames, std::string
refAntennaName, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<std::vector<float > > >
curve, std::vector<double >
reducedChiSquared);
846 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime, std::vector<Frequency >
frequencyRange,
int numAntenna,
int numPoly,
int numReceptor, std::vector<std::string >
antennaNames, std::string
refAntennaName, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<std::vector<float > > >
curve, std::vector<double >
reducedChiSquared);
864 asdmIDL::CalCurveRowIDL *
toIDL()
const;
873 void toIDL(asdmIDL::CalCurveRowIDL& x)
const;
889 std::string
toXML()
const;
941 void fromText(
const std::string& attributeName,
const std::string& t);
996 AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection;
1128 std::vector<std::vector<std::vector<float > > >
curve;
1165 std::vector<std::vector<float > >
rms;
void setNumPoly(int numPoly)
Set numPoly with the specified int.
void setAntennaNames(std::vector< std::string > antennaNames)
Set antennaNames with the specified std::vector<std::string >.
int getNumAntenna() const
===> Attribute numAntenna
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
CalCurveTypeMod::CalCurveType typeCurve
===> Attribute typeCurve
void setCurve(std::vector< std::vector< std::vector< float > > > curve)
Set curve with the specified std::vector<std::vector<std::vector<float > > >.
std::string refAntennaName
===> Attribute refAntennaName
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
ArrayTime endValidTime
===> Attribute endValidTime
void typeCurveFromBin(EndianIStream &eis)
void clearNumBaseline()
Mark numBaseline, which is an optional field, as non-existent.
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
void startValidTimeFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool rmsExists
===> Attribute rms, which is optional
void antennaNamesFromText(const std::string &s)
void atmPhaseCorrectionFromText(const std::string &s)
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void typeCurveFromText(const std::string &s)
bool compareNoAutoInc(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, CalCurveTypeMod::CalCurveType typeCurve, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, int numAntenna, int numPoly, int numReceptor, std::vector< std::string > antennaNames, std::string refAntennaName, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< std::vector< float > > > curve, std::vector< double > reducedChiSquared)
Compare each mandatory attribute except the autoincrementable one of this CalCurveRow with the corres...
void rmsFromBin(EndianIStream &eis)
virtual ~CalCurveRow()
friend class asdm::TableStreamReader<CalCurveTable, CalCurveRow>;
std::string getRefAntennaName() const
===> Attribute refAntennaName
void polarizationTypesFromBin(EndianIStream &eis)
bool equalByRequiredValue(CalCurveRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void(CalCurveRow::* CalCurveAttributeFromText)(const std::string &s)
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
void refAntennaNameFromBin(EndianIStream &eis)
void antennaNamesFromBin(EndianIStream &eis)
CalCurveTable & table
The table to which this row belongs.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void numPolyFromBin(EndianIStream &eis)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
ArrayTime getStartValidTime() const
===> Attribute startValidTime
void numReceptorFromText(const std::string &s)
void calDataIdFromText(const std::string &s)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void curveFromText(const std::string &s)
std::vector< double > reducedChiSquared
===> Attribute reducedChiSquared
int numAntenna
===> Attribute numAntenna
void numReceptorFromBin(EndianIStream &eis)
CalCurveTable & getTable() const
Return the table to which this row belongs.
std::vector< std::string > antennaNames
===> Attribute antennaNames
void polarizationTypesFromText(const std::string &s)
void numBaselineFromBin(EndianIStream &eis)
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
bool isNumBaselineExists() const
===> Attribute numBaseline, which is optional
std::vector< std::string > getAntennaNames() const
===> Attribute antennaNames
void frequencyRangeFromBin(EndianIStream &eis)
ArrayTime startValidTime
===> Attribute startValidTime
void startValidTimeFromText(const std::string &s)
void endValidTimeFromBin(EndianIStream &eis)
void numAntennaFromText(const std::string &s)
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
int getNumReceptor() const
===> Attribute numReceptor
void calReductionIdFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void endValidTimeFromText(const std::string &s)
Tag calReductionId
===> Attribute calReductionId
void receiverBandFromBin(EndianIStream &eis)
int getNumBaseline() const
Get numBaseline, which is optional.
bool isRmsExists() const
===> Attribute rms, which is optional
void setFromIDL(asdmIDL::CalCurveRowIDL x)
Fill the values of this row from the IDL struct CalCurveRowIDL.
void frequencyRangeFromText(const std::string &s)
void calReductionIdFromBin(EndianIStream &eis)
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
void numBaselineFromText(const std::string &s)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void clearRms()
Mark rms, which is an optional field, as non-existent.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
std::vector< std::vector< float > > getRms() const
Get rms, which is optional.
std::vector< double > getReducedChiSquared() const
===> Attribute reducedChiSquared
void setReducedChiSquared(std::vector< double > reducedChiSquared)
Set reducedChiSquared with the specified std::vector<double >.
bool numBaselineExists
===> Attribute numBaseline, which is optional
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setNumAntenna(int numAntenna)
Set numAntenna with the specified int.
void(CalCurveRow::* CalCurveAttributeFromBin)(EndianIStream &eis)
*text deserialization material std::map< std::string, CalCurveAttributeFromText > fromTextMethods
void curveFromBin(EndianIStream &eis)
void setNumBaseline(int numBaseline)
Set numBaseline with the specified int.
void setRms(std::vector< std::vector< float > > rms)
Set rms with the specified std::vector<std::vector<float > >.
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
Links *binary deserialization material from an EndianIStream std::map< std::string, CalCurveAttributeFromBin > fromBinMethods
bool hasBeenAdded
Whether this row has been added to the table or not.
CalCurveRow(CalCurveTable &table)
Create a CalCurveRow.
void setRefAntennaName(std::string refAntennaName)
Set refAntennaName with the specified std::string.
void receiverBandFromText(const std::string &s)
int numPoly
===> Attribute numPoly
std::vector< std::vector< std::vector< float > > > getCurve() const
===> Attribute curve
std::vector< std::vector< std::vector< float > > > curve
===> Attribute curve
void calDataIdFromBin(EndianIStream &eis)
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
The CalDataRow class is a row of a CalDataTable.
The CalCurveTable class is an Alma table.
The CalCurveRow class is a row of a CalCurveTable.
CalCurveTypeMod::CalCurveType getTypeCurve() const
===> Attribute typeCurve
void refAntennaNameFromText(const std::string &s)
asdmIDL::CalCurveRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
std::string toXML() const
Return this row in the form of an XML string.
void atmPhaseCorrectionFromBin(EndianIStream &eis)
int numReceptor
===> Attribute numReceptor
Tag getCalReductionId() const
===> Attribute calReductionId
void numPolyFromText(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, int numAntenna, int numPoly, int numReceptor, std::vector< std::string > antennaNames, std::string refAntennaName, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< std::vector< float > > > curve, std::vector< double > reducedChiSquared)
Compare each mandatory value (i.e.
void reducedChiSquaredFromBin(EndianIStream &eis)
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
void numAntennaFromBin(EndianIStream &eis)
ArrayTime getEndValidTime() const
===> Attribute endValidTime
void reducedChiSquaredFromText(const std::string &s)
void rmsFromText(const std::string &s)
void setAtmPhaseCorrection(AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection)
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
int getNumPoly() const
===> Attribute numPoly
void setTypeCurve(CalCurveTypeMod::CalCurveType typeCurve)
Set typeCurve with the specified CalCurveTypeMod::CalCurveType.
std::vector< std::vector< float > > rms