casa
5.7.0-16
|
The CalFocusModelRow class is a row of a CalFocusModelTable. More...
#include <CalFocusModelRow.h>
Public Member Functions | |
virtual | ~CalFocusModelRow () |
friend class asdm::TableStreamReader<CalFocusModelTable, CalFocusModelRow>; More... | |
CalFocusModelTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setAntennaName (std::string antennaName) |
Set antennaName with the specified std::string. More... | |
ReceiverBandMod::ReceiverBand | getReceiverBand () const |
===> Attribute receiverBand More... | |
void | setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) |
Set receiverBand with the specified ReceiverBandMod::ReceiverBand. More... | |
PolarizationTypeMod::PolarizationType | getPolarizationType () const |
===> Attribute polarizationType More... | |
void | setPolarizationType (PolarizationTypeMod::PolarizationType polarizationType) |
Set polarizationType with the specified PolarizationTypeMod::PolarizationType. More... | |
ArrayTime | getStartValidTime () const |
===> Attribute startValidTime More... | |
void | setStartValidTime (ArrayTime startValidTime) |
Set startValidTime with the specified ArrayTime. More... | |
ArrayTime | getEndValidTime () const |
===> Attribute endValidTime More... | |
void | setEndValidTime (ArrayTime endValidTime) |
Set endValidTime with the specified ArrayTime. More... | |
AntennaMakeMod::AntennaMake | getAntennaMake () const |
===> Attribute antennaMake More... | |
void | setAntennaMake (AntennaMakeMod::AntennaMake antennaMake) |
Set antennaMake with the specified AntennaMakeMod::AntennaMake. More... | |
int | getNumCoeff () const |
===> Attribute numCoeff More... | |
void | setNumCoeff (int numCoeff) |
Set numCoeff with the specified int. More... | |
int | getNumSourceObs () const |
===> Attribute numSourceObs More... | |
void | setNumSourceObs (int numSourceObs) |
Set numSourceObs 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 > | getCoeffValue () const |
===> Attribute coeffValue More... | |
void | setCoeffValue (std::vector< float > coeffValue) |
Set coeffValue with the specified std::vector<float >. More... | |
std::vector< float > | getCoeffError () const |
===> Attribute coeffError More... | |
void | setCoeffError (std::vector< float > coeffError) |
Set coeffError with the specified std::vector<float >. More... | |
std::vector< bool > | getCoeffFixed () const |
===> Attribute coeffFixed More... | |
void | setCoeffFixed (std::vector< bool > coeffFixed) |
Set coeffFixed with the specified std::vector<bool >. More... | |
std::string | getFocusModel () const |
===> Attribute focusModel More... | |
void | setFocusModel (std::string focusModel) |
Set focusModel with the specified std::string. More... | |
std::vector< Length > | getFocusRMS () const |
===> Attribute focusRMS More... | |
void | setFocusRMS (std::vector< Length > focusRMS) |
Set focusRMS with the specified std::vector<Length >. More... | |
double | getReducedChiSquared () const |
===> Attribute reducedChiSquared More... | |
void | setReducedChiSquared (double reducedChiSquared) |
Set reducedChiSquared with the specified double. More... | |
void | setCalDataId (Tag calDataId) |
Set calDataId with the specified Tag. More... | |
Tag | getCalReductionId () const |
===> Attribute calReductionId More... | |
void | setCalReductionId (Tag calReductionId) |
Set calReductionId with the specified Tag. More... | |
Links *CalReductionRow * | getCalReductionUsingCalReductionId () |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId More... | |
CalDataRow * | getCalDataUsingCalDataId () |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId More... | |
bool | compareNoAutoInc (std::string antennaName, ReceiverBandMod::ReceiverBand receiverBand, PolarizationTypeMod::PolarizationType polarizationType, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numCoeff, int numSourceObs, std::vector< std::string > coeffName, std::vector< std::string > coeffFormula, std::vector< float > coeffValue, std::vector< float > coeffError, std::vector< bool > coeffFixed, std::string focusModel, std::vector< Length > focusRMS, double reducedChiSquared) |
Compare each mandatory attribute except the autoincrementable one of this CalFocusModelRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (ArrayTime startValidTime, ArrayTime endValidTime, AntennaMakeMod::AntennaMake antennaMake, int numCoeff, int numSourceObs, std::vector< std::string > coeffName, std::vector< std::string > coeffFormula, std::vector< float > coeffValue, std::vector< float > coeffError, std::vector< bool > coeffFixed, std::string focusModel, std::vector< Length > focusRMS, double reducedChiSquared) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalFocusModelRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalFocusModelRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalFocusModelRowIDL &x) const |
Define the content of a CalFocusModelRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalFocusModelRowIDL x) |
Fill the values of this row from the IDL struct CalFocusModelRowIDL. 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 Attributes | |
CalFocusModelTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
ReceiverBandMod::ReceiverBand | receiverBand |
===> Attribute receiverBand More... | |
PolarizationTypeMod::PolarizationType | polarizationType |
===> Attribute polarizationType More... | |
ArrayTime | startValidTime |
===> Attribute startValidTime More... | |
ArrayTime | endValidTime |
===> Attribute endValidTime More... | |
AntennaMakeMod::AntennaMake | antennaMake |
===> Attribute antennaMake More... | |
int | numCoeff |
===> Attribute numCoeff More... | |
int | numSourceObs |
===> Attribute numSourceObs More... | |
std::vector< std::string > | coeffName |
===> Attribute coeffName More... | |
std::vector< std::string > | coeffFormula |
===> Attribute coeffFormula More... | |
std::vector< float > | coeffValue |
===> Attribute coeffValue More... | |
std::vector< float > | coeffError |
===> Attribute coeffError More... | |
std::vector< bool > | coeffFixed |
===> Attribute coeffFixed More... | |
std::string | focusModel |
===> Attribute focusModel More... | |
std::vector< Length > | focusRMS |
===> Attribute focusRMS More... | |
double | reducedChiSquared |
===> Attribute reducedChiSquared More... | |
Tag | calReductionId |
===> Attribute calReductionId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, CalFocusModelAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalFocusModelAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalFocusModelTable |
class | asdm::RowTransformer< CalFocusModelRow > |
The CalFocusModelRow class is a row of a CalFocusModelTable.
Generated from model's revision "-1", branch ""
Definition at line 138 of file CalFocusModelRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalFocusModelTable, CalFocusModelRow>;
|
private |
Create a CalFocusModelRow.
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 CalFocusModelRow using a copy constructor mechanism.
Given a CalFocusModelRow row and a CalFocusModelTable table, the method creates a new CalFocusModelRow 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 |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
bool asdm::CalFocusModelRow::compareNoAutoInc | ( | std::string | antennaName, |
ReceiverBandMod::ReceiverBand | receiverBand, | ||
PolarizationTypeMod::PolarizationType | polarizationType, | ||
Tag | calDataId, | ||
Tag | calReductionId, | ||
ArrayTime | startValidTime, | ||
ArrayTime | endValidTime, | ||
AntennaMakeMod::AntennaMake | antennaMake, | ||
int | numCoeff, | ||
int | numSourceObs, | ||
std::vector< std::string > | coeffName, | ||
std::vector< std::string > | coeffFormula, | ||
std::vector< float > | coeffValue, | ||
std::vector< float > | coeffError, | ||
std::vector< bool > | coeffFixed, | ||
std::string | focusModel, | ||
std::vector< Length > | focusRMS, | ||
double | reducedChiSquared | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalFocusModelRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaName | |
receiverBand | |
polarizationType | |
calDataId | |
calReductionId | |
startValidTime | |
endValidTime | |
antennaMake | |
numCoeff | |
numSourceObs | |
coeffName | |
coeffFormula | |
coeffValue | |
coeffError | |
coeffFixed | |
focusModel | |
focusRMS | |
reducedChiSquared |
bool asdm::CalFocusModelRow::compareRequiredValue | ( | ArrayTime | startValidTime, |
ArrayTime | endValidTime, | ||
AntennaMakeMod::AntennaMake | antennaMake, | ||
int | numCoeff, | ||
int | numSourceObs, | ||
std::vector< std::string > | coeffName, | ||
std::vector< std::string > | coeffFormula, | ||
std::vector< float > | coeffValue, | ||
std::vector< float > | coeffError, | ||
std::vector< bool > | coeffFixed, | ||
std::string | focusModel, | ||
std::vector< Length > | focusRMS, | ||
double | reducedChiSquared | ||
) |
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.
startValidTime | |
endValidTime | |
antennaMake | |
numCoeff | |
numSourceObs | |
coeffName | |
coeffFormula | |
coeffValue | |
coeffError | |
coeffFixed | |
focusModel | |
focusRMS | |
reducedChiSquared |
|
private |
|
private |
bool asdm::CalFocusModelRow::equalByRequiredValue | ( | CalFocusModelRow * | 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 CalFocusModelRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
|
private |
|
private |
AntennaMakeMod::AntennaMake asdm::CalFocusModelRow::getAntennaMake | ( | ) | const |
===> Attribute antennaMake
Get antennaMake.
CalDataRow* asdm::CalFocusModelRow::getCalDataUsingCalDataId | ( | ) |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId
Tag asdm::CalFocusModelRow::getCalReductionId | ( | ) | const |
Links* CalReductionRow* asdm::CalFocusModelRow::getCalReductionUsingCalReductionId | ( | ) |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId
std::vector<float > asdm::CalFocusModelRow::getCoeffError | ( | ) | const |
===> Attribute coeffError
Get coeffError.
std::vector<bool > asdm::CalFocusModelRow::getCoeffFixed | ( | ) | const |
===> Attribute coeffFixed
Get coeffFixed.
std::vector<std::string > asdm::CalFocusModelRow::getCoeffFormula | ( | ) | const |
===> Attribute coeffFormula
Get coeffFormula.
std::vector<std::string > asdm::CalFocusModelRow::getCoeffName | ( | ) | const |
===> Attribute coeffName
Get coeffName.
std::vector<float > asdm::CalFocusModelRow::getCoeffValue | ( | ) | const |
===> Attribute coeffValue
Get coeffValue.
ArrayTime asdm::CalFocusModelRow::getEndValidTime | ( | ) | const |
std::string asdm::CalFocusModelRow::getFocusModel | ( | ) | const |
===> Attribute focusModel
Get focusModel.
std::vector<Length > asdm::CalFocusModelRow::getFocusRMS | ( | ) | const |
===> Attribute focusRMS
Get focusRMS.
int asdm::CalFocusModelRow::getNumCoeff | ( | ) | const |
===> Attribute numCoeff
Get numCoeff.
int asdm::CalFocusModelRow::getNumSourceObs | ( | ) | const |
===> Attribute numSourceObs
Get numSourceObs.
PolarizationTypeMod::PolarizationType asdm::CalFocusModelRow::getPolarizationType | ( | ) | const |
===> Attribute polarizationType
Get polarizationType.
ReceiverBandMod::ReceiverBand asdm::CalFocusModelRow::getReceiverBand | ( | ) | const |
===> Attribute receiverBand
Get receiverBand.
double asdm::CalFocusModelRow::getReducedChiSquared | ( | ) | const |
===> Attribute reducedChiSquared
Get reducedChiSquared.
ArrayTime asdm::CalFocusModelRow::getStartValidTime | ( | ) | const |
CalFocusModelTable& asdm::CalFocusModelRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::CalFocusModelRow::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 |
|
private |
|
private |
|
private |
|
private |
void asdm::CalFocusModelRow::setAntennaMake | ( | AntennaMakeMod::AntennaMake | antennaMake | ) |
Set antennaMake with the specified AntennaMakeMod::AntennaMake.
antennaMake | The AntennaMakeMod::AntennaMake value to which antennaMake is to be set. |
void asdm::CalFocusModelRow::setAntennaName | ( | std::string | antennaName | ) |
Set antennaName with the specified std::string.
antennaName | The std::string value to which antennaName is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalFocusModelRow::setCalDataId | ( | Tag | calDataId | ) |
Set calDataId with the specified Tag.
calDataId | The Tag value to which calDataId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalFocusModelRow::setCalReductionId | ( | Tag | calReductionId | ) |
Set calReductionId with the specified Tag.
calReductionId | The Tag value to which calReductionId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalFocusModelRow::setCoeffError | ( | std::vector< float > | coeffError | ) |
Set coeffError with the specified std::vector<float >.
coeffError | The std::vector<float > value to which coeffError is to be set. |
void asdm::CalFocusModelRow::setCoeffFixed | ( | std::vector< bool > | coeffFixed | ) |
Set coeffFixed with the specified std::vector<bool >.
coeffFixed | The std::vector<bool > value to which coeffFixed is to be set. |
void asdm::CalFocusModelRow::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::CalFocusModelRow::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::CalFocusModelRow::setCoeffValue | ( | std::vector< float > | coeffValue | ) |
Set coeffValue with the specified std::vector<float >.
coeffValue | The std::vector<float > value to which coeffValue is to be set. |
void asdm::CalFocusModelRow::setEndValidTime | ( | ArrayTime | endValidTime | ) |
void asdm::CalFocusModelRow::setFocusModel | ( | std::string | focusModel | ) |
Set focusModel with the specified std::string.
focusModel | The std::string value to which focusModel is to be set. |
void asdm::CalFocusModelRow::setFocusRMS | ( | std::vector< Length > | focusRMS | ) |
Set focusRMS with the specified std::vector<Length >.
focusRMS | The std::vector<Length > value to which focusRMS is to be set. |
void asdm::CalFocusModelRow::setFromIDL | ( | asdmIDL::CalFocusModelRowIDL | x | ) |
Fill the values of this row from the IDL struct CalFocusModelRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalFocusModelRow::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::CalFocusModelRow::setNumCoeff | ( | int | numCoeff | ) |
Set numCoeff with the specified int.
numCoeff | The int value to which numCoeff is to be set. |
void asdm::CalFocusModelRow::setNumSourceObs | ( | int | numSourceObs | ) |
Set numSourceObs with the specified int.
numSourceObs | The int value to which numSourceObs is to be set. |
void asdm::CalFocusModelRow::setPolarizationType | ( | PolarizationTypeMod::PolarizationType | polarizationType | ) |
Set polarizationType with the specified PolarizationTypeMod::PolarizationType.
polarizationType | The PolarizationTypeMod::PolarizationType value to which polarizationType is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalFocusModelRow::setReceiverBand | ( | ReceiverBandMod::ReceiverBand | receiverBand | ) |
Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
receiverBand | The ReceiverBandMod::ReceiverBand value to which receiverBand is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalFocusModelRow::setReducedChiSquared | ( | double | reducedChiSquared | ) |
Set reducedChiSquared with the specified double.
reducedChiSquared | The double value to which reducedChiSquared is to be set. |
void asdm::CalFocusModelRow::setStartValidTime | ( | ArrayTime | startValidTime | ) |
|
private |
|
private |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::CalFocusModelRowIDL* asdm::CalFocusModelRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalFocusModelRow::toIDL | ( | asdmIDL::CalFocusModelRowIDL & | x | ) | const |
Define the content of a CalFocusModelRowIDL struct from the values found in this row.
x | a reference to the CalFocusModelRowIDL struct to be set. |
std::string asdm::CalFocusModelRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 139 of file CalFocusModelRow.h.
|
friend |
Definition at line 140 of file CalFocusModelRow.h.
|
private |
===> Attribute antennaMake
Definition at line 1035 of file CalFocusModelRow.h.
Extrinsic Table asdm::CalFocusModelRow::Attributes |
Definition at line 163 of file CalFocusModelRow.h.
Extrinsic Table asdm::CalFocusModelRow::Attributes |
Definition at line 653 of file CalFocusModelRow.h.
|
private |
===> Attribute calReductionId
Definition at line 1171 of file CalFocusModelRow.h.
|
private |
===> Attribute coeffError
Definition at line 1101 of file CalFocusModelRow.h.
|
private |
===> Attribute coeffFixed
Definition at line 1112 of file CalFocusModelRow.h.
|
private |
===> Attribute coeffFormula
Definition at line 1079 of file CalFocusModelRow.h.
|
private |
===> Attribute coeffName
Definition at line 1068 of file CalFocusModelRow.h.
|
private |
===> Attribute coeffValue
Definition at line 1090 of file CalFocusModelRow.h.
|
private |
===> Attribute endValidTime
Definition at line 1024 of file CalFocusModelRow.h.
|
private |
===> Attribute focusModel
Definition at line 1123 of file CalFocusModelRow.h.
|
private |
===> Attribute focusRMS
Definition at line 1134 of file CalFocusModelRow.h.
|
private |
Definition at line 1200 of file CalFocusModelRow.h.
|
private |
Definition at line 1226 of file CalFocusModelRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 936 of file CalFocusModelRow.h.
|
private |
===> Attribute numCoeff
Definition at line 1046 of file CalFocusModelRow.h.
|
private |
===> Attribute numSourceObs
Definition at line 1057 of file CalFocusModelRow.h.
|
private |
===> Attribute polarizationType
Definition at line 1002 of file CalFocusModelRow.h.
|
private |
===> Attribute receiverBand
Definition at line 991 of file CalFocusModelRow.h.
|
private |
===> Attribute reducedChiSquared
Definition at line 1145 of file CalFocusModelRow.h.
|
private |
===> Attribute startValidTime
Definition at line 1013 of file CalFocusModelRow.h.
|
private |
The table to which this row belongs.
Definition at line 932 of file CalFocusModelRow.h.