34 #ifndef WeatherRow_CLASS
35 #define WeatherRow_CLASS
792 Tag getStationId()
const;
865 asdmIDL::WeatherRowIDL *
toIDL()
const;
874 void toIDL(asdmIDL::WeatherRowIDL& x)
const;
890 std::string
toXML()
const;
940 void fromText(
const std::string& attributeName,
const std::string& t);
void numWVRFromText(const std::string &s)
bool compareNoAutoInc(Tag stationId, ArrayTimeInterval timeInterval)
Compare each mandatory attribute except the autoincrementable one of this WeatherRow with the corresp...
Temperature getTemperature() const
Get temperature, which is optional.
bool relHumidityExists
===> Attribute relHumidity, which is optional
void temperatureFromText(const std::string &s)
void waterFromText(const std::string &s)
void numLayerFromBin(EndianIStream &eis)
void clearWater()
Mark water, which is an optional field, as non-existent.
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void setNumWVR(int numWVR)
Set numWVR with the specified int.
std::vector< Temperature > getTemperatureProfile() const
Get temperatureProfile, which is optional.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void layerHeightFromText(const std::string &s)
bool isRelHumidityExists() const
===> Attribute relHumidity, which is optional
bool temperatureProfileExists
===> Attribute temperatureProfile, which is optional
bool windMaxExists
===> Attribute windMax, which is optional
The ArrayTimeInterval class aggregates an instance of ArrayTime and an instance of Interval...
WeatherTable & getTable() const
Return the table to which this row belongs.
std::string toXML() const
Return this row in the form of an XML string.
void setWindSpeed(Speed windSpeed)
Set windSpeed with the specified Speed.
bool isCloudMonitorExists() const
===> Attribute cloudMonitor, which is optional
void setFromIDL(asdmIDL::WeatherRowIDL x)
Fill the values of this row from the IDL struct WeatherRowIDL.
void clearPressure()
Mark pressure, which is an optional field, as non-existent.
void setDewPoint(Temperature dewPoint)
Set dewPoint with the specified Temperature.
void setTemperature(Temperature temperature)
Set temperature with the specified Temperature.
void setWvrTemp(std::vector< Temperature > wvrTemp)
Set wvrTemp with the specified std::vector<Temperature >.
void(WeatherRow::* WeatherAttributeFromBin)(EndianIStream &eis)
bool isNumLayerExists() const
===> Attribute numLayer, which is optional
Links *StationRow * getStationUsingStationId()
stationId pointer to the row in the Station table having Station.stationId == stationId ...
bool isWindDirectionExists() const
===> Attribute windDirection, which is optional
void waterFromBin(EndianIStream &eis)
bool isTemperatureExists() const
===> Attribute temperature, which is optional
WeatherTable & table
The table to which this row belongs.
The Humidity class implements a quantity of humidity in percent.
void clearWindMax()
Mark windMax, which is an optional field, as non-existent.
Humidity getRelHumidity() const
Get relHumidity, which is optional.
std::vector< Temperature > temperatureProfile
void setTimeInterval(ArrayTimeInterval timeInterval)
Set timeInterval with the specified ArrayTimeInterval.
void setWindMax(Speed windMax)
Set windMax with the specified Speed.
bool isWindMaxExists() const
===> Attribute windMax, which is optional
int getNumLayer() const
Get numLayer, which is optional.
void setPressure(Pressure pressure)
Set pressure with the specified Pressure.
void setNumLayer(int numLayer)
Set numLayer with the specified int.
WeatherRow(WeatherTable &table)
Create a WeatherRow.
The Temperature class implements a quantity of temperature in degrees Kelvin.
void windMaxFromText(const std::string &s)
bool numLayerExists
===> Attribute numLayer, which is optional
void clearRelHumidity()
Mark relHumidity, which is an optional field, as non-existent.
Angle getWindDirection() const
Get windDirection, which is optional.
void wvrTempFromText(const std::string &s)
bool windSpeedExists
===> Attribute windSpeed, which is optional
void clearNumWVR()
Mark numWVR, which is an optional field, as non-existent.
The Angle class implements a quantity of angle in radians.
virtual ~WeatherRow()
friend class asdm::TableStreamReader<WeatherTable, WeatherRow>;
void timeIntervalFromBin(EndianIStream &eis)
bool pressureExists
===> Attribute pressure, which is optional
Pressure getPressure() const
Get pressure, which is optional.
std::vector< Temperature > getWvrTemp() const
Get wvrTemp, which is optional.
bool isAdded() const
Has this row been added to its table ?
void clearWindDirection()
Mark windDirection, which is an optional field, as non-existent.
void clearCloudMonitor()
Mark cloudMonitor, which is an optional field, as non-existent.
void dewPointFromText(const std::string &s)
*text deserialization material std::map< std::string, WeatherAttributeFromText > fromTextMethods
void relHumidityFromBin(EndianIStream &eis)
void clearTemperatureProfile()
Mark temperatureProfile, which is an optional field, as non-existent.
bool isWvrTempExists() const
===> Attribute wvrTemp, which is optional
bool isWindSpeedExists() const
===> Attribute windSpeed, which is optional
bool dewPointExists
===> Attribute dewPoint, which is optional
void timeIntervalFromText(const std::string &s)
Temperature getCloudMonitor() const
Get cloudMonitor, which is optional.
bool numWVRExists
===> Attribute numWVR, which is optional
void cloudMonitorFromBin(EndianIStream &eis)
void setCloudMonitor(Temperature cloudMonitor)
Set cloudMonitor with the specified Temperature.
void(WeatherRow::* WeatherAttributeFromText)(const std::string &s)
The Pressure class implements a quantity of pressure in hectopascals.
void clearWvrTemp()
Mark wvrTemp, which is an optional field, as non-existent.
bool isWaterExists() const
===> Attribute water, which is optional
void setStationId(Tag stationId)
Set stationId with the specified Tag.
bool waterExists
===> Attribute water, which is optional
double getWater() const
Get water, which is optional.
void pressureFromBin(EndianIStream &eis)
Links *binary deserialization material from an EndianIStream std::map< std::string, WeatherAttributeFromBin > fromBinMethods
void numWVRFromBin(EndianIStream &eis)
std::vector< Length > getLayerHeight() const
Get layerHeight, which is optional.
bool wvrTempExists
===> Attribute wvrTemp, which is optional
void temperatureProfileFromBin(EndianIStream &eis)
void dewPointFromBin(EndianIStream &eis)
void clearNumLayer()
Mark numLayer, which is an optional field, as non-existent.
bool isTemperatureProfileExists() const
===> Attribute temperatureProfile, which is optional
asdmIDL::WeatherRowIDL * toIDL() const
Return this row in the form of an IDL struct.
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
void windSpeedFromText(const std::string &s)
void setRelHumidity(Humidity relHumidity)
Set relHumidity with the specified Humidity.
void clearTemperature()
Mark temperature, which is an optional field, as non-existent.
void windSpeedFromBin(EndianIStream &eis)
void numLayerFromText(const std::string &s)
void relHumidityFromText(const std::string &s)
bool isDewPointExists() const
===> Attribute dewPoint, which is optional
void wvrTempFromBin(EndianIStream &eis)
bool layerHeightExists
===> Attribute layerHeight, which is optional
void setTemperatureProfile(std::vector< Temperature > temperatureProfile)
Set temperatureProfile with the specified std::vector<Temperature >.
void clearDewPoint()
Mark dewPoint, which is an optional field, as non-existent.
void pressureFromText(const std::string &s)
void setLayerHeight(std::vector< Length > layerHeight)
Set layerHeight with the specified std::vector<Length >.
void windDirectionFromBin(EndianIStream &eis)
bool isNumWVRExists() const
===> Attribute numWVR, which is optional
The WeatherTable class is an Alma table.
Speed getWindSpeed() const
Get windSpeed, which is optional.
void cloudMonitorFromText(const std::string &s)
void setWater(double water)
Set water with the specified double.
bool isLayerHeightExists() const
===> Attribute layerHeight, which is optional
bool temperatureExists
===> Attribute temperature, which is optional
void windDirectionFromText(const std::string &s)
void temperatureFromBin(EndianIStream &eis)
bool windDirectionExists
===> Attribute windDirection, which is optional
The Speed class implements a quantity of speed in meters per second.
int getNumWVR() const
Get numWVR, which is optional.
Temperature getDewPoint() const
Get dewPoint, which is optional.
Speed getWindMax() const
Get windMax, which is optional.
void clearLayerHeight()
Mark layerHeight, which is an optional field, as non-existent.
void layerHeightFromBin(EndianIStream &eis)
The WeatherRow class is a row of a WeatherTable.
bool cloudMonitorExists
===> Attribute cloudMonitor, which is optional
void windMaxFromBin(EndianIStream &eis)
The StationRow class is a row of a StationTable.
void setWindDirection(Angle windDirection)
Set windDirection with the specified Angle.
bool isPressureExists() const
===> Attribute pressure, which is optional
bool equalByRequiredValue(WeatherRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void stationIdFromText(const std::string &s)
void stationIdFromBin(EndianIStream &eis)
void temperatureProfileFromText(const std::string &s)
std::vector< Length > layerHeight
void clearWindSpeed()
Mark windSpeed, which is an optional field, as non-existent.
bool hasBeenAdded
Whether this row has been added to the table or not.
std::vector< Temperature > wvrTemp