34 #ifndef CalWVRRow_CLASS
35 #define CalWVRRow_CLASS
129 class CalReductionRow;
449 std::vector<std::vector<Temperature > >
getRefTemp()
const;
509 std::vector<std::vector<std::vector<float > > >
getPathCoeff()
const;
663 Tag getCalDataId()
const;
794 bool compareNoAutoInc(std::string
antennaName,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime, WVRMethodMod::WVRMethod
wvrMethod,
int numInputAntennas, std::vector<std::string >
inputAntennaNames,
int numChan, std::vector<Frequency >
chanFreq, std::vector<Frequency >
chanWidth, std::vector<std::vector<Temperature > >
refTemp,
int numPoly, std::vector<std::vector<std::vector<float > > >
pathCoeff, std::vector<Frequency >
polyFreqLimits, std::vector<float >
wetPath, std::vector<float >
dryPath,
Length water);
834 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime, WVRMethodMod::WVRMethod
wvrMethod,
int numInputAntennas, std::vector<std::string >
inputAntennaNames,
int numChan, std::vector<Frequency >
chanFreq, std::vector<Frequency >
chanWidth, std::vector<std::vector<Temperature > >
refTemp,
int numPoly, std::vector<std::vector<std::vector<float > > >
pathCoeff, std::vector<Frequency >
polyFreqLimits, std::vector<float >
wetPath, std::vector<float >
dryPath,
Length water);
852 asdmIDL::CalWVRRowIDL *
toIDL()
const;
861 void toIDL(asdmIDL::CalWVRRowIDL& x)
const;
877 std::string
toXML()
const;
929 void fromText(
const std::string& attributeName,
const std::string& t);
void setChanWidth(std::vector< Frequency > chanWidth)
Set chanWidth with the specified std::vector<Frequency >.
void setWater(Length water)
Set water with the specified Length.
void calDataIdFromText(const std::string &s)
void calReductionIdFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalWVRAttributeFromBin > fromBinMethods
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void inputAntennaNamesFromText(const std::string &s)
void numInputAntennasFromBin(EndianIStream &eis)
int getNumPoly() const
===> Attribute numPoly
std::vector< std::vector< std::vector< float > > > pathCoeff
===> Attribute pathCoeff
std::vector< float > getDryPath() const
===> Attribute dryPath
void numPolyFromBin(EndianIStream &eis)
int numChan
===> Attribute numChan
WVRMethodMod::WVRMethod wvrMethod
===> Attribute wvrMethod
int numPoly
===> Attribute numPoly
void setNumPoly(int numPoly)
Set numPoly with the specified int.
bool equalByRequiredValue(CalWVRRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setWetPath(std::vector< float > wetPath)
Set wetPath with the specified std::vector<float >.
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
void setRefTemp(std::vector< std::vector< Temperature > > refTemp)
Set refTemp with the specified std::vector<std::vector<Temperature > >.
bool compareNoAutoInc(std::string antennaName, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, WVRMethodMod::WVRMethod wvrMethod, int numInputAntennas, std::vector< std::string > inputAntennaNames, int numChan, std::vector< Frequency > chanFreq, std::vector< Frequency > chanWidth, std::vector< std::vector< Temperature > > refTemp, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< Frequency > polyFreqLimits, std::vector< float > wetPath, std::vector< float > dryPath, Length water)
Compare each mandatory attribute except the autoincrementable one of this CalWVRRow with the correspo...
void wvrMethodFromText(const std::string &s)
void waterFromBin(EndianIStream &eis)
void setWvrMethod(WVRMethodMod::WVRMethod wvrMethod)
Set wvrMethod with the specified WVRMethodMod::WVRMethod.
void pathCoeffFromBin(EndianIStream &eis)
std::vector< float > getWetPath() const
===> Attribute wetPath
void setDryPath(std::vector< float > dryPath)
Set dryPath with the specified std::vector<float >.
virtual ~CalWVRRow()
friend class asdm::TableStreamReader<CalWVRTable, CalWVRRow>;
void wvrMethodFromBin(EndianIStream &eis)
void chanWidthFromText(const std::string &s)
void waterFromText(const std::string &s)
bool hasBeenAdded
Whether this row has been added to the table or not.
void numPolyFromText(const std::string &s)
CalWVRTable & getTable() const
Return the table to which this row belongs.
std::vector< Frequency > polyFreqLimits
===> Attribute polyFreqLimits
void setNumInputAntennas(int numInputAntennas)
Set numInputAntennas with the specified int.
asdmIDL::CalWVRRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void dryPathFromText(const std::string &s)
void setNumChan(int numChan)
Set numChan with the specified int.
void chanFreqFromBin(EndianIStream &eis)
void setPolyFreqLimits(std::vector< Frequency > polyFreqLimits)
Set polyFreqLimits with the specified std::vector<Frequency >.
std::vector< std::vector< Temperature > > getRefTemp() const
===> Attribute refTemp
ArrayTime endValidTime
===> Attribute endValidTime
void numInputAntennasFromText(const std::string &s)
void chanFreqFromText(const std::string &s)
The CalWVRRow class is a row of a CalWVRTable.
ArrayTime getEndValidTime() const
===> Attribute endValidTime
void pathCoeffFromText(const std::string &s)
void setChanFreq(std::vector< Frequency > chanFreq)
Set chanFreq with the specified std::vector<Frequency >.
void polyFreqLimitsFromBin(EndianIStream &eis)
The CalReductionRow class is a row of a CalReductionTable.
Tag calReductionId
===> Attribute calReductionId
Length getWater() const
===> Attribute water
std::vector< Frequency > chanWidth
===> Attribute chanWidth
The Length class implements a quantity of length in meters.
std::string toXML() const
Return this row in the form of an XML string.
void setPathCoeff(std::vector< std::vector< std::vector< float > > > pathCoeff)
Set pathCoeff with the specified std::vector<std::vector<std::vector<float > > >. ...
void setInputAntennaNames(std::vector< std::string > inputAntennaNames)
Set inputAntennaNames with the specified std::vector<std::string >.
std::vector< Frequency > getChanFreq() const
===> Attribute chanFreq
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void endValidTimeFromText(const std::string &s)
WVRMethodMod::WVRMethod getWvrMethod() const
===> Attribute wvrMethod
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void calDataIdFromBin(EndianIStream &eis)
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void numChanFromText(const std::string &s)
*text deserialization material std::map< std::string, CalWVRAttributeFromText > fromTextMethods
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void inputAntennaNamesFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
std::vector< Frequency > getChanWidth() const
===> Attribute chanWidth
void refTempFromBin(EndianIStream &eis)
std::vector< float > dryPath
===> Attribute dryPath
std::vector< float > wetPath
===> Attribute wetPath
void refTempFromText(const std::string &s)
int getNumInputAntennas() const
===> Attribute numInputAntennas
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void(CalWVRRow::* CalWVRAttributeFromText)(const std::string &s)
std::string getAntennaName() const
===> Attribute antennaName
void calReductionIdFromText(const std::string &s)
void setFromIDL(asdmIDL::CalWVRRowIDL x)
Fill the values of this row from the IDL struct CalWVRRowIDL.
std::vector< std::vector< Temperature > > refTemp
===> Attribute refTemp
std::vector< std::vector< std::vector< float > > > getPathCoeff() const
===> Attribute pathCoeff
void wetPathFromText(const std::string &s)
void chanWidthFromBin(EndianIStream &eis)
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
int numInputAntennas
===> Attribute numInputAntennas
bool isAdded() const
Has this row been added to its table ?
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, WVRMethodMod::WVRMethod wvrMethod, int numInputAntennas, std::vector< std::string > inputAntennaNames, int numChan, std::vector< Frequency > chanFreq, std::vector< Frequency > chanWidth, std::vector< std::vector< Temperature > > refTemp, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< Frequency > polyFreqLimits, std::vector< float > wetPath, std::vector< float > dryPath, Length water)
Compare each mandatory value (i.e.
Tag getCalReductionId() const
===> Attribute calReductionId
The CalDataRow class is a row of a CalDataTable.
void endValidTimeFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
std::string antennaName
===> Attribute antennaName
std::vector< Frequency > chanFreq
===> Attribute chanFreq
void antennaNameFromText(const std::string &s)
void(CalWVRRow::* CalWVRAttributeFromBin)(EndianIStream &eis)
void startValidTimeFromText(const std::string &s)
int getNumChan() const
===> Attribute numChan
std::vector< std::string > inputAntennaNames
===> Attribute inputAntennaNames
void antennaNameFromBin(EndianIStream &eis)
CalWVRTable & table
The table to which this row belongs.
std::vector< std::string > getInputAntennaNames() const
===> Attribute inputAntennaNames
void startValidTimeFromBin(EndianIStream &eis)
The CalWVRTable class is an Alma table.
CalWVRRow(CalWVRTable &table)
Create a CalWVRRow.
void wetPathFromBin(EndianIStream &eis)
Length water
===> Attribute water
void dryPathFromBin(EndianIStream &eis)
std::vector< Frequency > getPolyFreqLimits() const
===> Attribute polyFreqLimits
void polyFreqLimitsFromText(const std::string &s)
void numChanFromBin(EndianIStream &eis)
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...