34 #ifndef CalAtmosphereRow_CLASS
35 #define CalAtmosphereRow_CLASS
176 class CalReductionRow;
182 class CalAtmosphereRow;
227 ReceiverBandMod::ReceiverBand getReceiverBand()
const;
893 std::vector<Temperature >
getTAtm()
const;
923 std::vector<Temperature >
getTRec()
const;
953 std::vector<Temperature >
getTSys()
const;
983 std::vector<float >
getTau()
const;
1013 std::vector<Length >
getWater()
const;
1323 Tag getCalDataId()
const;
1478 bool compareNoAutoInc(std::string
antennaName, ReceiverBandMod::ReceiverBand receiverBand, BasebandNameMod::BasebandName
basebandName,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime,
int numFreq,
int numLoad,
int numReceptor, std::vector<std::vector<float > >
forwardEffSpectrum, std::vector<Frequency >
frequencyRange,
Pressure groundPressure,
Humidity groundRelHumidity, std::vector<Frequency >
frequencySpectrum,
Temperature groundTemperature, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<float > >
powerSkySpectrum, std::vector<std::vector<std::vector<float > > >
powerLoadSpectrum, SyscalMethodMod::SyscalMethod
syscalType, std::vector<std::vector<Temperature > >
tAtmSpectrum, std::vector<std::vector<Temperature > >
tRecSpectrum, std::vector<std::vector<Temperature > >
tSysSpectrum, std::vector<std::vector<float > >
tauSpectrum, std::vector<Temperature >
tAtm, std::vector<Temperature >
tRec, std::vector<Temperature >
tSys, std::vector<float >
tau, std::vector<Length >
water, std::vector<Length >
waterError);
1538 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime,
int numFreq,
int numLoad,
int numReceptor, std::vector<std::vector<float > >
forwardEffSpectrum, std::vector<Frequency >
frequencyRange,
Pressure groundPressure,
Humidity groundRelHumidity, std::vector<Frequency >
frequencySpectrum,
Temperature groundTemperature, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<std::vector<float > >
powerSkySpectrum, std::vector<std::vector<std::vector<float > > >
powerLoadSpectrum, SyscalMethodMod::SyscalMethod
syscalType, std::vector<std::vector<Temperature > >
tAtmSpectrum, std::vector<std::vector<Temperature > >
tRecSpectrum, std::vector<std::vector<Temperature > >
tSysSpectrum, std::vector<std::vector<float > >
tauSpectrum, std::vector<Temperature >
tAtm, std::vector<Temperature >
tRec, std::vector<Temperature >
tSys, std::vector<float >
tau, std::vector<Length >
water, std::vector<Length >
waterError);
1556 asdmIDL::CalAtmosphereRowIDL *
toIDL()
const;
1565 void toIDL(asdmIDL::CalAtmosphereRowIDL& x)
const;
1574 void setFromIDL (asdmIDL::CalAtmosphereRowIDL x) ;
1581 std::string
toXML()
const;
1596 std::map<std::string, CalAtmosphereAttributeFromBin>
fromBinMethods;
1651 void fromText(
const std::string& attributeName,
const std::string& t);
1706 ReceiverBandMod::ReceiverBand receiverBand;
bool sbGainExists
===> Attribute sbGain, which is optional
void groundPressureFromBin(EndianIStream &eis)
void setGroundTemperature(Temperature groundTemperature)
Set groundTemperature with the specified Temperature.
std::vector< float > forwardEfficiency
void forwardEffSpectrumFromBin(EndianIStream &eis)
bool sbGainSpectrumExists
===> Attribute sbGainSpectrum, which is optional
bool sbGainErrorExists
===> Attribute sbGainError, which is optional
std::vector< std::vector< Temperature > > getTAtmSpectrum() const
===> Attribute tAtmSpectrum
CalAtmosphereRow(CalAtmosphereTable &table)
Create a CalAtmosphereRow.
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void(CalAtmosphereRow::* CalAtmosphereAttributeFromText)(const std::string &s)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
void frequencySpectrumFromBin(EndianIStream &eis)
CalAtmosphereTable & table
The table to which this row belongs.
bool isAlphaSpectrumExists() const
===> Attribute alphaSpectrum, which is optional
void waterErrorFromBin(EndianIStream &eis)
void waterFromText(const std::string &s)
void basebandNameFromBin(EndianIStream &eis)
std::vector< std::vector< float > > powerSkySpectrum
===> Attribute powerSkySpectrum
std::vector< std::vector< float > > forwardEffSpectrum
===> Attribute forwardEffSpectrum
void setNumLoad(int numLoad)
Set numLoad with the specified int.
void forwardEfficiencyFromText(const std::string &s)
void sbGainSpectrumFromBin(EndianIStream &eis)
void tSysFromBin(EndianIStream &eis)
void setTau(std::vector< float > tau)
Set tau with the specified std::vector<float >.
void setGroundRelHumidity(Humidity groundRelHumidity)
Set groundRelHumidity with the specified Humidity.
void polarizationTypesFromBin(EndianIStream &eis)
void tRecFromText(const std::string &s)
void numLoadFromText(const std::string &s)
void clearSbGainError()
Mark sbGainError, which is an optional field, as non-existent.
void calDataIdFromText(const std::string &s)
std::vector< float > sbGain
bool isForwardEfficiencyExists() const
===> Attribute forwardEfficiency, which is optional
void powerSkySpectrumFromText(const std::string &s)
void antennaNameFromBin(EndianIStream &eis)
std::vector< Frequency > getFrequencySpectrum() const
===> Attribute frequencySpectrum
void setPowerSkySpectrum(std::vector< std::vector< float > > powerSkySpectrum)
Set powerSkySpectrum with the specified std::vector<std::vector<float > >.
int getNumFreq() const
===> Attribute numFreq
Temperature getGroundTemperature() const
===> Attribute groundTemperature
void forwardEfficiencyErrorFromBin(EndianIStream &eis)
void calReductionIdFromText(const std::string &s)
void endValidTimeFromText(const std::string &s)
void startValidTimeFromText(const std::string &s)
bool hasBeenAdded
Whether this row has been added to the table or not.
void setSbGainError(std::vector< float > sbGainError)
Set sbGainError with the specified std::vector<float >.
void groundRelHumidityFromBin(EndianIStream &eis)
void alphaSpectrumFromText(const std::string &s)
bool isSbGainErrorExists() const
===> Attribute sbGainError, which is optional
std::vector< Frequency > frequencyRange
===> Attribute frequencyRange
std::vector< Length > waterError
===> Attribute waterError
CalAtmosphereTable & getTable() const
Return the table to which this row belongs.
void setTRecSpectrum(std::vector< std::vector< Temperature > > tRecSpectrum)
Set tRecSpectrum with the specified std::vector<std::vector<Temperature > >.
std::vector< std::vector< Temperature > > tRecSpectrum
===> Attribute tRecSpectrum
std::string toXML() const
Return this row in the form of an XML string.
The Humidity class implements a quantity of humidity in percent.
void setForwardEfficiency(std::vector< float > forwardEfficiency)
Set forwardEfficiency with the specified std::vector<float >.
std::vector< float > getSbGainError() const
Get sbGainError, which is optional.
void frequencySpectrumFromText(const std::string &s)
void setWater(std::vector< Length > water)
Set water with the specified std::vector<Length >.
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
void powerSkySpectrumFromBin(EndianIStream &eis)
void numFreqFromText(const std::string &s)
void setFrequencySpectrum(std::vector< Frequency > frequencySpectrum)
Set frequencySpectrum with the specified std::vector<Frequency >.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
void calDataIdFromBin(EndianIStream &eis)
ArrayTime getEndValidTime() const
===> Attribute endValidTime
SyscalMethodMod::SyscalMethod getSyscalType() const
===> Attribute syscalType
void tAtmFromBin(EndianIStream &eis)
SyscalMethodMod::SyscalMethod syscalType
===> Attribute syscalType
std::vector< float > tau
===> Attribute tau
void syscalTypeFromBin(EndianIStream &eis)
void tauSpectrumFromText(const std::string &s)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void sbGainErrorFromText(const std::string &s)
void clearSbGain()
Mark sbGain, which is an optional field, as non-existent.
int getNumLoad() const
===> Attribute numLoad
The Temperature class implements a quantity of temperature in degrees Kelvin.
void tRecFromBin(EndianIStream &eis)
std::vector< double > forwardEfficiencyError
std::vector< Temperature > getTSys() const
===> Attribute tSys
BasebandNameMod::BasebandName basebandName
===> Attribute basebandName
void sbGainFromBin(EndianIStream &eis)
bool isForwardEfficiencyErrorExists() const
===> Attribute forwardEfficiencyError, which is optional
void tRecSpectrumFromBin(EndianIStream &eis)
ArrayTime getStartValidTime() const
===> Attribute startValidTime
void setSbGainSpectrum(std::vector< std::vector< float > > sbGainSpectrum)
Set sbGainSpectrum with the specified std::vector<std::vector<float > >.
void tSysSpectrumFromBin(EndianIStream &eis)
bool alphaSpectrumExists
===> Attribute alphaSpectrum, which is optional
void numFreqFromBin(EndianIStream &eis)
void basebandNameFromText(const std::string &s)
void forwardEfficiencyFromBin(EndianIStream &eis)
void groundTemperatureFromText(const std::string &s)
void setTSysSpectrum(std::vector< std::vector< Temperature > > tSysSpectrum)
Set tSysSpectrum with the specified std::vector<std::vector<Temperature > >.
int numFreq
===> Attribute numFreq
void polarizationTypesFromText(const std::string &s)
void tauFromBin(EndianIStream &eis)
void startValidTimeFromBin(EndianIStream &eis)
std::vector< Frequency > frequencySpectrum
===> Attribute frequencySpectrum
void alphaSpectrumFromBin(EndianIStream &eis)
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
Tag calReductionId
===> Attribute calReductionId
void setTRec(std::vector< Temperature > tRec)
Set tRec with the specified std::vector<Temperature >.
bool isAdded() const
Has this row been added to its table ?
void clearForwardEfficiencyError()
Mark forwardEfficiencyError, which is an optional field, as non-existent.
int getNumReceptor() const
===> Attribute numReceptor
The CalReductionRow class is a row of a CalReductionTable.
void sbGainErrorFromBin(EndianIStream &eis)
bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, BasebandNameMod::BasebandName basebandName, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, int numFreq, int numLoad, int numReceptor, std::vector< std::vector< float > > forwardEffSpectrum, std::vector< Frequency > frequencyRange, Pressure groundPressure, Humidity groundRelHumidity, std::vector< Frequency > frequencySpectrum, Temperature groundTemperature, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< float > > powerSkySpectrum, std::vector< std::vector< std::vector< float > > > powerLoadSpectrum, SyscalMethodMod::SyscalMethod syscalType, std::vector< std::vector< Temperature > > tAtmSpectrum, std::vector< std::vector< Temperature > > tRecSpectrum, std::vector< std::vector< Temperature > > tSysSpectrum, std::vector< std::vector< float > > tauSpectrum, std::vector< Temperature > tAtm, std::vector< Temperature > tRec, std::vector< Temperature > tSys, std::vector< float > tau, std::vector< Length > water, std::vector< Length > waterError)
Compare each mandatory attribute except the autoincrementable one of this CalAtmosphereRow with the c...
ArrayTime startValidTime
===> Attribute startValidTime
void setFromIDL(asdmIDL::CalAtmosphereRowIDL x)
Fill the values of this row from the IDL struct CalAtmosphereRowIDL.
The Pressure class implements a quantity of pressure in hectopascals.
void tauSpectrumFromBin(EndianIStream &eis)
ArrayTime endValidTime
===> Attribute endValidTime
std::vector< Length > getWaterError() const
===> Attribute waterError
Tag getCalReductionId() const
===> Attribute calReductionId
std::vector< std::vector< float > > getTauSpectrum() const
===> Attribute tauSpectrum
std::string getAntennaName() const
===> Attribute antennaName
void syscalTypeFromText(const std::string &s)
Pressure groundPressure
===> Attribute groundPressure
void sbGainFromText(const std::string &s)
void setForwardEffSpectrum(std::vector< std::vector< float > > forwardEffSpectrum)
Set forwardEffSpectrum with the specified std::vector<std::vector<float > >.
void setNumFreq(int numFreq)
Set numFreq with the specified int.
bool forwardEfficiencyErrorExists
===> Attribute forwardEfficiencyError, which is optional
int numLoad
===> Attribute numLoad
void frequencyRangeFromText(const std::string &s)
void tSysFromText(const std::string &s)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
Humidity groundRelHumidity
===> Attribute groundRelHumidity
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void setFrequencyRange(std::vector< Frequency > frequencyRange)
Set frequencyRange with the specified std::vector<Frequency >.
void setSbGain(std::vector< float > sbGain)
Set sbGain with the specified std::vector<float >.
void waterErrorFromText(const std::string &s)
std::vector< float > sbGainError
asdmIDL::CalAtmosphereRowIDL * toIDL() const
Return this row in the form of an IDL struct.
Pressure getGroundPressure() const
===> Attribute groundPressure
void clearForwardEfficiency()
Mark forwardEfficiency, which is an optional field, as non-existent.
void powerLoadSpectrumFromBin(EndianIStream &eis)
Humidity getGroundRelHumidity() const
===> Attribute groundRelHumidity
std::vector< Temperature > tSys
===> Attribute tSys
void groundRelHumidityFromText(const std::string &s)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
void antennaNameFromText(const std::string &s)
void waterFromBin(EndianIStream &eis)
void endValidTimeFromBin(EndianIStream &eis)
std::vector< std::vector< float > > alphaSpectrum
void tSysSpectrumFromText(const std::string &s)
std::vector< std::vector< float > > getAlphaSpectrum() const
Get alphaSpectrum, which is optional.
The CalAtmosphereTable class is an Alma table.
void setTAtmSpectrum(std::vector< std::vector< Temperature > > tAtmSpectrum)
Set tAtmSpectrum with the specified std::vector<std::vector<Temperature > >.
std::vector< std::vector< Temperature > > tSysSpectrum
===> Attribute tSysSpectrum
void setTAtm(std::vector< Temperature > tAtm)
Set tAtm with the specified std::vector<Temperature >.
void groundTemperatureFromBin(EndianIStream &eis)
void tAtmSpectrumFromText(const std::string &s)
int numReceptor
===> Attribute numReceptor
void numReceptorFromBin(EndianIStream &eis)
bool forwardEfficiencyExists
===> Attribute forwardEfficiency, which is optional
void tauFromText(const std::string &s)
void clearSbGainSpectrum()
Mark sbGainSpectrum, which is an optional field, as non-existent.
std::vector< std::vector< Temperature > > getTSysSpectrum() const
===> Attribute tSysSpectrum
void setForwardEfficiencyError(std::vector< double > forwardEfficiencyError)
Set forwardEfficiencyError with the specified std::vector<double >.
void numLoadFromBin(EndianIStream &eis)
std::vector< Length > getWater() const
===> Attribute water
virtual ~CalAtmosphereRow()
friend class asdm::TableStreamReader<CalAtmosphereTable, CalAtmosphereRow>;
void tRecSpectrumFromText(const std::string &s)
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void setTauSpectrum(std::vector< std::vector< float > > tauSpectrum)
Set tauSpectrum with the specified std::vector<std::vector<float > >.
std::vector< Temperature > getTAtm() const
===> Attribute tAtm
void setWaterError(std::vector< Length > waterError)
Set waterError with the specified std::vector<Length >.
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
std::vector< Length > water
===> Attribute water
Links *binary deserialization material from an EndianIStream std::map< std::string, CalAtmosphereAttributeFromBin > fromBinMethods
void setSyscalType(SyscalMethodMod::SyscalMethod syscalType)
Set syscalType with the specified SyscalMethodMod::SyscalMethod.
std::vector< std::vector< float > > getForwardEffSpectrum() const
===> Attribute forwardEffSpectrum
void setPowerLoadSpectrum(std::vector< std::vector< std::vector< float > > > powerLoadSpectrum)
Set powerLoadSpectrum with the specified std::vector<std::vector<std::vector<float > > >...
void clearAlphaSpectrum()
Mark alphaSpectrum, which is an optional field, as non-existent.
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
std::vector< double > getForwardEfficiencyError() const
Get forwardEfficiencyError, which is optional.
The CalDataRow class is a row of a CalDataTable.
std::vector< std::vector< float > > getPowerSkySpectrum() const
===> Attribute powerSkySpectrum
std::vector< std::vector< Temperature > > tAtmSpectrum
===> Attribute tAtmSpectrum
void calReductionIdFromBin(EndianIStream &eis)
void setAlphaSpectrum(std::vector< std::vector< float > > alphaSpectrum)
Set alphaSpectrum with the specified std::vector<std::vector<float > >.
void tAtmSpectrumFromBin(EndianIStream &eis)
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
std::vector< std::vector< float > > tauSpectrum
===> Attribute tauSpectrum
void tAtmFromText(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.
The CalAtmosphereRow class is a row of a CalAtmosphereTable.
*text deserialization material std::map< std::string, CalAtmosphereAttributeFromText > fromTextMethods
std::vector< std::vector< float > > sbGainSpectrum
void setGroundPressure(Pressure groundPressure)
Set groundPressure with the specified Pressure.
std::vector< std::vector< std::vector< float > > > powerLoadSpectrum
===> Attribute powerLoadSpectrum
std::vector< std::vector< std::vector< float > > > getPowerLoadSpectrum() const
===> Attribute powerLoadSpectrum
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, int numFreq, int numLoad, int numReceptor, std::vector< std::vector< float > > forwardEffSpectrum, std::vector< Frequency > frequencyRange, Pressure groundPressure, Humidity groundRelHumidity, std::vector< Frequency > frequencySpectrum, Temperature groundTemperature, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< float > > powerSkySpectrum, std::vector< std::vector< std::vector< float > > > powerLoadSpectrum, SyscalMethodMod::SyscalMethod syscalType, std::vector< std::vector< Temperature > > tAtmSpectrum, std::vector< std::vector< Temperature > > tRecSpectrum, std::vector< std::vector< Temperature > > tSysSpectrum, std::vector< std::vector< float > > tauSpectrum, std::vector< Temperature > tAtm, std::vector< Temperature > tRec, std::vector< Temperature > tSys, std::vector< float > tau, std::vector< Length > water, std::vector< Length > waterError)
Compare each mandatory value (i.e.
void sbGainSpectrumFromText(const std::string &s)
bool isSbGainSpectrumExists() const
===> Attribute sbGainSpectrum, which is optional
std::vector< float > getForwardEfficiency() const
Get forwardEfficiency, which is optional.
void groundPressureFromText(const std::string &s)
void frequencyRangeFromBin(EndianIStream &eis)
std::vector< Frequency > getFrequencyRange() const
===> Attribute frequencyRange
void numReceptorFromText(const std::string &s)
std::string antennaName
===> Attribute antennaName
void forwardEffSpectrumFromText(const std::string &s)
BasebandNameMod::BasebandName getBasebandName() const
===> Attribute basebandName
Temperature groundTemperature
===> Attribute groundTemperature
std::vector< Temperature > tAtm
===> Attribute tAtm
bool equalByRequiredValue(CalAtmosphereRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void receiverBandFromText(const std::string &s)
bool isSbGainExists() const
===> Attribute sbGain, which is optional
void powerLoadSpectrumFromText(const std::string &s)
std::vector< std::vector< float > > getSbGainSpectrum() const
Get sbGainSpectrum, which is optional.
std::vector< Temperature > getTRec() const
===> Attribute tRec
void setTSys(std::vector< Temperature > tSys)
Set tSys with the specified std::vector<Temperature >.
void(CalAtmosphereRow::* CalAtmosphereAttributeFromBin)(EndianIStream &eis)
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
std::vector< std::vector< Temperature > > getTRecSpectrum() const
===> Attribute tRecSpectrum
std::vector< float > getTau() const
===> Attribute tau
void receiverBandFromBin(EndianIStream &eis)
std::vector< float > getSbGain() const
Get sbGain, which is optional.
void forwardEfficiencyErrorFromText(const std::string &s)
std::vector< Temperature > tRec
===> Attribute tRec