34 #ifndef PolarizationRow_CLASS
35 #define PolarizationRow_CLASS
88 class PolarizationRow;
133 Tag getPolarizationId()
const;
183 std::vector<StokesParameterMod::StokesParameter >
getCorrType()
const;
213 std::vector<std::vector<PolarizationTypeMod::PolarizationType > >
getCorrProduct()
const;
288 asdmIDL::PolarizationRowIDL *
toIDL()
const;
297 void toIDL(asdmIDL::PolarizationRowIDL& x)
const;
306 void setFromIDL (asdmIDL::PolarizationRowIDL x) ;
313 std::string
toXML()
const;
328 std::map<std::string, PolarizationAttributeFromBin>
fromBinMethods;
351 void fromText(
const std::string& attributeName,
const std::string& t);
440 std::vector<StokesParameterMod::StokesParameter >
corrType;
451 std::vector<std::vector<PolarizationTypeMod::PolarizationType > >
corrProduct;
void(PolarizationRow::* PolarizationAttributeFromText)(const std::string &s)
bool hasBeenAdded
Whether this row has been added to the table or not.
void corrTypeFromText(const std::string &s)
void setNumCorr(int numCorr)
Set numCorr with the specified int.
void setCorrProduct(std::vector< std::vector< PolarizationTypeMod::PolarizationType > > corrProduct)
Set corrProduct with the specified std::vector<std::vector<PolarizationTypeMod::PolarizationType > >...
std::string toXML() const
Return this row in the form of an XML string.
void(PolarizationRow::* PolarizationAttributeFromBin)(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
void setFromIDL(asdmIDL::PolarizationRowIDL x)
Fill the values of this row from the IDL struct PolarizationRowIDL.
std::vector< std::vector< PolarizationTypeMod::PolarizationType > > corrProduct
===> Attribute corrProduct
void corrTypeFromBin(EndianIStream &eis)
std::vector< StokesParameterMod::StokesParameter > getCorrType() const
===> Attribute corrType
virtual ~PolarizationRow()
friend class asdm::TableStreamReader<PolarizationTable, PolarizationRow>;
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void corrProductFromBin(EndianIStream &eis)
void polarizationIdFromBin(EndianIStream &eis)
void corrProductFromText(const std::string &s)
std::vector< StokesParameterMod::StokesParameter > corrType
===> Attribute corrType
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, PolarizationAttributeFromBin > fromBinMethods
int numCorr
===> Attribute numCorr
std::vector< std::vector< PolarizationTypeMod::PolarizationType > > getCorrProduct() const
===> Attribute corrProduct
int getNumCorr() const
===> Attribute numCorr
void polarizationIdFromText(const std::string &s)
void numCorrFromBin(EndianIStream &eis)
PolarizationRow(PolarizationTable &table)
Create a PolarizationRow.
asdmIDL::PolarizationRowIDL * 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 setPolarizationId(Tag polarizationId)
Set polarizationId with the specified Tag value.
void setCorrType(std::vector< StokesParameterMod::StokesParameter > corrType)
Set corrType with the specified std::vector<StokesParameterMod::StokesParameter >.
PolarizationTable & getTable() const
Return the table to which this row belongs.
PolarizationTable & table
The table to which this row belongs.
Extrinsic Table Attributes Links *bool compareNoAutoInc(int numCorr, std::vector< StokesParameterMod::StokesParameter > corrType, std::vector< std::vector< PolarizationTypeMod::PolarizationType > > corrProduct)
Compare each mandatory attribute except the autoincrementable one of this PolarizationRow with the co...
*text deserialization material std::map< std::string, PolarizationAttributeFromText > fromTextMethods
The PolarizationTable class is an Alma table.
The PolarizationRow class is a row of a PolarizationTable.
bool isAdded() const
Has this row been added to its table ?
bool compareRequiredValue(int numCorr, std::vector< StokesParameterMod::StokesParameter > corrType, std::vector< std::vector< PolarizationTypeMod::PolarizationType > > corrProduct)
Compare each mandatory value (i.e.
bool equalByRequiredValue(PolarizationRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void numCorrFromText(const std::string &s)