34 #ifndef CalPointingModelRow_CLASS
35 #define CalPointingModelRow_CLASS
131 class CalReductionRow;
134 class CalPointingModelRow;
179 std::string getAntennaName()
const;
749 Tag getCalDataId()
const;
880 bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand
receiverBand,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime, AntennaMakeMod::AntennaMake
antennaMake, PointingModelModeMod::PointingModelMode
pointingModelMode, PolarizationTypeMod::PolarizationType
polarizationType,
int numCoeff, std::vector<std::string >
coeffName, std::vector<float >
coeffVal, std::vector<float >
coeffError, std::vector<bool >
coeffFixed,
Angle azimuthRMS,
Angle elevationRms,
Angle skyRMS,
double reducedChiSquared);
918 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime, AntennaMakeMod::AntennaMake
antennaMake, PointingModelModeMod::PointingModelMode
pointingModelMode, PolarizationTypeMod::PolarizationType
polarizationType,
int numCoeff, std::vector<std::string >
coeffName, std::vector<float >
coeffVal, std::vector<float >
coeffError, std::vector<bool >
coeffFixed,
Angle azimuthRMS,
Angle elevationRms,
Angle skyRMS,
double reducedChiSquared);
936 asdmIDL::CalPointingModelRowIDL *
toIDL()
const;
945 void toIDL(asdmIDL::CalPointingModelRowIDL& x)
const;
954 void setFromIDL (asdmIDL::CalPointingModelRowIDL x) ;
961 std::string
toXML()
const;
976 std::map<std::string, CalPointingModelAttributeFromBin>
fromBinMethods;
1015 void fromText(
const std::string& attributeName,
const std::string& t);
1070 std::string antennaName;
void setPolarizationType(PolarizationTypeMod::PolarizationType polarizationType)
Set polarizationType with the specified PolarizationTypeMod::PolarizationType.
void antennaNameFromText(const std::string &s)
void numObsFromText(const std::string &s)
std::vector< float > coeffError
===> Attribute coeffError
void(CalPointingModelRow::* CalPointingModelAttributeFromBin)(EndianIStream &eis)
void receiverBandFromText(const std::string &s)
void startValidTimeFromBin(EndianIStream &eis)
void antennaNameFromBin(EndianIStream &eis)
Angle azimuthRMS
===> Attribute azimuthRMS
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void antennaMakeFromBin(EndianIStream &eis)
void polarizationTypeFromText(const std::string &s)
bool isAdded() const
Has this row been added to its table ?
void setCoeffFixed(std::vector< bool > coeffFixed)
Set coeffFixed with the specified std::vector<bool >.
void endValidTimeFromText(const std::string &s)
AntennaMakeMod::AntennaMake getAntennaMake() const
===> Attribute antennaMake
void receiverBandFromBin(EndianIStream &eis)
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
Tag calReductionId
===> Attribute calReductionId
void numCoeffFromBin(EndianIStream &eis)
ArrayTime getStartValidTime() const
===> Attribute startValidTime
void setCoeffName(std::vector< std::string > coeffName)
Set coeffName with the specified std::vector<std::string >.
void coeffFixedFromText(const std::string &s)
double getReducedChiSquared() const
===> Attribute reducedChiSquared
void setPointingModelMode(PointingModelModeMod::PointingModelMode pointingModelMode)
Set pointingModelMode with the specified PointingModelModeMod::PointingModelMode. ...
bool isCoeffFormulaExists() const
===> Attribute coeffFormula, which is optional
void coeffFormulaFromText(const std::string &s)
CalPointingModelRow(CalPointingModelTable &table)
Create a CalPointingModelRow.
void coeffFixedFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::CalPointingModelRowIDL x)
Fill the values of this row from the IDL struct CalPointingModelRowIDL.
void coeffValFromText(const std::string &s)
void setCoeffVal(std::vector< float > coeffVal)
Set coeffVal with the specified std::vector<float >.
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
std::vector< float > getCoeffVal() const
===> Attribute coeffVal
void coeffFormulaFromBin(EndianIStream &eis)
std::string toXML() const
Return this row in the form of an XML string.
void coeffNameFromBin(EndianIStream &eis)
virtual ~CalPointingModelRow()
friend class asdm::TableStreamReader<CalPointingModelTable, CalPointingModelRow>; ...
void coeffErrorFromBin(EndianIStream &eis)
void skyRMSFromBin(EndianIStream &eis)
void clearNumObs()
Mark numObs, which is an optional field, as non-existent.
void calDataIdFromText(const std::string &s)
void reducedChiSquaredFromBin(EndianIStream &eis)
void calReductionIdFromText(const std::string &s)
void coeffValFromBin(EndianIStream &eis)
PointingModelModeMod::PointingModelMode pointingModelMode
===> Attribute pointingModelMode
Angle getElevationRms() const
===> Attribute elevationRms
The Angle class implements a quantity of angle in radians.
PolarizationTypeMod::PolarizationType getPolarizationType() const
===> Attribute polarizationType
double reducedChiSquared
===> Attribute reducedChiSquared
int numCoeff
===> Attribute numCoeff
void setCoeffError(std::vector< float > coeffError)
Set coeffError with the specified std::vector<float >.
std::vector< std::string > coeffFormula
void calDataIdFromBin(EndianIStream &eis)
void numObsFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
Angle getAzimuthRMS() const
===> Attribute azimuthRMS
void azimuthRMSFromText(const std::string &s)
void elevationRmsFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalPointingModelAttributeFromBin > fromBinMethods
std::vector< std::string > getCoeffFormula() const
Get coeffFormula, which is optional.
void pointingModelModeFromText(const std::string &s)
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
bool isNumObsExists() const
===> Attribute numObs, which is optional
The CalReductionRow class is a row of a CalReductionTable.
int getNumObs() const
Get numObs, which is optional.
The CalPointingModelTable class is an Alma table.
ArrayTime getEndValidTime() const
===> Attribute endValidTime
void coeffErrorFromText(const std::string &s)
void calReductionIdFromBin(EndianIStream &eis)
void azimuthRMSFromBin(EndianIStream &eis)
void endValidTimeFromBin(EndianIStream &eis)
void antennaMakeFromText(const std::string &s)
void setAzimuthRMS(Angle azimuthRMS)
Set azimuthRMS with the specified Angle.
void skyRMSFromText(const std::string &s)
Angle getSkyRMS() const
===> Attribute skyRMS
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
Angle skyRMS
===> Attribute skyRMS
bool numObsExists
===> Attribute numObs, which is optional
PointingModelModeMod::PointingModelMode getPointingModelMode() const
===> Attribute pointingModelMode
bool equalByRequiredValue(CalPointingModelRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void pointingModelModeFromBin(EndianIStream &eis)
void setCoeffFormula(std::vector< std::string > coeffFormula)
Set coeffFormula with the specified std::vector<std::string >.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void reducedChiSquaredFromText(const std::string &s)
void(CalPointingModelRow::* CalPointingModelAttributeFromText)(const std::string &s)
bool coeffFormulaExists
===> Attribute coeffFormula, which is optional
std::vector< bool > getCoeffFixed() const
===> Attribute coeffFixed
*text deserialization material std::map< std::string, CalPointingModelAttributeFromText > fromTextMethods
Tag getCalReductionId() const
===> Attribute calReductionId
AntennaMakeMod::AntennaMake antennaMake
===> Attribute antennaMake
Angle elevationRms
===> Attribute elevationRms
std::vector< float > getCoeffError() const
===> Attribute coeffError
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void setReducedChiSquared(double reducedChiSquared)
Set reducedChiSquared with the specified double.
asdmIDL::CalPointingModelRowIDL * toIDL() const
Return this row in the form of an IDL struct.
The CalDataRow class is a row of a CalDataTable.
void setNumObs(int numObs)
Set numObs with the specified int.
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
void setSkyRMS(Angle skyRMS)
Set skyRMS with the specified Angle.
std::vector< std::string > coeffName
===> Attribute coeffName
void numCoeffFromText(const std::string &s)
void elevationRmsFromText(const std::string &s)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
std::vector< std::string > getCoeffName() const
===> Attribute coeffName
bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, PointingModelModeMod::PointingModelMode pointingModelMode, PolarizationTypeMod::PolarizationType polarizationType, int numCoeff, std::vector< std::string > coeffName, std::vector< float > coeffVal, std::vector< float > coeffError, std::vector< bool > coeffFixed, Angle azimuthRMS, Angle elevationRms, Angle skyRMS, double reducedChiSquared)
Compare each mandatory attribute except the autoincrementable one of this CalPointingModelRow with th...
void setElevationRms(Angle elevationRms)
Set elevationRms with the specified Angle.
void startValidTimeFromText(const std::string &s)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
CalPointingModelTable & table
The table to which this row belongs.
void clearCoeffFormula()
Mark coeffFormula, which is an optional field, as non-existent.
The CalPointingModelRow class is a row of a CalPointingModelTable.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
CalPointingModelTable & getTable() const
Return the table to which this row belongs.
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, PointingModelModeMod::PointingModelMode pointingModelMode, PolarizationTypeMod::PolarizationType polarizationType, int numCoeff, std::vector< std::string > coeffName, std::vector< float > coeffVal, std::vector< float > coeffError, std::vector< bool > coeffFixed, Angle azimuthRMS, Angle elevationRms, Angle skyRMS, double reducedChiSquared)
Compare each mandatory value (i.e.
std::vector< float > coeffVal
===> Attribute coeffVal
ArrayTime startValidTime
===> Attribute startValidTime
ArrayTime endValidTime
===> Attribute endValidTime
PolarizationTypeMod::PolarizationType polarizationType
===> Attribute polarizationType
std::vector< bool > coeffFixed
===> Attribute coeffFixed
void coeffNameFromText(const std::string &s)
void polarizationTypeFromBin(EndianIStream &eis)
int getNumCoeff() const
===> Attribute numCoeff
void setNumCoeff(int numCoeff)
Set numCoeff with the specified int.