casa
5.7.0-16
|
The FocusModelRow class is a row of a FocusModelTable. More...
#include <FocusModelRow.h>
Public Member Functions | |
virtual | ~FocusModelRow () |
friend class asdm::TableStreamReader<FocusModelTable, FocusModelRow>; More... | |
FocusModelTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? 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... | |
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< std::string > | getCoeffFormula () const |
===> Attribute coeffFormula More... | |
void | setCoeffFormula (std::vector< std::string > coeffFormula) |
Set coeffFormula 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... | |
std::string | getAssocNature () const |
===> Attribute assocNature More... | |
void | setAssocNature (std::string assocNature) |
Set assocNature with the specified std::string. More... | |
void | setAntennaId (Tag antennaId) |
Set antennaId with the specified Tag. More... | |
int | getAssocFocusModelId () const |
===> Attribute assocFocusModelId More... | |
void | setAssocFocusModelId (int assocFocusModelId) |
Set assocFocusModelId with the specified int. More... | |
Links *AntennaRow * | getAntennaUsingAntennaId () |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId More... | |
std::vector< FocusModelRow * > | getFocusModels () |
===> Slice link from a row of FocusModel table to a collection of row of FocusModel table. More... | |
bool | compareNoAutoInc (Tag antennaId, PolarizationTypeMod::PolarizationType polarizationType, ReceiverBandMod::ReceiverBand receiverBand, int numCoeff, std::vector< std::string > coeffName, std::vector< std::string > coeffFormula, std::vector< float > coeffVal, std::string assocNature, int assocFocusModelId) |
Compare each mandatory attribute except the autoincrementable one of this FocusModelRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (PolarizationTypeMod::PolarizationType polarizationType, ReceiverBandMod::ReceiverBand receiverBand, int numCoeff, std::vector< std::string > coeffName, std::vector< std::string > coeffFormula, std::vector< float > coeffVal, std::string assocNature, int assocFocusModelId) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (FocusModelRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::FocusModelRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::FocusModelRowIDL &x) const |
Define the content of a FocusModelRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::FocusModelRowIDL x) |
Fill the values of this row from the IDL struct FocusModelRowIDL. 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 |
Private Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
FocusModelRow (FocusModelTable &table) | |
Create a FocusModelRow. More... | |
FocusModelRow (FocusModelTable &table, FocusModelRow *row) | |
Create a FocusModelRow using a copy constructor mechanism. More... | |
void | setFocusModelId (int focusModelId) |
Set focusModelId with the specified int value. More... | |
void | antennaIdFromBin (EndianIStream &eis) |
void | focusModelIdFromBin (EndianIStream &eis) |
void | polarizationTypeFromBin (EndianIStream &eis) |
void | receiverBandFromBin (EndianIStream &eis) |
void | numCoeffFromBin (EndianIStream &eis) |
void | coeffNameFromBin (EndianIStream &eis) |
void | coeffFormulaFromBin (EndianIStream &eis) |
void | coeffValFromBin (EndianIStream &eis) |
void | assocNatureFromBin (EndianIStream &eis) |
void | assocFocusModelIdFromBin (EndianIStream &eis) |
void | antennaIdFromText (const std::string &s) |
void | focusModelIdFromText (const std::string &s) |
void | polarizationTypeFromText (const std::string &s) |
void | receiverBandFromText (const std::string &s) |
void | numCoeffFromText (const std::string &s) |
void | coeffNameFromText (const std::string &s) |
void | coeffFormulaFromText (const std::string &s) |
void | coeffValFromText (const std::string &s) |
void | assocNatureFromText (const std::string &s) |
void | assocFocusModelIdFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
FocusModelTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
PolarizationTypeMod::PolarizationType | polarizationType |
===> Attribute polarizationType More... | |
ReceiverBandMod::ReceiverBand | receiverBand |
===> Attribute receiverBand More... | |
int | numCoeff |
===> Attribute numCoeff More... | |
std::vector< std::string > | coeffName |
===> Attribute coeffName More... | |
std::vector< std::string > | coeffFormula |
===> Attribute coeffFormula More... | |
std::vector< float > | coeffVal |
===> Attribute coeffVal More... | |
std::string | assocNature |
===> Attribute assocNature More... | |
int | assocFocusModelId |
===> Attribute assocFocusModelId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, FocusModelAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, FocusModelAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::FocusModelTable |
class | asdm::RowTransformer< FocusModelRow > |
The FocusModelRow class is a row of a FocusModelTable.
Generated from model's revision "-1", branch ""
Definition at line 112 of file FocusModelRow.h.
|
virtual |
friend class asdm::TableStreamReader<FocusModelTable, FocusModelRow>;
|
private |
Create a FocusModelRow.
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 FocusModelRow using a copy constructor mechanism.
Given a FocusModelRow row and a FocusModelTable table, the method creates a new FocusModelRow 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 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
bool asdm::FocusModelRow::compareNoAutoInc | ( | Tag | antennaId, |
PolarizationTypeMod::PolarizationType | polarizationType, | ||
ReceiverBandMod::ReceiverBand | receiverBand, | ||
int | numCoeff, | ||
std::vector< std::string > | coeffName, | ||
std::vector< std::string > | coeffFormula, | ||
std::vector< float > | coeffVal, | ||
std::string | assocNature, | ||
int | assocFocusModelId | ||
) |
Compare each mandatory attribute except the autoincrementable one of this FocusModelRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaId | |
polarizationType | |
receiverBand | |
numCoeff | |
coeffName | |
coeffFormula | |
coeffVal | |
assocNature | |
assocFocusModelId |
bool asdm::FocusModelRow::compareRequiredValue | ( | PolarizationTypeMod::PolarizationType | polarizationType, |
ReceiverBandMod::ReceiverBand | receiverBand, | ||
int | numCoeff, | ||
std::vector< std::string > | coeffName, | ||
std::vector< std::string > | coeffFormula, | ||
std::vector< float > | coeffVal, | ||
std::string | assocNature, | ||
int | assocFocusModelId | ||
) |
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.
polarizationType | |
receiverBand | |
numCoeff | |
coeffName | |
coeffFormula | |
coeffVal | |
assocNature | |
assocFocusModelId |
bool asdm::FocusModelRow::equalByRequiredValue | ( | FocusModelRow * | 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 FocusModelRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
Links* AntennaRow* asdm::FocusModelRow::getAntennaUsingAntennaId | ( | ) |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId
int asdm::FocusModelRow::getAssocFocusModelId | ( | ) | const |
===> Attribute assocFocusModelId
Get assocFocusModelId.
std::string asdm::FocusModelRow::getAssocNature | ( | ) | const |
===> Attribute assocNature
Get assocNature.
std::vector<std::string > asdm::FocusModelRow::getCoeffFormula | ( | ) | const |
===> Attribute coeffFormula
Get coeffFormula.
std::vector<std::string > asdm::FocusModelRow::getCoeffName | ( | ) | const |
===> Attribute coeffName
Get coeffName.
std::vector<float > asdm::FocusModelRow::getCoeffVal | ( | ) | const |
===> Attribute coeffVal
Get coeffVal.
std::vector<FocusModelRow *> asdm::FocusModelRow::getFocusModels | ( | ) |
===> Slice link from a row of FocusModel table to a collection of row of FocusModel table.
Get the collection of row in the FocusModel table having focusModelId == this.focusModelId
int asdm::FocusModelRow::getNumCoeff | ( | ) | const |
===> Attribute numCoeff
Get numCoeff.
PolarizationTypeMod::PolarizationType asdm::FocusModelRow::getPolarizationType | ( | ) | const |
===> Attribute polarizationType
Get polarizationType.
ReceiverBandMod::ReceiverBand asdm::FocusModelRow::getReceiverBand | ( | ) | const |
===> Attribute receiverBand
Get receiverBand.
FocusModelTable& asdm::FocusModelRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::FocusModelRow::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.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::FocusModelRow::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::FocusModelRow::setAssocFocusModelId | ( | int | assocFocusModelId | ) |
Set assocFocusModelId with the specified int.
assocFocusModelId | The int value to which assocFocusModelId is to be set. |
void asdm::FocusModelRow::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::FocusModelRow::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::FocusModelRow::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::FocusModelRow::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. |
|
private |
Set focusModelId with the specified int value.
focusModelId | The int value to which focusModelId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::FocusModelRow::setFromIDL | ( | asdmIDL::FocusModelRowIDL | x | ) |
Fill the values of this row from the IDL struct FocusModelRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::FocusModelRow::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::FocusModelRow::setNumCoeff | ( | int | numCoeff | ) |
Set numCoeff with the specified int.
numCoeff | The int value to which numCoeff is to be set. |
void asdm::FocusModelRow::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::FocusModelRow::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::FocusModelRowIDL* asdm::FocusModelRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::FocusModelRow::toIDL | ( | asdmIDL::FocusModelRowIDL & | x | ) | const |
Define the content of a FocusModelRowIDL struct from the values found in this row.
x | a reference to the FocusModelRowIDL struct to be set. |
std::string asdm::FocusModelRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 113 of file FocusModelRow.h.
|
friend |
Definition at line 114 of file FocusModelRow.h.
|
private |
===> Attribute assocFocusModelId
Definition at line 777 of file FocusModelRow.h.
|
private |
===> Attribute assocNature
Definition at line 751 of file FocusModelRow.h.
Extrinsic Table asdm::FocusModelRow::Attributes |
Definition at line 137 of file FocusModelRow.h.
Extrinsic Table asdm::FocusModelRow::Attributes |
Definition at line 371 of file FocusModelRow.h.
|
private |
===> Attribute coeffFormula
Definition at line 729 of file FocusModelRow.h.
|
private |
===> Attribute coeffName
Definition at line 718 of file FocusModelRow.h.
|
private |
===> Attribute coeffVal
Definition at line 740 of file FocusModelRow.h.
|
private |
Definition at line 805 of file FocusModelRow.h.
|
private |
Definition at line 823 of file FocusModelRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 618 of file FocusModelRow.h.
|
private |
===> Attribute numCoeff
Definition at line 707 of file FocusModelRow.h.
|
private |
===> Attribute polarizationType
Definition at line 685 of file FocusModelRow.h.
|
private |
===> Attribute receiverBand
Definition at line 696 of file FocusModelRow.h.
|
private |
The table to which this row belongs.
Definition at line 614 of file FocusModelRow.h.