34 #ifndef CalFocusModelRow_CLASS
35 #define CalFocusModelRow_CLASS
122 class CalReductionRow;
128 class CalFocusModelRow;
173 std::string getAntennaName()
const;
663 Tag getCalDataId()
const;
794 bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand
receiverBand, PolarizationTypeMod::PolarizationType
polarizationType,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime, AntennaMakeMod::AntennaMake
antennaMake,
int numCoeff,
int numSourceObs, std::vector<std::string >
coeffName, std::vector<std::string >
coeffFormula, std::vector<float >
coeffValue, std::vector<float >
coeffError, std::vector<bool >
coeffFixed, std::string
focusModel, std::vector<Length >
focusRMS,
double reducedChiSquared);
830 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime, AntennaMakeMod::AntennaMake
antennaMake,
int numCoeff,
int numSourceObs, std::vector<std::string >
coeffName, std::vector<std::string >
coeffFormula, std::vector<float >
coeffValue, std::vector<float >
coeffError, std::vector<bool >
coeffFixed, std::string
focusModel, std::vector<Length >
focusRMS,
double reducedChiSquared);
848 asdmIDL::CalFocusModelRowIDL *
toIDL()
const;
857 void toIDL(asdmIDL::CalFocusModelRowIDL& x)
const;
866 void setFromIDL (asdmIDL::CalFocusModelRowIDL x) ;
873 std::string
toXML()
const;
888 std::map<std::string, CalFocusModelAttributeFromBin>
fromBinMethods;
925 void fromText(
const std::string& attributeName,
const std::string& t);
980 std::string antennaName;
void startValidTimeFromBin(EndianIStream &eis)
ArrayTime endValidTime
===> Attribute endValidTime
void focusRMSFromText(const std::string &s)
void numCoeffFromText(const std::string &s)
void(CalFocusModelRow::* CalFocusModelAttributeFromBin)(EndianIStream &eis)
bool equalByRequiredValue(CalFocusModelRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
PolarizationTypeMod::PolarizationType polarizationType
===> Attribute polarizationType
void antennaNameFromBin(EndianIStream &eis)
std::string toXML() const
Return this row in the form of an XML string.
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
*text deserialization material std::map< std::string, CalFocusModelAttributeFromText > fromTextMethods
bool isAdded() const
Has this row been added to its table ?
void setNumSourceObs(int numSourceObs)
Set numSourceObs with the specified int.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void focusRMSFromBin(EndianIStream &eis)
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numCoeff, int numSourceObs, std::vector< std::string > coeffName, std::vector< std::string > coeffFormula, std::vector< float > coeffValue, std::vector< float > coeffError, std::vector< bool > coeffFixed, std::string focusModel, std::vector< Length > focusRMS, double reducedChiSquared)
Compare each mandatory value (i.e.
void numCoeffFromBin(EndianIStream &eis)
std::vector< Length > getFocusRMS() const
===> Attribute focusRMS
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void antennaMakeFromBin(EndianIStream &eis)
CalFocusModelTable & getTable() const
Return the table to which this row belongs.
void reducedChiSquaredFromBin(EndianIStream &eis)
The CalFocusModelTable class is an Alma table.
void polarizationTypeFromText(const std::string &s)
void coeffFixedFromBin(EndianIStream &eis)
void endValidTimeFromBin(EndianIStream &eis)
PolarizationTypeMod::PolarizationType getPolarizationType() const
===> Attribute polarizationType
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
void receiverBandFromText(const std::string &s)
std::vector< bool > getCoeffFixed() const
===> Attribute coeffFixed
bool hasBeenAdded
Whether this row has been added to the table or not.
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void setPolarizationType(PolarizationTypeMod::PolarizationType polarizationType)
Set polarizationType with the specified PolarizationTypeMod::PolarizationType.
std::vector< std::string > getCoeffName() const
===> Attribute coeffName
void endValidTimeFromText(const std::string &s)
void numSourceObsFromBin(EndianIStream &eis)
double reducedChiSquared
===> Attribute reducedChiSquared
void setReducedChiSquared(double reducedChiSquared)
Set reducedChiSquared with the specified double.
std::vector< Length > focusRMS
===> Attribute focusRMS
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
Tag calReductionId
===> Attribute calReductionId
The CalFocusModelRow class is a row of a CalFocusModelTable.
bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, PolarizationTypeMod::PolarizationType polarizationType, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numCoeff, int numSourceObs, std::vector< std::string > coeffName, std::vector< std::string > coeffFormula, std::vector< float > coeffValue, std::vector< float > coeffError, std::vector< bool > coeffFixed, std::string focusModel, std::vector< Length > focusRMS, double reducedChiSquared)
Compare each mandatory attribute except the autoincrementable one of this CalFocusModelRow with the c...
ArrayTime getStartValidTime() const
===> Attribute startValidTime
void calReductionIdFromText(const std::string &s)
int getNumCoeff() const
===> Attribute numCoeff
The CalReductionRow class is a row of a CalReductionTable.
void receiverBandFromBin(EndianIStream &eis)
void coeffFormulaFromBin(EndianIStream &eis)
std::vector< bool > coeffFixed
===> Attribute coeffFixed
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
CalFocusModelTable & table
The table to which this row belongs.
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void reducedChiSquaredFromText(const std::string &s)
void setFocusModel(std::string focusModel)
Set focusModel with the specified std::string.
int numCoeff
===> Attribute numCoeff
std::string focusModel
===> Attribute focusModel
AntennaMakeMod::AntennaMake getAntennaMake() const
===> Attribute antennaMake
double getReducedChiSquared() const
===> Attribute reducedChiSquared
void setFocusRMS(std::vector< Length > focusRMS)
Set focusRMS with the specified std::vector<Length >.
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void setCoeffName(std::vector< std::string > coeffName)
Set coeffName with the specified std::vector<std::string >.
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
Links *binary deserialization material from an EndianIStream std::map< std::string, CalFocusModelAttributeFromBin > fromBinMethods
void coeffValueFromBin(EndianIStream &eis)
CalFocusModelRow(CalFocusModelTable &table)
Create a CalFocusModelRow.
void coeffFormulaFromText(const std::string &s)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
std::vector< float > coeffValue
===> Attribute coeffValue
Tag getCalReductionId() const
===> Attribute calReductionId
void calDataIdFromText(const std::string &s)
std::vector< std::string > getCoeffFormula() const
===> Attribute coeffFormula
AntennaMakeMod::AntennaMake antennaMake
===> Attribute antennaMake
virtual ~CalFocusModelRow()
friend class asdm::TableStreamReader<CalFocusModelTable, CalFocusModelRow>;
void coeffFixedFromText(const std::string &s)
void coeffErrorFromText(const std::string &s)
void setNumCoeff(int numCoeff)
Set numCoeff with the specified int.
void antennaNameFromText(const std::string &s)
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void setCoeffFixed(std::vector< bool > coeffFixed)
Set coeffFixed with the specified std::vector<bool >.
void antennaMakeFromText(const std::string &s)
void setCoeffFormula(std::vector< std::string > coeffFormula)
Set coeffFormula with the specified std::vector<std::string >.
void numSourceObsFromText(const std::string &s)
std::vector< float > getCoeffValue() const
===> Attribute coeffValue
void setCoeffError(std::vector< float > coeffError)
Set coeffError with the specified std::vector<float >.
void polarizationTypeFromBin(EndianIStream &eis)
void coeffNameFromText(const std::string &s)
void coeffErrorFromBin(EndianIStream &eis)
The CalDataRow class is a row of a CalDataTable.
std::vector< float > coeffError
===> Attribute coeffError
std::vector< std::string > coeffFormula
===> Attribute coeffFormula
void(CalFocusModelRow::* CalFocusModelAttributeFromText)(const std::string &s)
std::vector< std::string > coeffName
===> Attribute coeffName
void coeffNameFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::CalFocusModelRowIDL x)
Fill the values of this row from the IDL struct CalFocusModelRowIDL.
int getNumSourceObs() const
===> Attribute numSourceObs
ArrayTime startValidTime
===> Attribute startValidTime
asdmIDL::CalFocusModelRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void calReductionIdFromBin(EndianIStream &eis)
std::vector< float > getCoeffError() const
===> Attribute coeffError
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void setCoeffValue(std::vector< float > coeffValue)
Set coeffValue with the specified std::vector<float >.
void focusModelFromBin(EndianIStream &eis)
void coeffValueFromText(const std::string &s)
void calDataIdFromBin(EndianIStream &eis)
void startValidTimeFromText(const std::string &s)
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
void focusModelFromText(const std::string &s)
ArrayTime getEndValidTime() const
===> Attribute endValidTime
std::string getFocusModel() const
===> Attribute focusModel
int numSourceObs
===> Attribute numSourceObs