casa
5.7.0-16
|
The PointingModelRow class is a row of a PointingModelTable. More...
#include <PointingModelRow.h>
Public Member Functions | |
virtual | ~PointingModelRow () |
friend class asdm::TableStreamReader<PointingModelTable, PointingModelRow>; More... | |
PointingModelTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
int | getNumCoeff () const |
===> Attribute numCoeff More... | |
void | setNumCoeff (int numCoeff) |
Set numCoeff with the specified int. More... | |
std::vector< std::string > | getCoeffName () const |
===> Attribute coeffName More... | |
void | setCoeffName (std::vector< std::string > coeffName) |
Set coeffName with the specified std::vector<std::string >. More... | |
std::vector< float > | getCoeffVal () const |
===> Attribute coeffVal More... | |
void | setCoeffVal (std::vector< float > coeffVal) |
Set coeffVal with the specified std::vector<float >. More... | |
PolarizationTypeMod::PolarizationType | getPolarizationType () const |
===> Attribute polarizationType More... | |
void | setPolarizationType (PolarizationTypeMod::PolarizationType polarizationType) |
Set polarizationType with the specified PolarizationTypeMod::PolarizationType. More... | |
ReceiverBandMod::ReceiverBand | getReceiverBand () const |
===> Attribute receiverBand More... | |
void | setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) |
Set receiverBand with the specified ReceiverBandMod::ReceiverBand. More... | |
std::string | getAssocNature () const |
===> Attribute assocNature More... | |
void | setAssocNature (std::string assocNature) |
Set assocNature with the specified std::string. More... | |
bool | isCoeffFormulaExists () const |
===> Attribute coeffFormula, which is optional More... | |
std::vector< std::string > | getCoeffFormula () const |
Get coeffFormula, which is optional. More... | |
void | setCoeffFormula (std::vector< std::string > coeffFormula) |
Set coeffFormula with the specified std::vector<std::string >. More... | |
void | clearCoeffFormula () |
Mark coeffFormula, which is an optional field, as non-existent. More... | |
void | setAntennaId (Tag antennaId) |
Set antennaId with the specified Tag. More... | |
int | getAssocPointingModelId () const |
===> Attribute assocPointingModelId More... | |
void | setAssocPointingModelId (int assocPointingModelId) |
Set assocPointingModelId with the specified int. More... | |
AntennaRow * | getAntennaUsingAntennaId () |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId More... | |
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 corresponding parameters and return true if there is a match and false otherwise. More... | |
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. More... | |
bool | equalByRequiredValue (PointingModelRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::PointingModelRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::PointingModelRowIDL &x) const |
Define the content of a PointingModelRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::PointingModelRowIDL x) |
Fill the values of this row from the IDL struct PointingModelRowIDL. More... | |
std::string | toXML () const |
Return this row in the form of an XML string. More... | |
void | setFromXML (std::string rowDoc) |
Fill the values of this row from an XML string that was produced by the toXML() method. More... | |
Public Attributes | |
Intrinsic Table | Attributes |
Extrinsic Table | Attributes |
Links | |
Private Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
PointingModelRow (PointingModelTable &table) | |
Create a PointingModelRow. More... | |
PointingModelRow (PointingModelTable &table, PointingModelRow *row) | |
Create a PointingModelRow using a copy constructor mechanism. More... | |
void | setPointingModelId (int pointingModelId) |
Set pointingModelId with the specified int value. More... | |
void | antennaIdFromBin (EndianIStream &eis) |
void | pointingModelIdFromBin (EndianIStream &eis) |
void | numCoeffFromBin (EndianIStream &eis) |
void | coeffNameFromBin (EndianIStream &eis) |
void | coeffValFromBin (EndianIStream &eis) |
void | polarizationTypeFromBin (EndianIStream &eis) |
void | receiverBandFromBin (EndianIStream &eis) |
void | assocNatureFromBin (EndianIStream &eis) |
void | assocPointingModelIdFromBin (EndianIStream &eis) |
void | coeffFormulaFromBin (EndianIStream &eis) |
void | antennaIdFromText (const std::string &s) |
void | pointingModelIdFromText (const std::string &s) |
void | numCoeffFromText (const std::string &s) |
void | coeffNameFromText (const std::string &s) |
void | coeffValFromText (const std::string &s) |
void | polarizationTypeFromText (const std::string &s) |
void | receiverBandFromText (const std::string &s) |
void | assocNatureFromText (const std::string &s) |
void | assocPointingModelIdFromText (const std::string &s) |
void | coeffFormulaFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
PointingModelTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | numCoeff |
===> Attribute numCoeff More... | |
std::vector< std::string > | coeffName |
===> Attribute coeffName More... | |
std::vector< float > | coeffVal |
===> Attribute coeffVal More... | |
PolarizationTypeMod::PolarizationType | polarizationType |
===> Attribute polarizationType More... | |
ReceiverBandMod::ReceiverBand | receiverBand |
===> Attribute receiverBand More... | |
std::string | assocNature |
===> Attribute assocNature More... | |
bool | coeffFormulaExists |
===> Attribute coeffFormula, which is optional More... | |
std::vector< std::string > | coeffFormula |
int | assocPointingModelId |
===> Attribute assocPointingModelId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, PointingModelAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, PointingModelAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::PointingModelTable |
class | asdm::RowTransformer< PointingModelRow > |
The PointingModelRow class is a row of a PointingModelTable.
Generated from model's revision "-1", branch ""
Definition at line 112 of file PointingModelRow.h.
|
virtual |
friend class asdm::TableStreamReader<PointingModelTable, PointingModelRow>;
|
private |
Create a PointingModelRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
|
private |
Create a PointingModelRow using a copy constructor mechanism.
Given a PointingModelRow row and a PointingModelTable table, the method creates a new PointingModelRow owned by table. Each attribute of the created row is a copy (deep) of the corresponding attribute of row. The method does not add the created row to its table, its simply parents it to table, a call to the add method has to be done in order to get the row added (very likely after having modified some of its attributes). If row is null then the method returns a row with default values for its attributes.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
table | The table to which this row belongs. |
row | The row which is to be copied. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::PointingModelRow::clearCoeffFormula | ( | ) |
Mark coeffFormula, which is an optional field, as non-existent.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
bool asdm::PointingModelRow::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 corresponding parameters and return true if there is a match and false otherwise.
antennaId | |
numCoeff | |
coeffName | |
coeffVal | |
polarizationType | |
receiverBand | |
assocNature | |
assocPointingModelId |
bool asdm::PointingModelRow::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.
not in the key) attribute with the corresponding parameters and return true if there is a match and false otherwise.
numCoeff | |
coeffName | |
coeffVal | |
polarizationType | |
receiverBand | |
assocNature | |
assocPointingModelId |
bool asdm::PointingModelRow::equalByRequiredValue | ( | PointingModelRow * | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
x | a pointer on the PointingModelRow whose required attributes of the value part will be compared with those of this. |
AntennaRow* asdm::PointingModelRow::getAntennaUsingAntennaId | ( | ) |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId
std::string asdm::PointingModelRow::getAssocNature | ( | ) | const |
===> Attribute assocNature
Get assocNature.
int asdm::PointingModelRow::getAssocPointingModelId | ( | ) | const |
===> Attribute assocPointingModelId
Get assocPointingModelId.
std::vector<std::string > asdm::PointingModelRow::getCoeffFormula | ( | ) | const |
Get coeffFormula, which is optional.
IllegalAccessException | If coeffFormula does not exist. |
std::vector<std::string > asdm::PointingModelRow::getCoeffName | ( | ) | const |
===> Attribute coeffName
Get coeffName.
std::vector<float > asdm::PointingModelRow::getCoeffVal | ( | ) | const |
===> Attribute coeffVal
Get coeffVal.
int asdm::PointingModelRow::getNumCoeff | ( | ) | const |
===> Attribute numCoeff
Get numCoeff.
PolarizationTypeMod::PolarizationType asdm::PointingModelRow::getPolarizationType | ( | ) | const |
===> Attribute polarizationType
Get polarizationType.
ReceiverBandMod::ReceiverBand asdm::PointingModelRow::getReceiverBand | ( | ) | const |
===> Attribute receiverBand
Get receiverBand.
PointingModelTable& asdm::PointingModelRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::PointingModelRow::isAdded | ( | ) | const |
Has this row been added to its table ?
|
private |
This method is used by the Table class when this row is added to the table.
bool asdm::PointingModelRow::isCoeffFormulaExists | ( | ) | const |
===> Attribute coeffFormula, which is optional
The attribute coeffFormula is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::PointingModelRow::setAntennaId | ( | Tag | antennaId | ) |
Set antennaId with the specified Tag.
antennaId | The Tag value to which antennaId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::PointingModelRow::setAssocNature | ( | std::string | assocNature | ) |
Set assocNature with the specified std::string.
assocNature | The std::string value to which assocNature is to be set. |
void asdm::PointingModelRow::setAssocPointingModelId | ( | int | assocPointingModelId | ) |
Set assocPointingModelId with the specified int.
assocPointingModelId | The int value to which assocPointingModelId is to be set. |
void asdm::PointingModelRow::setCoeffFormula | ( | std::vector< std::string > | coeffFormula | ) |
Set coeffFormula with the specified std::vector<std::string >.
coeffFormula | The std::vector<std::string > value to which coeffFormula is to be set. |
void asdm::PointingModelRow::setCoeffName | ( | std::vector< std::string > | coeffName | ) |
Set coeffName with the specified std::vector<std::string >.
coeffName | The std::vector<std::string > value to which coeffName is to be set. |
void asdm::PointingModelRow::setCoeffVal | ( | std::vector< float > | coeffVal | ) |
Set coeffVal with the specified std::vector<float >.
coeffVal | The std::vector<float > value to which coeffVal is to be set. |
void asdm::PointingModelRow::setFromIDL | ( | asdmIDL::PointingModelRowIDL | x | ) |
Fill the values of this row from the IDL struct PointingModelRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::PointingModelRow::setFromXML | ( | std::string | rowDoc | ) |
Fill the values of this row from an XML string that was produced by the toXML() method.
rowDoc | the XML string being used to set the values of this row. |
ConversionException |
void asdm::PointingModelRow::setNumCoeff | ( | int | numCoeff | ) |
Set numCoeff with the specified int.
numCoeff | The int value to which numCoeff is to be set. |
|
private |
Set pointingModelId with the specified int value.
pointingModelId | The int value to which pointingModelId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::PointingModelRow::setPolarizationType | ( | PolarizationTypeMod::PolarizationType | polarizationType | ) |
Set polarizationType with the specified PolarizationTypeMod::PolarizationType.
polarizationType | The PolarizationTypeMod::PolarizationType value to which polarizationType is to be set. |
void asdm::PointingModelRow::setReceiverBand | ( | ReceiverBandMod::ReceiverBand | receiverBand | ) |
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
receiverBand | The ReceiverBandMod::ReceiverBand value to which receiverBand is to be set. |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::PointingModelRowIDL* asdm::PointingModelRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::PointingModelRow::toIDL | ( | asdmIDL::PointingModelRowIDL & | x | ) | const |
Define the content of a PointingModelRowIDL struct from the values found in this row.
x | a reference to the PointingModelRowIDL struct to be set. |
std::string asdm::PointingModelRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 113 of file PointingModelRow.h.
|
friend |
Definition at line 114 of file PointingModelRow.h.
|
private |
===> Attribute assocNature
Definition at line 747 of file PointingModelRow.h.
|
private |
===> Attribute assocPointingModelId
Definition at line 786 of file PointingModelRow.h.
Extrinsic Table asdm::PointingModelRow::Attributes |
Definition at line 137 of file PointingModelRow.h.
Extrinsic Table asdm::PointingModelRow::Attributes |
Definition at line 382 of file PointingModelRow.h.
|
private |
Definition at line 760 of file PointingModelRow.h.
|
private |
===> Attribute coeffFormula, which is optional
Definition at line 757 of file PointingModelRow.h.
|
private |
===> Attribute coeffName
Definition at line 703 of file PointingModelRow.h.
|
private |
===> Attribute coeffVal
Definition at line 714 of file PointingModelRow.h.
|
private |
Definition at line 814 of file PointingModelRow.h.
|
private |
Definition at line 832 of file PointingModelRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 625 of file PointingModelRow.h.
asdm::PointingModelRow::Links |
Definition at line 451 of file PointingModelRow.h.
|
private |
===> Attribute numCoeff
Definition at line 692 of file PointingModelRow.h.
|
private |
===> Attribute polarizationType
Definition at line 725 of file PointingModelRow.h.
|
private |
===> Attribute receiverBand
Definition at line 736 of file PointingModelRow.h.
|
private |
The table to which this row belongs.
Definition at line 621 of file PointingModelRow.h.