34 #ifndef WVMCalRow_CLASS
35 #define WVMCalRow_CLASS
106 class SpectralWindowRow;
342 std::vector<std::vector<std::vector<float > > >
getPathCoeff()
const;
372 std::vector<std::vector<Temperature > >
getRefTemp()
const;
406 Tag getAntennaId()
const;
606 bool compareNoAutoInc(
Tag antennaId,
Tag spectralWindowId,
ArrayTimeInterval timeInterval, WVRMethodMod::WVRMethod
wvrMethod, std::vector<Frequency >
polyFreqLimits,
int numInputAntenna,
int numChan,
int numPoly, std::vector<std::vector<std::vector<float > > >
pathCoeff, std::vector<std::vector<Temperature > >
refTemp, std::vector<Tag>
inputAntennaId);
650 asdmIDL::WVMCalRowIDL *
toIDL()
const;
659 void toIDL(asdmIDL::WVMCalRowIDL& x)
const;
675 std::string
toXML()
const;
720 void fromText(
const std::string& attributeName,
const std::string& t);
841 std::vector<std::vector<std::vector<float > > >
pathCoeff;
852 std::vector<std::vector<Temperature > >
refTemp;
std::vector< Tag > inputAntennaId
===> Attribute inputAntennaId
void setWvrMethod(WVRMethodMod::WVRMethod wvrMethod)
Set wvrMethod with the specified WVRMethodMod::WVRMethod.
void inputAntennaIdFromText(const std::string &s)
Tag spectralWindowId
===> Attribute spectralWindowId
void setNumChan(int numChan)
Set numChan with the specified int.
std::vector< Frequency > polyFreqLimits
===> Attribute polyFreqLimits
WVMCalTable & getTable() const
Return the table to which this row belongs.
std::string toXML() const
Return this row in the form of an XML string.
std::vector< std::vector< Temperature > > refTemp
===> Attribute refTemp
void refTempFromText(const std::string &s)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
WVMCalTable & table
The table to which this row belongs.
void polyFreqLimitsFromBin(EndianIStream &eis)
int getNumPoly() const
===> Attribute numPoly
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
virtual ~WVMCalRow()
friend class asdm::TableStreamReader<WVMCalTable, WVMCalRow>;
void spectralWindowIdFromBin(EndianIStream &eis)
WVMCalRow(WVMCalTable &table)
Create a WVMCalRow.
void inputAntennaIdFromBin(EndianIStream &eis)
void timeIntervalFromBin(EndianIStream &eis)
WVRMethodMod::WVRMethod getWvrMethod() const
===> Attribute wvrMethod
bool hasBeenAdded
Whether this row has been added to the table or not.
void numInputAntennaFromBin(EndianIStream &eis)
int numPoly
===> Attribute numPoly
void refTempFromBin(EndianIStream &eis)
void setSpectralWindowId(Tag spectralWindowId)
Set spectralWindowId with the specified Tag.
Links *SpectralWindowRow * getSpectralWindowUsingSpectralWindowId()
spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId
bool isAdded() const
Has this row been added to its table ?
The WVMCalRow class is a row of a WVMCalTable.
void timeIntervalFromText(const std::string &s)
void setNumPoly(int numPoly)
Set numPoly with the specified int.
void numChanFromText(const std::string &s)
void setPolyFreqLimits(std::vector< Frequency > polyFreqLimits)
Set polyFreqLimits with the specified std::vector<Frequency >.
void spectralWindowIdFromText(const std::string &s)
void(WVMCalRow::* WVMCalAttributeFromBin)(EndianIStream &eis)
*text deserialization material std::map< std::string, WVMCalAttributeFromText > fromTextMethods
void wvrMethodFromBin(EndianIStream &eis)
asdmIDL::WVMCalRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void antennaIdFromText(const std::string &s)
WVRMethodMod::WVRMethod wvrMethod
===> Attribute wvrMethod
The WVMCalTable class is an Alma table.
int getNumInputAntenna() const
===> Attribute numInputAntenna
std::vector< std::vector< std::vector< float > > > getPathCoeff() const
===> Attribute pathCoeff
void numInputAntennaFromText(const std::string &s)
void pathCoeffFromText(const std::string &s)
The AntennaRow class is a row of a AntennaTable.
std::vector< std::vector< Temperature > > getRefTemp() const
===> Attribute refTemp
void addInputAntennaId(Tag id)
Append a Tag to inputAntennaId.
void numPolyFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool equalByRequiredValue(WVMCalRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void numChanFromBin(EndianIStream &eis)
void(WVMCalRow::* WVMCalAttributeFromText)(const std::string &s)
void setInputAntennaId(std::vector< Tag > inputAntennaId)
Set inputAntennaId with the specified std::vector<Tag> .
AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
std::vector< Frequency > getPolyFreqLimits() const
===> Attribute polyFreqLimits
bool compareNoAutoInc(Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, WVRMethodMod::WVRMethod wvrMethod, std::vector< Frequency > polyFreqLimits, int numInputAntenna, int numChan, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< std::vector< Temperature > > refTemp, std::vector< Tag > inputAntennaId)
Compare each mandatory attribute except the autoincrementable one of this WVMCalRow with the correspo...
std::vector< Tag > getInputAntennaId() const
===> Attribute inputAntennaId
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setNumInputAntenna(int numInputAntenna)
Set numInputAntenna with the specified int.
void wvrMethodFromText(const std::string &s)
int numChan
===> Attribute numChan
int getNumChan() const
===> Attribute numChan
void setFromIDL(asdmIDL::WVMCalRowIDL x)
Fill the values of this row from the IDL struct WVMCalRowIDL.
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
bool compareRequiredValue(WVRMethodMod::WVRMethod wvrMethod, std::vector< Frequency > polyFreqLimits, int numInputAntenna, int numChan, int numPoly, std::vector< std::vector< std::vector< float > > > pathCoeff, std::vector< std::vector< Temperature > > refTemp, std::vector< Tag > inputAntennaId)
Compare each mandatory value (i.e.
void polyFreqLimitsFromText(const std::string &s)
AntennaRow * getAntennaUsingInputAntennaId(int i)
Returns the AntennaRow linked to this row via the tag stored in inputAntennaId at position i...
std::vector< AntennaRow * > getAntennasUsingInputAntennaId()
Returns the vector of AntennaRow* linked to this row via the Tags stored in inputAntennaId.
int numInputAntenna
===> Attribute numInputAntenna
Tag getSpectralWindowId() const
===> Attribute spectralWindowId
The SpectralWindowRow class is a row of a SpectralWindowTable.
void numPolyFromText(const std::string &s)
std::vector< std::vector< std::vector< float > > > pathCoeff
===> Attribute pathCoeff
void setPathCoeff(std::vector< std::vector< std::vector< float > > > pathCoeff)
Set pathCoeff with the specified std::vector<std::vector<std::vector<float > > >. ...
void antennaIdFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, WVMCalAttributeFromBin > fromBinMethods
void setRefTemp(std::vector< std::vector< Temperature > > refTemp)
Set refTemp with the specified std::vector<std::vector<Temperature > >.
void pathCoeffFromBin(EndianIStream &eis)