34 #ifndef PointingModelRow_CLASS
35 #define PointingModelRow_CLASS
96 class PointingModelRow;
102 class PointingModelRow;
147 int getPointingModelId()
const;
392 Tag getAntennaId()
const;
458 std::vector <PointingModelRow *> getPointingModels();
545 asdmIDL::PointingModelRowIDL *
toIDL()
const;
554 void toIDL(asdmIDL::PointingModelRowIDL& x)
const;
563 void setFromIDL (asdmIDL::PointingModelRowIDL x) ;
570 std::string
toXML()
const;
585 std::map<std::string, PointingModelAttributeFromBin>
fromBinMethods;
614 void fromText(
const std::string& attributeName,
const std::string& t);
bool compareRequiredValue(int numCoeff, std::vector< std::string > coeffName, std::vector< float > coeffVal, PolarizationTypeMod::PolarizationType polarizationType, ReceiverBandMod::ReceiverBand receiverBand, std::string assocNature, int assocPointingModelId)
Compare each mandatory value (i.e.
PolarizationTypeMod::PolarizationType polarizationType
===> Attribute polarizationType
void receiverBandFromText(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.
void coeffFormulaFromText(const std::string &s)
asdmIDL::PointingModelRowIDL * toIDL() const
Return this row in the form of an IDL struct.
void assocNatureFromBin(EndianIStream &eis)
std::vector< std::string > coeffFormula
void coeffNameFromText(const std::string &s)
void setPolarizationType(PolarizationTypeMod::PolarizationType polarizationType)
Set polarizationType with the specified PolarizationTypeMod::PolarizationType.
int numCoeff
===> Attribute numCoeff
void coeffNameFromBin(EndianIStream &eis)
int getNumCoeff() const
===> Attribute numCoeff
The PointingModelTable class is an Alma table.
void setAssocPointingModelId(int assocPointingModelId)
Set assocPointingModelId with the specified int.
void setPointingModelId(int pointingModelId)
Set pointingModelId with the specified int value.
std::string toXML() const
Return this row in the form of an XML string.
std::vector< std::string > getCoeffFormula() const
Get coeffFormula, which is optional.
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
bool coeffFormulaExists
===> Attribute coeffFormula, which is optional
void antennaIdFromText(const std::string &s)
void polarizationTypeFromText(const std::string &s)
void numCoeffFromBin(EndianIStream &eis)
PointingModelTable & table
The table to which this row belongs.
void setNumCoeff(int numCoeff)
Set numCoeff with the specified int.
ReceiverBandMod::ReceiverBand getReceiverBand() const
===> Attribute receiverBand
void assocNatureFromText(const std::string &s)
void numCoeffFromText(const std::string &s)
The PointingModelRow class is a row of a PointingModelTable.
std::string getAssocNature() const
===> Attribute assocNature
The AntennaRow class is a row of a AntennaTable.
std::string assocNature
===> Attribute assocNature
ReceiverBandMod::ReceiverBand receiverBand
===> Attribute receiverBand
virtual ~PointingModelRow()
friend class asdm::TableStreamReader<PointingModelTable, PointingModelRow>;
PointingModelRow(PointingModelTable &table)
Create a PointingModelRow.
std::vector< std::string > getCoeffName() const
===> Attribute coeffName
void receiverBandFromBin(EndianIStream &eis)
void clearCoeffFormula()
Mark coeffFormula, which is an optional field, as non-existent.
AntennaRow * getAntennaUsingAntennaId()
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId ...
bool isCoeffFormulaExists() const
===> Attribute coeffFormula, which is optional
PolarizationTypeMod::PolarizationType getPolarizationType() const
===> Attribute polarizationType
int getAssocPointingModelId() const
===> Attribute assocPointingModelId
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
Links *binary deserialization material from an EndianIStream std::map< std::string, PointingModelAttributeFromBin > fromBinMethods
void(PointingModelRow::* PointingModelAttributeFromBin)(EndianIStream &eis)
void(PointingModelRow::* PointingModelAttributeFromText)(const std::string &s)
void setAntennaId(Tag antennaId)
Set antennaId with the specified Tag.
void coeffFormulaFromBin(EndianIStream &eis)
void setAssocNature(std::string assocNature)
Set assocNature with the specified std::string.
bool compareNoAutoInc(Tag antennaId, int numCoeff, std::vector< std::string > coeffName, std::vector< float > coeffVal, PolarizationTypeMod::PolarizationType polarizationType, ReceiverBandMod::ReceiverBand receiverBand, std::string assocNature, int assocPointingModelId)
Compare each mandatory attribute except the autoincrementable one of this PointingModelRow with the c...
std::vector< float > coeffVal
===> Attribute coeffVal
int assocPointingModelId
===> Attribute assocPointingModelId
bool hasBeenAdded
Whether this row has been added to the table or not.
void setCoeffVal(std::vector< float > coeffVal)
Set coeffVal with the specified std::vector<float >.
PointingModelTable & getTable() const
Return the table to which this row belongs.
void setCoeffName(std::vector< std::string > coeffName)
Set coeffName with the specified std::vector<std::string >.
*text deserialization material std::map< std::string, PointingModelAttributeFromText > fromTextMethods
bool isAdded() const
Has this row been added to its table ?
void assocPointingModelIdFromText(const std::string &s)
std::vector< std::string > coeffName
===> Attribute coeffName
std::vector< float > getCoeffVal() const
===> Attribute coeffVal
void setCoeffFormula(std::vector< std::string > coeffFormula)
Set coeffFormula with the specified std::vector<std::string >.
void pointingModelIdFromBin(EndianIStream &eis)
bool equalByRequiredValue(PointingModelRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void setReceiverBand(ReceiverBandMod::ReceiverBand receiverBand)
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
void antennaIdFromBin(EndianIStream &eis)
void pointingModelIdFromText(const std::string &s)
void assocPointingModelIdFromBin(EndianIStream &eis)
void polarizationTypeFromBin(EndianIStream &eis)
void coeffValFromText(const std::string &s)
void coeffValFromBin(EndianIStream &eis)
void setFromIDL(asdmIDL::PointingModelRowIDL x)
Fill the values of this row from the IDL struct PointingModelRowIDL.