34 #ifndef CalPrimaryBeamRow_CLASS
35 #define CalPrimaryBeamRow_CLASS
136 class CalReductionRow;
142 class CalPrimaryBeamRow;
187 std::string getAntennaName()
const;
735 Tag getCalDataId()
const;
870 bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand
receiverBand,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime, AntennaMakeMod::AntennaMake
antennaMake,
int numSubband, std::vector<std::vector<Frequency > >
frequencyRange,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<double >
mainBeamEfficiency,
EntityRef beamDescriptionUID,
float relativeAmplitudeRms, std::vector<Angle >
direction, std::vector<Angle >
minValidDirection, std::vector<Angle >
maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription
descriptionType, std::vector<int >
imageChannelNumber, std::vector<Frequency >
imageNominalFrequency);
912 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime, AntennaMakeMod::AntennaMake
antennaMake,
int numSubband, std::vector<std::vector<Frequency > >
frequencyRange,
int numReceptor, std::vector<PolarizationTypeMod::PolarizationType >
polarizationTypes, std::vector<double >
mainBeamEfficiency,
EntityRef beamDescriptionUID,
float relativeAmplitudeRms, std::vector<Angle >
direction, std::vector<Angle >
minValidDirection, std::vector<Angle >
maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription
descriptionType, std::vector<int >
imageChannelNumber, std::vector<Frequency >
imageNominalFrequency);
930 asdmIDL::CalPrimaryBeamRowIDL *
toIDL()
const;
939 void toIDL(asdmIDL::CalPrimaryBeamRowIDL& x)
const;
948 void setFromIDL (asdmIDL::CalPrimaryBeamRowIDL x) ;
955 std::string
toXML()
const;
970 std::map<std::string, CalPrimaryBeamAttributeFromBin>
fromBinMethods;
1009 void fromText(
const std::string& attributeName,
const std::string& t);
1064 std::string antennaName;
float relativeAmplitudeRms
===> Attribute relativeAmplitudeRms
The CalPrimaryBeamRow class is a row of a CalPrimaryBeamTable.
EntityRef beamDescriptionUID
===> Attribute beamDescriptionUID
void polarizationTypesFromText(const std::string &s)
PrimaryBeamDescriptionMod::PrimaryBeamDescription getDescriptionType() const
===> Attribute descriptionType
void relativeAmplitudeRmsFromBin(EndianIStream &eis)
void receiverBandFromBin(EndianIStream &eis)
void antennaMakeFromText(const std::string &s)
void setPolarizationTypes(std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >...
virtual ~CalPrimaryBeamRow()
friend class asdm::TableStreamReader<CalPrimaryBeamTable, CalPrimaryBeamRow>;
void minValidDirectionFromBin(EndianIStream &eis)
The CalPrimaryBeamTable class is an Alma table.
void receiverBandFromText(const std::string &s)
void numSubbandFromText(const std::string &s)
ArrayTime endValidTime
===> Attribute endValidTime
std::vector< double > mainBeamEfficiency
===> Attribute mainBeamEfficiency
std::vector< double > getMainBeamEfficiency() const
===> Attribute mainBeamEfficiency
std::vector< Angle > maxValidDirection
===> Attribute maxValidDirection
void setMainBeamEfficiency(std::vector< double > mainBeamEfficiency)
Set mainBeamEfficiency with the specified std::vector<double >.
*text deserialization material std::map< std::string, CalPrimaryBeamAttributeFromText > fromTextMethods
CalPrimaryBeamTable & table
The table to which this row belongs.
ArrayTime getEndValidTime() const
===> Attribute endValidTime
void antennaNameFromText(const std::string &s)
void calReductionIdFromText(const std::string &s)
asdmIDL::CalPrimaryBeamRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void mainBeamEfficiencyFromText(const std::string &s)
std::vector< int > imageChannelNumber
===> Attribute imageChannelNumber
void setImageChannelNumber(std::vector< int > imageChannelNumber)
Set imageChannelNumber with the specified std::vector<int >.
void polarizationTypesFromBin(EndianIStream &eis)
void setImageNominalFrequency(std::vector< Frequency > imageNominalFrequency)
Set imageNominalFrequency with the specified std::vector<Frequency >.
void setMaxValidDirection(std::vector< Angle > maxValidDirection)
Set maxValidDirection with the specified std::vector<Angle >.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
std::vector< Angle > direction
===> Attribute direction
AntennaMakeMod::AntennaMake antennaMake
===> Attribute antennaMake
Tag calReductionId
===> Attribute calReductionId
void numReceptorFromBin(EndianIStream &eis)
void setFrequencyRange(std::vector< std::vector< Frequency > > frequencyRange)
Set frequencyRange with the specified std::vector<std::vector<Frequency > >.
void setFromIDL(asdmIDL::CalPrimaryBeamRowIDL x)
Fill the values of this row from the IDL struct CalPrimaryBeamRowIDL.
std::vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes() const
===> Attribute polarizationTypes
Tag getCalReductionId() const
===> Attribute calReductionId
void startValidTimeFromBin(EndianIStream &eis)
float getRelativeAmplitudeRms() const
===> Attribute relativeAmplitudeRms
void(CalPrimaryBeamRow::* CalPrimaryBeamAttributeFromBin)(EndianIStream &eis)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
std::string toXML() const
Return this row in the form of an XML string.
AntennaMakeMod::AntennaMake getAntennaMake() const
===> Attribute antennaMake
The EntityRef class is an identification of a persistant entity in the ALMA archive.
void calDataIdFromText(const std::string &s)
void maxValidDirectionFromText(const std::string &s)
void setMinValidDirection(std::vector< Angle > minValidDirection)
Set minValidDirection with the specified std::vector<Angle >.
void frequencyRangeFromText(const std::string &s)
void endValidTimeFromText(const std::string &s)
std::vector< std::vector< Frequency > > frequencyRange
===> Attribute frequencyRange
std::vector< Frequency > getImageNominalFrequency() const
===> Attribute imageNominalFrequency
void(CalPrimaryBeamRow::* CalPrimaryBeamAttributeFromText)(const std::string &s)
void setDirection(std::vector< Angle > direction)
Set direction with the specified std::vector<Angle >.
EntityRef getBeamDescriptionUID() const
===> Attribute beamDescriptionUID
void numReceptorFromText(const std::string &s)
void setNumSubband(int numSubband)
Set numSubband with the specified int.
Links *binary deserialization material from an EndianIStream std::map< std::string, CalPrimaryBeamAttributeFromBin > fromBinMethods
The CalReductionRow class is a row of a CalReductionTable.
void imageNominalFrequencyFromText(const std::string &s)
void numSubbandFromBin(EndianIStream &eis)
void antennaMakeFromBin(EndianIStream &eis)
std::vector< Angle > getMaxValidDirection() const
===> Attribute maxValidDirection
CalPrimaryBeamRow(CalPrimaryBeamTable &table)
Create a CalPrimaryBeamRow.
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void imageChannelNumberFromText(const std::string &s)
void beamDescriptionUIDFromBin(EndianIStream &eis)
void setDescriptionType(PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType)
Set descriptionType with the specified PrimaryBeamDescriptionMod::PrimaryBeamDescription.
CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void directionFromBin(EndianIStream &eis)
void maxValidDirectionFromBin(EndianIStream &eis)
CalPrimaryBeamTable & getTable() const
Return the table to which this row belongs.
std::vector< Angle > getDirection() const
===> Attribute direction
void startValidTimeFromText(const std::string &s)
void setAntennaName(std::string antennaName)
Set antennaName with the specified std::string.
int getNumSubband() const
===> Attribute numSubband
void frequencyRangeFromBin(EndianIStream &eis)
std::vector< int > getImageChannelNumber() const
===> Attribute imageChannelNumber
void mainBeamEfficiencyFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Links *CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
void directionFromText(const std::string &s)
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numSubband, std::vector< std::vector< Frequency > > frequencyRange, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< double > mainBeamEfficiency, EntityRef beamDescriptionUID, float relativeAmplitudeRms, std::vector< Angle > direction, std::vector< Angle > minValidDirection, std::vector< Angle > maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType, std::vector< int > imageChannelNumber, std::vector< Frequency > imageNominalFrequency)
Compare each mandatory value (i.e.
int getNumReceptor() const
===> Attribute numReceptor
void calDataIdFromBin(EndianIStream &eis)
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
std::vector< Frequency > imageNominalFrequency
===> Attribute imageNominalFrequency
void relativeAmplitudeRmsFromText(const std::string &s)
std::vector< Angle > getMinValidDirection() const
===> Attribute minValidDirection
std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes
===> Attribute polarizationTypes
void imageNominalFrequencyFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
void setNumReceptor(int numReceptor)
Set numReceptor with the specified int.
std::vector< Angle > minValidDirection
===> Attribute minValidDirection
bool compareNoAutoInc(std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numSubband, std::vector< std::vector< Frequency > > frequencyRange, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< double > mainBeamEfficiency, EntityRef beamDescriptionUID, float relativeAmplitudeRms, std::vector< Angle > direction, std::vector< Angle > minValidDirection, std::vector< Angle > maxValidDirection, PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType, std::vector< int > imageChannelNumber, std::vector< Frequency > imageNominalFrequency)
Compare each mandatory attribute except the autoincrementable one of this CalPrimaryBeamRow with the ...
The CalDataRow class is a row of a CalDataTable.
PrimaryBeamDescriptionMod::PrimaryBeamDescription descriptionType
===> Attribute descriptionType
bool isAdded() const
Has this row been added to its table ?
void setBeamDescriptionUID(EntityRef beamDescriptionUID)
Set beamDescriptionUID with the specified EntityRef.
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void descriptionTypeFromText(const std::string &s)
int numSubband
===> Attribute numSubband
void setRelativeAmplitudeRms(float relativeAmplitudeRms)
Set relativeAmplitudeRms with the specified float.
ArrayTime startValidTime
===> Attribute startValidTime
void setAntennaMake(AntennaMakeMod::AntennaMake antennaMake)
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void antennaNameFromBin(EndianIStream &eis)
void minValidDirectionFromText(const std::string &s)
int numReceptor
===> Attribute numReceptor
ArrayTime getStartValidTime() const
===> Attribute startValidTime
void imageChannelNumberFromBin(EndianIStream &eis)
void calReductionIdFromBin(EndianIStream &eis)
void descriptionTypeFromBin(EndianIStream &eis)
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
void endValidTimeFromBin(EndianIStream &eis)
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
std::vector< std::vector< Frequency > > getFrequencyRange() const
===> Attribute frequencyRange
bool equalByRequiredValue(CalPrimaryBeamRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...