34 #ifndef CalAppPhaseRow_CLASS
35 #define CalAppPhaseRow_CLASS
137 class CalReductionRow;
140 class CalAppPhaseRow;
185 BasebandNameMod::BasebandName getBasebandName()
const;
1006 Tag getCalDataId()
const;
1151 bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName,
int scanNumber,
Tag calDataId,
Tag calReductionId,
ArrayTime startValidTime,
ArrayTime endValidTime,
ArrayTime adjustTime, std::string
adjustToken, std::string
phasingMode,
int numPhasedAntennas, std::vector<std::string >
phasedAntennas,
int refAntennaIndex,
int candRefAntennaIndex, std::string
phasePacking,
int numReceptors,
int numChannels,
int numPhaseValues, std::vector<float >
phaseValues,
int numCompare,
int numEfficiencies, std::vector<std::string >
compareArray, std::vector<int >
efficiencyIndices, std::vector<std::vector<float > >
efficiencies, std::vector<float >
quality, std::string
phasedSumAntenna);
1203 bool compareRequiredValue(
ArrayTime startValidTime,
ArrayTime endValidTime,
ArrayTime adjustTime, std::string
adjustToken, std::string
phasingMode,
int numPhasedAntennas, std::vector<std::string >
phasedAntennas,
int refAntennaIndex,
int candRefAntennaIndex, std::string
phasePacking,
int numReceptors,
int numChannels,
int numPhaseValues, std::vector<float >
phaseValues,
int numCompare,
int numEfficiencies, std::vector<std::string >
compareArray, std::vector<int >
efficiencyIndices, std::vector<std::vector<float > >
efficiencies, std::vector<float >
quality, std::string
phasedSumAntenna);
1221 asdmIDL::CalAppPhaseRowIDL *
toIDL()
const;
1230 void toIDL(asdmIDL::CalAppPhaseRowIDL& x)
const;
1239 void setFromIDL (asdmIDL::CalAppPhaseRowIDL x) ;
1246 std::string
toXML()
const;
1261 std::map<std::string, CalAppPhaseAttributeFromBin>
fromBinMethods;
1308 void fromText(
const std::string& attributeName,
const std::string& t);
1363 BasebandNameMod::BasebandName basebandName;
void setTypeSupports(std::string typeSupports)
Set typeSupports with the specified std::string.
int scanNumber
===> Attribute scanNumber
int getRefAntennaIndex() const
===> Attribute refAntennaIndex
std::string getPhasingMode() const
===> Attribute phasingMode
int getNumPhaseValues() const
===> Attribute numPhaseValues
void setCalReductionId(Tag calReductionId)
Set calReductionId with the specified Tag.
void adjustTimeFromText(const std::string &s)
The CalAppPhaseTable class is an Alma table.
void numEfficienciesFromBin(EndianIStream &eis)
void setBasebandName(BasebandNameMod::BasebandName basebandName)
Set basebandName with the specified BasebandNameMod::BasebandName.
void setNumCompare(int numCompare)
Set numCompare with the specified int.
void typeSupportsFromText(const std::string &s)
void numChannelsFromBin(EndianIStream &eis)
void setAdjustToken(std::string adjustToken)
Set adjustToken with the specified std::string.
Tag getCalReductionId() const
===> Attribute calReductionId
void phasingModeFromBin(EndianIStream &eis)
void setNumPhaseValues(int numPhaseValues)
Set numPhaseValues with the specified int.
Tag calReductionId
===> Attribute calReductionId
void efficiencyIndicesFromBin(EndianIStream &eis)
std::vector< float > getPhaseValues() const
===> Attribute phaseValues
void phasedAntennasFromText(const std::string &s)
void numEfficienciesFromText(const std::string &s)
bool compareNoAutoInc(BasebandNameMod::BasebandName basebandName, int scanNumber, Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, ArrayTime adjustTime, std::string adjustToken, std::string phasingMode, int numPhasedAntennas, std::vector< std::string > phasedAntennas, int refAntennaIndex, int candRefAntennaIndex, std::string phasePacking, int numReceptors, int numChannels, int numPhaseValues, std::vector< float > phaseValues, int numCompare, int numEfficiencies, std::vector< std::string > compareArray, std::vector< int > efficiencyIndices, std::vector< std::vector< float > > efficiencies, std::vector< float > quality, std::string phasedSumAntenna)
Compare each mandatory attribute except the autoincrementable one of this CalAppPhaseRow with the cor...
void clearNumSupports()
Mark numSupports, which is an optional field, as non-existent.
bool isPhaseSupportsExists() const
===> Attribute phaseSupports, which is optional
int getCandRefAntennaIndex() const
===> Attribute candRefAntennaIndex
void numSupportsFromBin(EndianIStream &eis)
void numReceptorsFromBin(EndianIStream &eis)
ArrayTime getAdjustTime() const
===> Attribute adjustTime
void typeSupportsFromBin(EndianIStream &eis)
CalAppPhaseRow(CalAppPhaseTable &table)
Create a CalAppPhaseRow.
CalAppPhaseTable & table
The table to which this row belongs.
int candRefAntennaIndex
===> Attribute candRefAntennaIndex
std::vector< std::string > compareArray
===> Attribute compareArray
void numCompareFromText(const std::string &s)
void compareArrayFromBin(EndianIStream &eis)
std::vector< int > efficiencyIndices
===> Attribute efficiencyIndices
virtual ~CalAppPhaseRow()
friend class asdm::TableStreamReader<CalAppPhaseTable, CalAppPhaseRow>;
void efficienciesFromText(const std::string &s)
void startValidTimeFromBin(EndianIStream &eis)
void adjustTokenFromBin(EndianIStream &eis)
void setEndValidTime(ArrayTime endValidTime)
Set endValidTime with the specified ArrayTime.
void(CalAppPhaseRow::* CalAppPhaseAttributeFromBin)(EndianIStream &eis)
bool phaseSupportsExists
===> Attribute phaseSupports, which is optional
void setEfficiencyIndices(std::vector< int > efficiencyIndices)
Set efficiencyIndices with the specified std::vector<int >.
void candRefAntennaIndexFromText(const std::string &s)
void phasePackingFromText(const std::string &s)
void setNumSupports(int numSupports)
Set numSupports with the specified int.
void setCandRefAntennaIndex(int candRefAntennaIndex)
Set candRefAntennaIndex with the specified int.
void numPhaseValuesFromText(const std::string &s)
void setNumReceptors(int numReceptors)
Set numReceptors with the specified int.
void adjustTimeFromBin(EndianIStream &eis)
void startValidTimeFromText(const std::string &s)
std::string phasingMode
===> Attribute phasingMode
void clearTypeSupports()
Mark typeSupports, which is an optional field, as non-existent.
void basebandNameFromBin(EndianIStream &eis)
void setRefAntennaIndex(int refAntennaIndex)
Set refAntennaIndex with the specified int.
std::string getPhasedSumAntenna() const
===> Attribute phasedSumAntenna
void numReceptorsFromText(const std::string &s)
void numSupportsFromText(const std::string &s)
void compareArrayFromText(const std::string &s)
CalReductionRow * getCalReductionUsingCalReductionId()
calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == cal...
std::vector< std::string > getPhasedAntennas() const
===> Attribute phasedAntennas
int getNumPhasedAntennas() const
===> Attribute numPhasedAntennas
std::string getAdjustToken() const
===> Attribute adjustToken
void setNumPhasedAntennas(int numPhasedAntennas)
Set numPhasedAntennas with the specified int.
std::vector< std::string > phasedAntennas
===> Attribute phasedAntennas
int numEfficiencies
===> Attribute numEfficiencies
void setPhasedAntennas(std::vector< std::string > phasedAntennas)
Set phasedAntennas with the specified std::vector<std::string >.
void setPhaseValues(std::vector< float > phaseValues)
Set phaseValues with the specified std::vector<float >.
std::vector< std::vector< float > > getEfficiencies() const
===> Attribute efficiencies
void phasedSumAntennaFromText(const std::string &s)
std::vector< float > phaseValues
===> Attribute phaseValues
void setPhasePacking(std::string phasePacking)
Set phasePacking with the specified std::string.
void setNumChannels(int numChannels)
Set numChannels with the specified int.
bool isNumSupportsExists() const
===> Attribute numSupports, which is optional
void basebandNameFromText(const std::string &s)
void setCalDataId(Tag calDataId)
Set calDataId with the specified Tag.
bool compareRequiredValue(ArrayTime startValidTime, ArrayTime endValidTime, ArrayTime adjustTime, std::string adjustToken, std::string phasingMode, int numPhasedAntennas, std::vector< std::string > phasedAntennas, int refAntennaIndex, int candRefAntennaIndex, std::string phasePacking, int numReceptors, int numChannels, int numPhaseValues, std::vector< float > phaseValues, int numCompare, int numEfficiencies, std::vector< std::string > compareArray, std::vector< int > efficiencyIndices, std::vector< std::vector< float > > efficiencies, std::vector< float > quality, std::string phasedSumAntenna)
Compare each mandatory value (i.e.
std::vector< float > getPhaseSupports() const
Get phaseSupports, which is optional.
void setAdjustTime(ArrayTime adjustTime)
Set adjustTime with the specified ArrayTime.
std::vector< std::vector< float > > efficiencies
===> Attribute efficiencies
void setScanNumber(int scanNumber)
Set scanNumber with the specified int.
void phasingModeFromText(const std::string &s)
The CalReductionRow class is a row of a CalReductionTable.
std::string toXML() const
Return this row in the form of an XML string.
bool equalByRequiredValue(CalAppPhaseRow *x)
Return true if all required attributes of the value part are equal to their homologues in x and false...
void phasedAntennasFromBin(EndianIStream &eis)
asdmIDL::CalAppPhaseRowIDL * toIDL() const
Return this row in the form of an IDL struct.
ArrayTime startValidTime
===> Attribute startValidTime
void qualityFromText(const std::string &s)
int numChannels
===> Attribute numChannels
ArrayTime adjustTime
===> Attribute adjustTime
std::string phasePacking
===> Attribute phasePacking
std::vector< int > getEfficiencyIndices() const
===> Attribute efficiencyIndices
bool numSupportsExists
===> Attribute numSupports, which is optional
void calDataIdFromBin(EndianIStream &eis)
void setFromXML(std::string rowDoc)
Fill the values of this row from an XML string that was produced by the toXML() method.
void phasePackingFromBin(EndianIStream &eis)
void toBin(EndianOSStream &eoss)
Serialize this into a stream of bytes written to an EndianOSStream.
Links *CalDataRow * getCalDataUsingCalDataId()
calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId ...
std::string getTypeSupports() const
Get typeSupports, which is optional.
int getNumSupports() const
Get numSupports, which is optional.
std::string phasedSumAntenna
===> Attribute phasedSumAntenna
int getNumChannels() const
===> Attribute numChannels
void numChannelsFromText(const std::string &s)
int numCompare
===> Attribute numCompare
std::string getPhasePacking() const
===> Attribute phasePacking
CalAppPhaseTable & getTable() const
Return the table to which this row belongs.
*text deserialization material std::map< std::string, CalAppPhaseAttributeFromText > fromTextMethods
void efficiencyIndicesFromText(const std::string &s)
The ArrayTime class implements the concept of a point in time, implemented as an Interval of time sin...
void endValidTimeFromBin(EndianIStream &eis)
bool hasBeenAdded
Whether this row has been added to the table or not.
void setNumEfficiencies(int numEfficiencies)
Set numEfficiencies with the specified int.
void numPhasedAntennasFromBin(EndianIStream &eis)
void(CalAppPhaseRow::* CalAppPhaseAttributeFromText)(const std::string &s)
Links *binary deserialization material from an EndianIStream std::map< std::string, CalAppPhaseAttributeFromBin > fromBinMethods
int numReceptors
===> Attribute numReceptors
void adjustTokenFromText(const std::string &s)
void phaseSupportsFromText(const std::string &s)
void scanNumberFromBin(EndianIStream &eis)
The Tag class is an implementation of a unique index identifying a row of an ASDM table...
ArrayTime endValidTime
===> Attribute endValidTime
int numPhaseValues
===> Attribute numPhaseValues
std::vector< float > phaseSupports
void setFromIDL(asdmIDL::CalAppPhaseRowIDL x)
Fill the values of this row from the IDL struct CalAppPhaseRowIDL.
int refAntennaIndex
===> Attribute refAntennaIndex
void calReductionIdFromBin(EndianIStream &eis)
void endValidTimeFromText(const std::string &s)
int getNumCompare() const
===> Attribute numCompare
std::vector< std::string > getCompareArray() const
===> Attribute compareArray
void setEfficiencies(std::vector< std::vector< float > > efficiencies)
Set efficiencies with the specified std::vector<std::vector<float > >.
int numPhasedAntennas
===> Attribute numPhasedAntennas
ArrayTime getStartValidTime() const
===> Attribute startValidTime
void efficienciesFromBin(EndianIStream &eis)
bool typeSupportsExists
===> Attribute typeSupports, which is optional
void calReductionIdFromText(const std::string &s)
bool isTypeSupportsExists() const
===> Attribute typeSupports, which is optional
void numPhasedAntennasFromText(const std::string &s)
void setStartValidTime(ArrayTime startValidTime)
Set startValidTime with the specified ArrayTime.
void qualityFromBin(EndianIStream &eis)
void setCompareArray(std::vector< std::string > compareArray)
Set compareArray with the specified std::vector<std::string >.
void calDataIdFromText(const std::string &s)
std::vector< float > getQuality() const
===> Attribute quality
void phaseValuesFromBin(EndianIStream &eis)
The CalAppPhaseRow class is a row of a CalAppPhaseTable.
void setQuality(std::vector< float > quality)
Set quality with the specified std::vector<float >.
bool isAdded() const
Has this row been added to its table ?
void phaseSupportsFromBin(EndianIStream &eis)
The CalDataRow class is a row of a CalDataTable.
int getScanNumber() const
===> Attribute scanNumber
ArrayTime getEndValidTime() const
===> Attribute endValidTime
int getNumReceptors() const
===> Attribute numReceptors
void setPhasedSumAntenna(std::string phasedSumAntenna)
Set phasedSumAntenna with the specified std::string.
void scanNumberFromText(const std::string &s)
void refAntennaIndexFromText(const std::string &s)
int getNumEfficiencies() const
===> Attribute numEfficiencies
std::string adjustToken
===> Attribute adjustToken
void numCompareFromBin(EndianIStream &eis)
std::vector< float > quality
===> Attribute quality
void setPhaseSupports(std::vector< float > phaseSupports)
Set phaseSupports with the specified std::vector<float >.
void setPhasingMode(std::string phasingMode)
Set phasingMode with the specified std::string.
void refAntennaIndexFromBin(EndianIStream &eis)
void numPhaseValuesFromBin(EndianIStream &eis)
void phaseValuesFromText(const std::string &s)
void candRefAntennaIndexFromBin(EndianIStream &eis)
void phasedSumAntennaFromBin(EndianIStream &eis)
void clearPhaseSupports()
Mark phaseSupports, which is an optional field, as non-existent.