casa
5.7.0-16
|
The CalCurveRow class is a row of a CalCurveTable. More...
#include <CalCurveRow.h>
Public Member Functions | |
virtual | ~CalCurveRow () |
friend class asdm::TableStreamReader<CalCurveTable, CalCurveRow>; More... | |
CalCurveTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setAtmPhaseCorrection (AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection) |
Set atmPhaseCorrection with the specified AtmPhaseCorrectionMod::AtmPhaseCorrection. More... | |
CalCurveTypeMod::CalCurveType | getTypeCurve () const |
===> Attribute typeCurve More... | |
void | setTypeCurve (CalCurveTypeMod::CalCurveType typeCurve) |
Set typeCurve with the specified CalCurveTypeMod::CalCurveType. More... | |
ReceiverBandMod::ReceiverBand | getReceiverBand () const |
===> Attribute receiverBand More... | |
void | setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand) |
Set receiverBand with the specified ReceiverBandMod::ReceiverBand. 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... | |
int | getNumAntenna () const |
===> Attribute numAntenna More... | |
void | setNumAntenna (int numAntenna) |
Set numAntenna with the specified int. More... | |
int | getNumPoly () const |
===> Attribute numPoly More... | |
void | setNumPoly (int numPoly) |
Set numPoly with the specified int. More... | |
int | getNumReceptor () const |
===> Attribute numReceptor More... | |
void | setNumReceptor (int numReceptor) |
Set numReceptor with the specified int. More... | |
std::vector< std::string > | getAntennaNames () const |
===> Attribute antennaNames More... | |
void | setAntennaNames (std::vector< std::string > antennaNames) |
Set antennaNames with the specified std::vector<std::string >. More... | |
std::string | getRefAntennaName () const |
===> Attribute refAntennaName More... | |
void | setRefAntennaName (std::string refAntennaName) |
Set refAntennaName with the specified std::string. 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... | |
std::vector< std::vector < std::vector< float > > > | getCurve () const |
===> Attribute curve More... | |
void | setCurve (std::vector< std::vector< std::vector< float > > > curve) |
Set curve with the specified std::vector<std::vector<std::vector<float > > >. More... | |
std::vector< double > | getReducedChiSquared () const |
===> Attribute reducedChiSquared More... | |
void | setReducedChiSquared (std::vector< double > reducedChiSquared) |
Set reducedChiSquared with the specified std::vector<double >. More... | |
bool | isNumBaselineExists () const |
===> Attribute numBaseline, which is optional More... | |
int | getNumBaseline () const |
Get numBaseline, which is optional. More... | |
void | setNumBaseline (int numBaseline) |
Set numBaseline with the specified int. More... | |
void | clearNumBaseline () |
Mark numBaseline, which is an optional field, as non-existent. More... | |
bool | isRmsExists () const |
===> Attribute rms, which is optional More... | |
std::vector< std::vector< float > > | getRms () const |
Get rms, which is optional. More... | |
void | setRms (std::vector< std::vector< float > > rms) |
Set rms with the specified std::vector<std::vector<float > >. More... | |
void | clearRms () |
Mark rms, 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 (AtmPhaseCorrectionMod::AtmPhaseCorrection atmPhaseCorrection, CalCurveTypeMod::CalCurveType typeCurve, ReceiverBandMod::ReceiverBand receiverBand, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, int numAntenna, int numPoly, int numReceptor, std::vector< std::string > antennaNames, std::string refAntennaName, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< std::vector< float > > > curve, std::vector< double > reducedChiSquared) |
Compare each mandatory attribute except the autoincrementable one of this CalCurveRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (ArrayTime startValidTime, ArrayTime endValidTime, std::vector< Frequency > frequencyRange, int numAntenna, int numPoly, int numReceptor, std::vector< std::string > antennaNames, std::string refAntennaName, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< std::vector< float > > > curve, std::vector< double > reducedChiSquared) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalCurveRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalCurveRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalCurveRowIDL &x) const |
Define the content of a CalCurveRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalCurveRowIDL x) |
Fill the values of this row from the IDL struct CalCurveRowIDL. 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 | |
CalCurveTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
CalCurveTypeMod::CalCurveType | typeCurve |
===> Attribute typeCurve More... | |
ReceiverBandMod::ReceiverBand | receiverBand |
===> Attribute receiverBand More... | |
ArrayTime | startValidTime |
===> Attribute startValidTime More... | |
ArrayTime | endValidTime |
===> Attribute endValidTime More... | |
std::vector< Frequency > | frequencyRange |
===> Attribute frequencyRange More... | |
int | numAntenna |
===> Attribute numAntenna More... | |
int | numPoly |
===> Attribute numPoly More... | |
int | numReceptor |
===> Attribute numReceptor More... | |
std::vector< std::string > | antennaNames |
===> Attribute antennaNames More... | |
std::string | refAntennaName |
===> Attribute refAntennaName More... | |
std::vector < PolarizationTypeMod::PolarizationType > | polarizationTypes |
===> Attribute polarizationTypes More... | |
std::vector< std::vector < std::vector< float > > > | curve |
===> Attribute curve More... | |
std::vector< double > | reducedChiSquared |
===> Attribute reducedChiSquared More... | |
bool | numBaselineExists |
===> Attribute numBaseline, which is optional More... | |
int | numBaseline |
bool | rmsExists |
===> Attribute rms, which is optional More... | |
std::vector< std::vector< float > > | rms |
Tag | calReductionId |
===> Attribute calReductionId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, CalCurveAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalCurveAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalCurveTable |
class | asdm::RowTransformer< CalCurveRow > |
The CalCurveRow class is a row of a CalCurveTable.
Generated from model's revision "-1", branch ""
Definition at line 140 of file CalCurveRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalCurveTable, CalCurveRow>;
|
private |
Create a CalCurveRow.
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 CalCurveRow using a copy constructor mechanism.
Given a CalCurveRow row and a CalCurveTable table, the method creates a new CalCurveRow 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 |
void asdm::CalCurveRow::clearNumBaseline | ( | ) |
Mark numBaseline, which is an optional field, as non-existent.
void asdm::CalCurveRow::clearRms | ( | ) |
Mark rms, which is an optional field, as non-existent.
bool asdm::CalCurveRow::compareNoAutoInc | ( | AtmPhaseCorrectionMod::AtmPhaseCorrection | atmPhaseCorrection, |
CalCurveTypeMod::CalCurveType | typeCurve, | ||
ReceiverBandMod::ReceiverBand | receiverBand, | ||
Tag | calDataId, | ||
Tag | calReductionId, | ||
ArrayTime | startValidTime, | ||
ArrayTime | endValidTime, | ||
std::vector< Frequency > | frequencyRange, | ||
int | numAntenna, | ||
int | numPoly, | ||
int | numReceptor, | ||
std::vector< std::string > | antennaNames, | ||
std::string | refAntennaName, | ||
std::vector< PolarizationTypeMod::PolarizationType > | polarizationTypes, | ||
std::vector< std::vector< std::vector< float > > > | curve, | ||
std::vector< double > | reducedChiSquared | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalCurveRow with the corresponding parameters and return true if there is a match and false otherwise.
atmPhaseCorrection | |
typeCurve | |
receiverBand | |
calDataId | |
calReductionId | |
startValidTime | |
endValidTime | |
frequencyRange | |
numAntenna | |
numPoly | |
numReceptor | |
antennaNames | |
refAntennaName | |
polarizationTypes | |
curve | |
reducedChiSquared |
bool asdm::CalCurveRow::compareRequiredValue | ( | ArrayTime | startValidTime, |
ArrayTime | endValidTime, | ||
std::vector< Frequency > | frequencyRange, | ||
int | numAntenna, | ||
int | numPoly, | ||
int | numReceptor, | ||
std::vector< std::string > | antennaNames, | ||
std::string | refAntennaName, | ||
std::vector< PolarizationTypeMod::PolarizationType > | polarizationTypes, | ||
std::vector< std::vector< std::vector< float > > > | curve, | ||
std::vector< 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 | |
frequencyRange | |
numAntenna | |
numPoly | |
numReceptor | |
antennaNames | |
refAntennaName | |
polarizationTypes | |
curve | |
reducedChiSquared |
|
private |
|
private |
|
private |
|
private |
bool asdm::CalCurveRow::equalByRequiredValue | ( | CalCurveRow * | 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 CalCurveRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
std::vector<std::string > asdm::CalCurveRow::getAntennaNames | ( | ) | const |
===> Attribute antennaNames
Get antennaNames.
Links* CalDataRow* asdm::CalCurveRow::getCalDataUsingCalDataId | ( | ) |
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId
Tag asdm::CalCurveRow::getCalReductionId | ( | ) | const |
CalReductionRow* asdm::CalCurveRow::getCalReductionUsingCalReductionId | ( | ) |
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId
std::vector<std::vector<std::vector<float > > > asdm::CalCurveRow::getCurve | ( | ) | const |
===> Attribute curve
Get curve.
ArrayTime asdm::CalCurveRow::getEndValidTime | ( | ) | const |
std::vector<Frequency > asdm::CalCurveRow::getFrequencyRange | ( | ) | const |
===> Attribute frequencyRange
Get frequencyRange.
int asdm::CalCurveRow::getNumAntenna | ( | ) | const |
===> Attribute numAntenna
Get numAntenna.
int asdm::CalCurveRow::getNumBaseline | ( | ) | const |
Get numBaseline, which is optional.
IllegalAccessException | If numBaseline does not exist. |
int asdm::CalCurveRow::getNumPoly | ( | ) | const |
===> Attribute numPoly
Get numPoly.
int asdm::CalCurveRow::getNumReceptor | ( | ) | const |
===> Attribute numReceptor
Get numReceptor.
std::vector<PolarizationTypeMod::PolarizationType > asdm::CalCurveRow::getPolarizationTypes | ( | ) | const |
===> Attribute polarizationTypes
Get polarizationTypes.
ReceiverBandMod::ReceiverBand asdm::CalCurveRow::getReceiverBand | ( | ) | const |
===> Attribute receiverBand
Get receiverBand.
std::vector<double > asdm::CalCurveRow::getReducedChiSquared | ( | ) | const |
===> Attribute reducedChiSquared
Get reducedChiSquared.
std::string asdm::CalCurveRow::getRefAntennaName | ( | ) | const |
===> Attribute refAntennaName
Get refAntennaName.
std::vector<std::vector<float > > asdm::CalCurveRow::getRms | ( | ) | const |
Get rms, which is optional.
IllegalAccessException | If rms does not exist. |
ArrayTime asdm::CalCurveRow::getStartValidTime | ( | ) | const |
CalCurveTable& asdm::CalCurveRow::getTable | ( | ) | const |
Return the table to which this row belongs.
CalCurveTypeMod::CalCurveType asdm::CalCurveRow::getTypeCurve | ( | ) | const |
===> Attribute typeCurve
Get typeCurve.
bool asdm::CalCurveRow::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::CalCurveRow::isNumBaselineExists | ( | ) | const |
===> Attribute numBaseline, which is optional
The attribute numBaseline is optional. Return true if this attribute exists.
bool asdm::CalCurveRow::isRmsExists | ( | ) | const |
===> Attribute rms, which is optional
The attribute rms is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::CalCurveRow::setAntennaNames | ( | std::vector< std::string > | antennaNames | ) |
Set antennaNames with the specified std::vector<std::string >.
antennaNames | The std::vector<std::string > value to which antennaNames is to be set. |
void asdm::CalCurveRow::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::CalCurveRow::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::CalCurveRow::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::CalCurveRow::setCurve | ( | std::vector< std::vector< std::vector< float > > > | curve | ) |
Set curve with the specified std::vector<std::vector<std::vector<float > > >.
curve | The std::vector<std::vector<std::vector<float > > > value to which curve is to be set. |
void asdm::CalCurveRow::setEndValidTime | ( | ArrayTime | endValidTime | ) |
void asdm::CalCurveRow::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::CalCurveRow::setFromIDL | ( | asdmIDL::CalCurveRowIDL | x | ) |
Fill the values of this row from the IDL struct CalCurveRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalCurveRow::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::CalCurveRow::setNumAntenna | ( | int | numAntenna | ) |
Set numAntenna with the specified int.
numAntenna | The int value to which numAntenna is to be set. |
void asdm::CalCurveRow::setNumBaseline | ( | int | numBaseline | ) |
Set numBaseline with the specified int.
numBaseline | The int value to which numBaseline is to be set. |
void asdm::CalCurveRow::setNumPoly | ( | int | numPoly | ) |
Set numPoly with the specified int.
numPoly | The int value to which numPoly is to be set. |
void asdm::CalCurveRow::setNumReceptor | ( | int | numReceptor | ) |
Set numReceptor with the specified int.
numReceptor | The int value to which numReceptor is to be set. |
void asdm::CalCurveRow::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::CalCurveRow::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::CalCurveRow::setReducedChiSquared | ( | std::vector< double > | reducedChiSquared | ) |
Set reducedChiSquared with the specified std::vector<double >.
reducedChiSquared | The std::vector<double > value to which reducedChiSquared is to be set. |
void asdm::CalCurveRow::setRefAntennaName | ( | std::string | refAntennaName | ) |
Set refAntennaName with the specified std::string.
refAntennaName | The std::string value to which refAntennaName is to be set. |
void asdm::CalCurveRow::setRms | ( | std::vector< std::vector< float > > | rms | ) |
Set rms with the specified std::vector<std::vector<float > >.
rms | The std::vector<std::vector<float > > value to which rms is to be set. |
void asdm::CalCurveRow::setStartValidTime | ( | ArrayTime | startValidTime | ) |
void asdm::CalCurveRow::setTypeCurve | ( | CalCurveTypeMod::CalCurveType | typeCurve | ) |
Set typeCurve with the specified CalCurveTypeMod::CalCurveType.
typeCurve | The CalCurveTypeMod::CalCurveType value to which typeCurve is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
|
private |
|
private |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::CalCurveRowIDL* asdm::CalCurveRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalCurveRow::toIDL | ( | asdmIDL::CalCurveRowIDL & | x | ) | const |
Define the content of a CalCurveRowIDL struct from the values found in this row.
x | a reference to the CalCurveRowIDL struct to be set. |
std::string asdm::CalCurveRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
private |
|
private |
|
friend |
Definition at line 141 of file CalCurveRow.h.
|
friend |
Definition at line 142 of file CalCurveRow.h.
|
private |
===> Attribute antennaNames
Definition at line 1095 of file CalCurveRow.h.
Extrinsic Table asdm::CalCurveRow::Attributes |
Definition at line 165 of file CalCurveRow.h.
Extrinsic Table asdm::CalCurveRow::Attributes |
Definition at line 677 of file CalCurveRow.h.
|
private |
===> Attribute calReductionId
Definition at line 1191 of file CalCurveRow.h.
|
private |
===> Attribute curve
Definition at line 1128 of file CalCurveRow.h.
|
private |
===> Attribute endValidTime
Definition at line 1040 of file CalCurveRow.h.
|
private |
===> Attribute frequencyRange
Definition at line 1051 of file CalCurveRow.h.
|
private |
Definition at line 1220 of file CalCurveRow.h.
|
private |
Definition at line 1246 of file CalCurveRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 952 of file CalCurveRow.h.
|
private |
===> Attribute numAntenna
Definition at line 1062 of file CalCurveRow.h.
|
private |
Definition at line 1152 of file CalCurveRow.h.
|
private |
===> Attribute numBaseline, which is optional
Definition at line 1149 of file CalCurveRow.h.
|
private |
===> Attribute numPoly
Definition at line 1073 of file CalCurveRow.h.
|
private |
===> Attribute numReceptor
Definition at line 1084 of file CalCurveRow.h.
|
private |
===> Attribute polarizationTypes
Definition at line 1117 of file CalCurveRow.h.
|
private |
===> Attribute receiverBand
Definition at line 1018 of file CalCurveRow.h.
|
private |
===> Attribute reducedChiSquared
Definition at line 1139 of file CalCurveRow.h.
|
private |
===> Attribute refAntennaName
Definition at line 1106 of file CalCurveRow.h.
|
private |
Definition at line 1165 of file CalCurveRow.h.
|
private |
===> Attribute rms, which is optional
Definition at line 1162 of file CalCurveRow.h.
|
private |
===> Attribute startValidTime
Definition at line 1029 of file CalCurveRow.h.
|
private |
The table to which this row belongs.
Definition at line 948 of file CalCurveRow.h.
|
private |
===> Attribute typeCurve
Definition at line 1007 of file CalCurveRow.h.