casa
5.7.0-16
|
The CalAmpliRow class is a row of a CalAmpliTable. More...
#include <CalAmpliRow.h>
Public Member Functions | |
virtual | ~CalAmpliRow () |
friend class asdm::TableStreamReader<CalAmpliTable, CalAmpliRow>; More... | |
CalAmpliTable & | 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... | |
AtmPhaseCorrectionMod::AtmPhaseCorrection | getAtmPhaseCorrection () const |
===> Attribute atmPhaseCorrection More... | |
void | setAtmPhaseCorrection (AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection) |
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection. More... | |
ReceiverBandMod::ReceiverBand | getReceiverBand () const |
===> Attribute receiverBand More... | |
void | setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) |
Set receiverBand with the specified ReceiverBandMod::ReceiverBand. More... | |
BasebandNameMod::BasebandName | getBasebandName () const |
===> Attribute basebandName More... | |
void | setBasebandName (BasebandNameMod::BasebandName basebandName) |
Set basebandName with the specified BasebandNameMod::BasebandName. More... | |
int | getNumReceptor () const |
===> Attribute numReceptor More... | |
void | setNumReceptor (int numReceptor) |
Set numReceptor with the specified int. More... | |
std::vector < PolarizationTypeMod::PolarizationType > | getPolarizationTypes () const |
===> Attribute polarizationTypes More... | |
void | setPolarizationTypes (std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes) |
Set polarizationTypes with the specified std::vector<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... | |
std::vector< Frequency > | getFrequencyRange () const |
===> Attribute frequencyRange More... | |
void | setFrequencyRange (std::vector< Frequency > frequencyRange) |
Set frequencyRange with the specified std::vector<Frequency >. More... | |
std::vector< float > | getApertureEfficiency () const |
===> Attribute apertureEfficiency More... | |
void | setApertureEfficiency (std::vector< float > apertureEfficiency) |
Set apertureEfficiency with the specified std::vector<float >. More... | |
std::vector< float > | getApertureEfficiencyError () const |
===> Attribute apertureEfficiencyError More... | |
void | setApertureEfficiencyError (std::vector< float > apertureEfficiencyError) |
Set apertureEfficiencyError with the specified std::vector<float >. More... | |
bool | isCorrectionValidityExists () const |
===> Attribute correctionValidity, which is optional More... | |
bool | getCorrectionValidity () const |
Get correctionValidity, which is optional. More... | |
void | setCorrectionValidity (bool correctionValidity) |
Set correctionValidity with the specified bool. More... | |
void | clearCorrectionValidity () |
Mark correctionValidity, which is an optional field, as non-existent. 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 *CalDataRow * | getCalDataUsingCalDataId () |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId More... | |
CalReductionRow * | getCalReductionUsingCalReductionId () |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId More... | |
bool | compareNoAutoInc (std::string antennaName, AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, ReceiverBandMod::ReceiverBand receiverBand, BasebandNameMod::BasebandName basebandName, Tag calDataId, Tag calReductionId, int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, std::vector< float > apertureEfficiency, std::vector< float > apertureEfficiencyError) |
Compare each mandatory attribute except the autoincrementable one of this CalAmpliRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (int numReceptor, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, std::vector< float > apertureEfficiency, std::vector< float > apertureEfficiencyError) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalAmpliRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalAmpliRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalAmpliRowIDL &x) const |
Define the content of a CalAmpliRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalAmpliRowIDL x) |
Fill the values of this row from the IDL struct CalAmpliRowIDL. 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 | |
CalAmpliTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
AtmPhaseCorrectionMod::AtmPhaseCorrection | atmPhaseCorrection |
===> Attribute atmPhaseCorrection More... | |
ReceiverBandMod::ReceiverBand | receiverBand |
===> Attribute receiverBand More... | |
BasebandNameMod::BasebandName | basebandName |
===> Attribute basebandName More... | |
int | numReceptor |
===> Attribute numReceptor More... | |
std::vector < PolarizationTypeMod::PolarizationType > | polarizationTypes |
===> Attribute polarizationTypes More... | |
ArrayTime | startValidTime |
===> Attribute startValidTime More... | |
ArrayTime | endValidTime |
===> Attribute endValidTime More... | |
std::vector< Frequency > | frequencyRange |
===> Attribute frequencyRange More... | |
std::vector< float > | apertureEfficiency |
===> Attribute apertureEfficiency More... | |
std::vector< float > | apertureEfficiencyError |
===> Attribute apertureEfficiencyError More... | |
bool | correctionValidityExists |
===> Attribute correctionValidity, which is optional More... | |
bool | correctionValidity |
Tag | calReductionId |
===> Attribute calReductionId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, CalAmpliAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalAmpliAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalAmpliTable |
class | asdm::RowTransformer< CalAmpliRow > |
The CalAmpliRow class is a row of a CalAmpliTable.
Generated from model's revision "-1", branch ""
Definition at line 132 of file CalAmpliRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalAmpliTable, CalAmpliRow>;
|
private |
Create a CalAmpliRow.
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 CalAmpliRow using a copy constructor mechanism.
Given a CalAmpliRow row and a CalAmpliTable table, the method creates a new CalAmpliRow 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 |
void asdm::CalAmpliRow::clearCorrectionValidity | ( | ) |
Mark correctionValidity, which is an optional field, as non-existent.
bool asdm::CalAmpliRow::compareNoAutoInc | ( | std::string | antennaName, |
AtmPhaseCorrectionMod::AtmPhaseCorrection | atmPhaseCorrection, | ||
ReceiverBandMod::ReceiverBand | receiverBand, | ||
BasebandNameMod::BasebandName | basebandName, | ||
Tag | calDataId, | ||
Tag | calReductionId, | ||
int | numReceptor, | ||
std::vector< PolarizationTypeMod::PolarizationType > | polarizationTypes, | ||
ArrayTime | startValidTime, | ||
ArrayTime | endValidTime, | ||
std::vector< Frequency > | frequencyRange, | ||
std::vector< float > | apertureEfficiency, | ||
std::vector< float > | apertureEfficiencyError | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalAmpliRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaName | |
atmPhaseCorrection | |
receiverBand | |
basebandName | |
calDataId | |
calReductionId | |
numReceptor | |
polarizationTypes | |
startValidTime | |
endValidTime | |
frequencyRange | |
apertureEfficiency | |
apertureEfficiencyError |
bool asdm::CalAmpliRow::compareRequiredValue | ( | int | numReceptor, |
std::vector< PolarizationTypeMod::PolarizationType > | polarizationTypes, | ||
ArrayTime | startValidTime, | ||
ArrayTime | endValidTime, | ||
std::vector< Frequency > | frequencyRange, | ||
std::vector< float > | apertureEfficiency, | ||
std::vector< float > | apertureEfficiencyError | ||
) |
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.
numReceptor | |
polarizationTypes | |
startValidTime | |
endValidTime | |
frequencyRange | |
apertureEfficiency | |
apertureEfficiencyError |
|
private |
|
private |
|
private |
|
private |
bool asdm::CalAmpliRow::equalByRequiredValue | ( | CalAmpliRow * | 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 CalAmpliRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
std::vector<float > asdm::CalAmpliRow::getApertureEfficiency | ( | ) | const |
===> Attribute apertureEfficiency
Get apertureEfficiency.
std::vector<float > asdm::CalAmpliRow::getApertureEfficiencyError | ( | ) | const |
===> Attribute apertureEfficiencyError
Get apertureEfficiencyError.
AtmPhaseCorrectionMod::AtmPhaseCorrection asdm::CalAmpliRow::getAtmPhaseCorrection | ( | ) | const |
===> Attribute atmPhaseCorrection
Get atmPhaseCorrection.
BasebandNameMod::BasebandName asdm::CalAmpliRow::getBasebandName | ( | ) | const |
===> Attribute basebandName
Get basebandName.
Links* CalDataRow* asdm::CalAmpliRow::getCalDataUsingCalDataId | ( | ) |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId
Tag asdm::CalAmpliRow::getCalReductionId | ( | ) | const |
CalReductionRow* asdm::CalAmpliRow::getCalReductionUsingCalReductionId | ( | ) |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId
bool asdm::CalAmpliRow::getCorrectionValidity | ( | ) | const |
Get correctionValidity, which is optional.
IllegalAccessException | If correctionValidity does not exist. |
ArrayTime asdm::CalAmpliRow::getEndValidTime | ( | ) | const |
std::vector<Frequency > asdm::CalAmpliRow::getFrequencyRange | ( | ) | const |
===> Attribute frequencyRange
Get frequencyRange.
int asdm::CalAmpliRow::getNumReceptor | ( | ) | const |
===> Attribute numReceptor
Get numReceptor.
std::vector<PolarizationTypeMod::PolarizationType > asdm::CalAmpliRow::getPolarizationTypes | ( | ) | const |
===> Attribute polarizationTypes
Get polarizationTypes.
ReceiverBandMod::ReceiverBand asdm::CalAmpliRow::getReceiverBand | ( | ) | const |
===> Attribute receiverBand
Get receiverBand.
ArrayTime asdm::CalAmpliRow::getStartValidTime | ( | ) | const |
CalAmpliTable& asdm::CalAmpliRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::CalAmpliRow::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::CalAmpliRow::isCorrectionValidityExists | ( | ) | const |
===> Attribute correctionValidity, which is optional
The attribute correctionValidity is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::CalAmpliRow::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::CalAmpliRow::setApertureEfficiency | ( | std::vector< float > | apertureEfficiency | ) |
Set apertureEfficiency with the specified std::vector<float >.
apertureEfficiency | The std::vector<float > value to which apertureEfficiency is to be set. |
void asdm::CalAmpliRow::setApertureEfficiencyError | ( | std::vector< float > | apertureEfficiencyError | ) |
Set apertureEfficiencyError with the specified std::vector<float >.
apertureEfficiencyError | The std::vector<float > value to which apertureEfficiencyError is to be set. |
void asdm::CalAmpliRow::setAtmPhaseCorrection | ( | AtmPhaseCorrectionMod::AtmPhaseCorrection | atmPhaseCorrection | ) |
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection.
atmPhaseCorrection | The AtmPhaseCorrectionMod::AtmPhaseCorrection value to which atmPhaseCorrection is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalAmpliRow::setBasebandName | ( | BasebandNameMod::BasebandName | basebandName | ) |
Set basebandName with the specified BasebandNameMod::BasebandName.
basebandName | The BasebandNameMod::BasebandName value to which basebandName is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::CalAmpliRow::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::CalAmpliRow::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::CalAmpliRow::setCorrectionValidity | ( | bool | correctionValidity | ) |
Set correctionValidity with the specified bool.
correctionValidity | The bool value to which correctionValidity is to be set. |
void asdm::CalAmpliRow::setEndValidTime | ( | ArrayTime | endValidTime | ) |
void asdm::CalAmpliRow::setFrequencyRange | ( | std::vector< Frequency > | frequencyRange | ) |
Set frequencyRange with the specified std::vector<Frequency >.
frequencyRange | The std::vector<Frequency > value to which frequencyRange is to be set. |
void asdm::CalAmpliRow::setFromIDL | ( | asdmIDL::CalAmpliRowIDL | x | ) |
Fill the values of this row from the IDL struct CalAmpliRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalAmpliRow::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::CalAmpliRow::setNumReceptor | ( | int | numReceptor | ) |
Set numReceptor with the specified int.
numReceptor | The int value to which numReceptor is to be set. |
void asdm::CalAmpliRow::setPolarizationTypes | ( | std::vector< PolarizationTypeMod::PolarizationType > | polarizationTypes | ) |
Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >.
polarizationTypes | The std::vector<PolarizationTypeMod::PolarizationType > value to which polarizationTypes is to be set. |
void asdm::CalAmpliRow::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::CalAmpliRow::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::CalAmpliRowIDL* asdm::CalAmpliRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalAmpliRow::toIDL | ( | asdmIDL::CalAmpliRowIDL & | x | ) | const |
Define the content of a CalAmpliRowIDL struct from the values found in this row.
x | a reference to the CalAmpliRowIDL struct to be set. |
std::string asdm::CalAmpliRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 133 of file CalAmpliRow.h.
|
friend |
Definition at line 134 of file CalAmpliRow.h.
|
private |
===> Attribute apertureEfficiency
Definition at line 940 of file CalAmpliRow.h.
|
private |
===> Attribute apertureEfficiencyError
Definition at line 951 of file CalAmpliRow.h.
|
private |
===> Attribute atmPhaseCorrection
Definition at line 852 of file CalAmpliRow.h.
Extrinsic Table asdm::CalAmpliRow::Attributes |
Definition at line 157 of file CalAmpliRow.h.
Extrinsic Table asdm::CalAmpliRow::Attributes |
Definition at line 540 of file CalAmpliRow.h.
|
private |
===> Attribute basebandName
Definition at line 874 of file CalAmpliRow.h.
|
private |
===> Attribute calReductionId
Definition at line 990 of file CalAmpliRow.h.
|
private |
Definition at line 964 of file CalAmpliRow.h.
|
private |
===> Attribute correctionValidity, which is optional
Definition at line 961 of file CalAmpliRow.h.
|
private |
===> Attribute endValidTime
Definition at line 918 of file CalAmpliRow.h.
|
private |
===> Attribute frequencyRange
Definition at line 929 of file CalAmpliRow.h.
|
private |
Definition at line 1019 of file CalAmpliRow.h.
|
private |
Definition at line 1041 of file CalAmpliRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 797 of file CalAmpliRow.h.
|
private |
===> Attribute numReceptor
Definition at line 885 of file CalAmpliRow.h.
|
private |
===> Attribute polarizationTypes
Definition at line 896 of file CalAmpliRow.h.
|
private |
===> Attribute receiverBand
Definition at line 863 of file CalAmpliRow.h.
|
private |
===> Attribute startValidTime
Definition at line 907 of file CalAmpliRow.h.
|
private |
The table to which this row belongs.
Definition at line 793 of file CalAmpliRow.h.