casa
5.7.0-16
|
The SBSummaryRow class is a row of a SBSummaryTable. More...
#include <SBSummaryRow.h>
Public Member Functions | |
virtual | ~SBSummaryRow () |
friend class asdm::TableStreamReader<SBSummaryTable, SBSummaryRow>; More... | |
SBSummaryTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
EntityRef | getSbSummaryUID () const |
===> Attribute sbSummaryUID More... | |
void | setSbSummaryUID (EntityRef sbSummaryUID) |
Set sbSummaryUID with the specified EntityRef. More... | |
EntityRef | getProjectUID () const |
===> Attribute projectUID More... | |
void | setProjectUID (EntityRef projectUID) |
Set projectUID with the specified EntityRef. More... | |
EntityRef | getObsUnitSetUID () const |
===> Attribute obsUnitSetUID More... | |
void | setObsUnitSetUID (EntityRef obsUnitSetUID) |
Set obsUnitSetUID with the specified EntityRef. More... | |
double | getFrequency () const |
===> Attribute frequency More... | |
void | setFrequency (double frequency) |
Set frequency with the specified double. More... | |
ReceiverBandMod::ReceiverBand | getFrequencyBand () const |
===> Attribute frequencyBand More... | |
void | setFrequencyBand (ReceiverBandMod::ReceiverBand frequencyBand) |
Set frequencyBand with the specified ReceiverBandMod::ReceiverBand. More... | |
SBTypeMod::SBType | getSbType () const |
===> Attribute sbType More... | |
void | setSbType (SBTypeMod::SBType sbType) |
Set sbType with the specified SBTypeMod::SBType. More... | |
Interval | getSbDuration () const |
===> Attribute sbDuration More... | |
void | setSbDuration (Interval sbDuration) |
Set sbDuration with the specified Interval. More... | |
int | getNumObservingMode () const |
===> Attribute numObservingMode More... | |
void | setNumObservingMode (int numObservingMode) |
Set numObservingMode with the specified int. More... | |
std::vector< std::string > | getObservingMode () const |
===> Attribute observingMode More... | |
void | setObservingMode (std::vector< std::string > observingMode) |
Set observingMode with the specified std::vector<std::string >. More... | |
int | getNumberRepeats () const |
===> Attribute numberRepeats More... | |
void | setNumberRepeats (int numberRepeats) |
Set numberRepeats with the specified int. More... | |
int | getNumScienceGoal () const |
===> Attribute numScienceGoal More... | |
void | setNumScienceGoal (int numScienceGoal) |
Set numScienceGoal with the specified int. More... | |
std::vector< std::string > | getScienceGoal () const |
===> Attribute scienceGoal More... | |
void | setScienceGoal (std::vector< std::string > scienceGoal) |
Set scienceGoal with the specified std::vector<std::string >. More... | |
int | getNumWeatherConstraint () const |
===> Attribute numWeatherConstraint More... | |
void | setNumWeatherConstraint (int numWeatherConstraint) |
Set numWeatherConstraint with the specified int. More... | |
std::vector< std::string > | getWeatherConstraint () const |
===> Attribute weatherConstraint More... | |
void | setWeatherConstraint (std::vector< std::string > weatherConstraint) |
Set weatherConstraint with the specified std::vector<std::string >. More... | |
bool | isCenterDirectionExists () const |
===> Attribute centerDirection, which is optional More... | |
std::vector< Angle > | getCenterDirection () const |
Get centerDirection, which is optional. More... | |
void | setCenterDirection (std::vector< Angle > centerDirection) |
Set centerDirection with the specified std::vector<Angle >. More... | |
void | clearCenterDirection () |
Mark centerDirection, which is an optional field, as non-existent. More... | |
bool | isCenterDirectionCodeExists () const |
===> Attribute centerDirectionCode, which is optional More... | |
DirectionReferenceCodeMod::DirectionReferenceCode | getCenterDirectionCode () const |
Get centerDirectionCode, which is optional. More... | |
void | setCenterDirectionCode (DirectionReferenceCodeMod::DirectionReferenceCode centerDirectionCode) |
Set centerDirectionCode with the specified DirectionReferenceCodeMod::DirectionReferenceCode. More... | |
void | clearCenterDirectionCode () |
Mark centerDirectionCode, which is an optional field, as non-existent. More... | |
bool | isCenterDirectionEquinoxExists () const |
===> Attribute centerDirectionEquinox, which is optional More... | |
ArrayTime | getCenterDirectionEquinox () const |
Get centerDirectionEquinox, which is optional. More... | |
void | setCenterDirectionEquinox (ArrayTime centerDirectionEquinox) |
Set centerDirectionEquinox with the specified ArrayTime. More... | |
void | clearCenterDirectionEquinox () |
Mark centerDirectionEquinox, which is an optional field, as non-existent. More... | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (EntityRef sbSummaryUID, EntityRef projectUID, EntityRef obsUnitSetUID, double frequency, ReceiverBandMod::ReceiverBand frequencyBand, SBTypeMod::SBType sbType, Interval sbDuration, int numObservingMode, std::vector< std::string > observingMode, int numberRepeats, int numScienceGoal, std::vector< std::string > scienceGoal, int numWeatherConstraint, std::vector< std::string > weatherConstraint) |
Compare each mandatory attribute except the autoincrementable one of this SBSummaryRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (EntityRef sbSummaryUID, EntityRef projectUID, EntityRef obsUnitSetUID, double frequency, ReceiverBandMod::ReceiverBand frequencyBand, SBTypeMod::SBType sbType, Interval sbDuration, int numObservingMode, std::vector< std::string > observingMode, int numberRepeats, int numScienceGoal, std::vector< std::string > scienceGoal, int numWeatherConstraint, std::vector< std::string > weatherConstraint) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (SBSummaryRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::SBSummaryRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::SBSummaryRowIDL &x) const |
Define the content of a SBSummaryRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::SBSummaryRowIDL x) |
Fill the values of this row from the IDL struct SBSummaryRowIDL. 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 |
Private Attributes | |
SBSummaryTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
EntityRef | sbSummaryUID |
===> Attribute sbSummaryUID More... | |
EntityRef | projectUID |
===> Attribute projectUID More... | |
EntityRef | obsUnitSetUID |
===> Attribute obsUnitSetUID More... | |
double | frequency |
===> Attribute frequency More... | |
ReceiverBandMod::ReceiverBand | frequencyBand |
===> Attribute frequencyBand More... | |
SBTypeMod::SBType | sbType |
===> Attribute sbType More... | |
Interval | sbDuration |
===> Attribute sbDuration More... | |
int | numObservingMode |
===> Attribute numObservingMode More... | |
std::vector< std::string > | observingMode |
===> Attribute observingMode More... | |
int | numberRepeats |
===> Attribute numberRepeats More... | |
int | numScienceGoal |
===> Attribute numScienceGoal More... | |
std::vector< std::string > | scienceGoal |
===> Attribute scienceGoal More... | |
int | numWeatherConstraint |
===> Attribute numWeatherConstraint More... | |
std::vector< std::string > | weatherConstraint |
===> Attribute weatherConstraint More... | |
bool | centerDirectionExists |
===> Attribute centerDirection, which is optional More... | |
std::vector< Angle > | centerDirection |
bool | centerDirectionCodeExists |
===> Attribute centerDirectionCode, which is optional More... | |
DirectionReferenceCodeMod::DirectionReferenceCode | centerDirectionCode |
bool | centerDirectionEquinoxExists |
===> Attribute centerDirectionEquinox, which is optional More... | |
ArrayTime | centerDirectionEquinox |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, SBSummaryAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, SBSummaryAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::SBSummaryTable |
class | asdm::RowTransformer< SBSummaryRow > |
The SBSummaryRow class is a row of a SBSummaryTable.
Generated from model's revision "-1", branch ""
Definition at line 144 of file SBSummaryRow.h.
|
virtual |
friend class asdm::TableStreamReader<SBSummaryTable, SBSummaryRow>;
|
private |
Create a SBSummaryRow.
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 SBSummaryRow using a copy constructor mechanism.
Given a SBSummaryRow row and a SBSummaryTable table, the method creates a new SBSummaryRow 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 |
void asdm::SBSummaryRow::clearCenterDirection | ( | ) |
Mark centerDirection, which is an optional field, as non-existent.
void asdm::SBSummaryRow::clearCenterDirectionCode | ( | ) |
Mark centerDirectionCode, which is an optional field, as non-existent.
void asdm::SBSummaryRow::clearCenterDirectionEquinox | ( | ) |
Mark centerDirectionEquinox, which is an optional field, as non-existent.
Extrinsic Table Attributes Links* bool asdm::SBSummaryRow::compareNoAutoInc | ( | EntityRef | sbSummaryUID, |
EntityRef | projectUID, | ||
EntityRef | obsUnitSetUID, | ||
double | frequency, | ||
ReceiverBandMod::ReceiverBand | frequencyBand, | ||
SBTypeMod::SBType | sbType, | ||
Interval | sbDuration, | ||
int | numObservingMode, | ||
std::vector< std::string > | observingMode, | ||
int | numberRepeats, | ||
int | numScienceGoal, | ||
std::vector< std::string > | scienceGoal, | ||
int | numWeatherConstraint, | ||
std::vector< std::string > | weatherConstraint | ||
) |
Compare each mandatory attribute except the autoincrementable one of this SBSummaryRow with the corresponding parameters and return true if there is a match and false otherwise.
sbSummaryUID | |
projectUID | |
obsUnitSetUID | |
frequency | |
frequencyBand | |
sbType | |
sbDuration | |
numObservingMode | |
observingMode | |
numberRepeats | |
numScienceGoal | |
scienceGoal | |
numWeatherConstraint | |
weatherConstraint |
bool asdm::SBSummaryRow::compareRequiredValue | ( | EntityRef | sbSummaryUID, |
EntityRef | projectUID, | ||
EntityRef | obsUnitSetUID, | ||
double | frequency, | ||
ReceiverBandMod::ReceiverBand | frequencyBand, | ||
SBTypeMod::SBType | sbType, | ||
Interval | sbDuration, | ||
int | numObservingMode, | ||
std::vector< std::string > | observingMode, | ||
int | numberRepeats, | ||
int | numScienceGoal, | ||
std::vector< std::string > | scienceGoal, | ||
int | numWeatherConstraint, | ||
std::vector< std::string > | weatherConstraint | ||
) |
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.
sbSummaryUID | |
projectUID | |
obsUnitSetUID | |
frequency | |
frequencyBand | |
sbType | |
sbDuration | |
numObservingMode | |
observingMode | |
numberRepeats | |
numScienceGoal | |
scienceGoal | |
numWeatherConstraint | |
weatherConstraint |
bool asdm::SBSummaryRow::equalByRequiredValue | ( | SBSummaryRow * | 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 SBSummaryRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
|
private |
|
private |
std::vector<Angle > asdm::SBSummaryRow::getCenterDirection | ( | ) | const |
Get centerDirection, which is optional.
IllegalAccessException | If centerDirection does not exist. |
DirectionReferenceCodeMod::DirectionReferenceCode asdm::SBSummaryRow::getCenterDirectionCode | ( | ) | const |
Get centerDirectionCode, which is optional.
IllegalAccessException | If centerDirectionCode does not exist. |
ArrayTime asdm::SBSummaryRow::getCenterDirectionEquinox | ( | ) | const |
Get centerDirectionEquinox, which is optional.
IllegalAccessException | If centerDirectionEquinox does not exist. |
double asdm::SBSummaryRow::getFrequency | ( | ) | const |
===> Attribute frequency
Get frequency.
ReceiverBandMod::ReceiverBand asdm::SBSummaryRow::getFrequencyBand | ( | ) | const |
===> Attribute frequencyBand
Get frequencyBand.
int asdm::SBSummaryRow::getNumberRepeats | ( | ) | const |
===> Attribute numberRepeats
Get numberRepeats.
int asdm::SBSummaryRow::getNumObservingMode | ( | ) | const |
===> Attribute numObservingMode
Get numObservingMode.
int asdm::SBSummaryRow::getNumScienceGoal | ( | ) | const |
===> Attribute numScienceGoal
Get numScienceGoal.
int asdm::SBSummaryRow::getNumWeatherConstraint | ( | ) | const |
===> Attribute numWeatherConstraint
Get numWeatherConstraint.
std::vector<std::string > asdm::SBSummaryRow::getObservingMode | ( | ) | const |
===> Attribute observingMode
Get observingMode.
EntityRef asdm::SBSummaryRow::getObsUnitSetUID | ( | ) | const |
EntityRef asdm::SBSummaryRow::getProjectUID | ( | ) | const |
Interval asdm::SBSummaryRow::getSbDuration | ( | ) | const |
EntityRef asdm::SBSummaryRow::getSbSummaryUID | ( | ) | const |
SBTypeMod::SBType asdm::SBSummaryRow::getSbType | ( | ) | const |
===> Attribute sbType
Get sbType.
std::vector<std::string > asdm::SBSummaryRow::getScienceGoal | ( | ) | const |
===> Attribute scienceGoal
Get scienceGoal.
SBSummaryTable& asdm::SBSummaryRow::getTable | ( | ) | const |
Return the table to which this row belongs.
std::vector<std::string > asdm::SBSummaryRow::getWeatherConstraint | ( | ) | const |
===> Attribute weatherConstraint
Get weatherConstraint.
bool asdm::SBSummaryRow::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::SBSummaryRow::isCenterDirectionCodeExists | ( | ) | const |
===> Attribute centerDirectionCode, which is optional
The attribute centerDirectionCode is optional. Return true if this attribute exists.
bool asdm::SBSummaryRow::isCenterDirectionEquinoxExists | ( | ) | const |
===> Attribute centerDirectionEquinox, which is optional
The attribute centerDirectionEquinox is optional. Return true if this attribute exists.
bool asdm::SBSummaryRow::isCenterDirectionExists | ( | ) | const |
===> Attribute centerDirection, which is optional
The attribute centerDirection 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 |
|
private |
|
private |
|
private |
void asdm::SBSummaryRow::setCenterDirection | ( | std::vector< Angle > | centerDirection | ) |
Set centerDirection with the specified std::vector<Angle >.
centerDirection | The std::vector<Angle > value to which centerDirection is to be set. |
void asdm::SBSummaryRow::setCenterDirectionCode | ( | DirectionReferenceCodeMod::DirectionReferenceCode | centerDirectionCode | ) |
Set centerDirectionCode with the specified DirectionReferenceCodeMod::DirectionReferenceCode.
centerDirectionCode | The DirectionReferenceCodeMod::DirectionReferenceCode value to which centerDirectionCode is to be set. |
void asdm::SBSummaryRow::setCenterDirectionEquinox | ( | ArrayTime | centerDirectionEquinox | ) |
void asdm::SBSummaryRow::setFrequency | ( | double | frequency | ) |
Set frequency with the specified double.
frequency | The double value to which frequency is to be set. |
void asdm::SBSummaryRow::setFrequencyBand | ( | ReceiverBandMod::ReceiverBand | frequencyBand | ) |
Set frequencyBand with the specified ReceiverBandMod::ReceiverBand.
frequencyBand | The ReceiverBandMod::ReceiverBand value to which frequencyBand is to be set. |
void asdm::SBSummaryRow::setFromIDL | ( | asdmIDL::SBSummaryRowIDL | x | ) |
Fill the values of this row from the IDL struct SBSummaryRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::SBSummaryRow::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::SBSummaryRow::setNumberRepeats | ( | int | numberRepeats | ) |
Set numberRepeats with the specified int.
numberRepeats | The int value to which numberRepeats is to be set. |
void asdm::SBSummaryRow::setNumObservingMode | ( | int | numObservingMode | ) |
Set numObservingMode with the specified int.
numObservingMode | The int value to which numObservingMode is to be set. |
void asdm::SBSummaryRow::setNumScienceGoal | ( | int | numScienceGoal | ) |
Set numScienceGoal with the specified int.
numScienceGoal | The int value to which numScienceGoal is to be set. |
void asdm::SBSummaryRow::setNumWeatherConstraint | ( | int | numWeatherConstraint | ) |
Set numWeatherConstraint with the specified int.
numWeatherConstraint | The int value to which numWeatherConstraint is to be set. |
void asdm::SBSummaryRow::setObservingMode | ( | std::vector< std::string > | observingMode | ) |
Set observingMode with the specified std::vector<std::string >.
observingMode | The std::vector<std::string > value to which observingMode is to be set. |
void asdm::SBSummaryRow::setObsUnitSetUID | ( | EntityRef | obsUnitSetUID | ) |
void asdm::SBSummaryRow::setProjectUID | ( | EntityRef | projectUID | ) |
void asdm::SBSummaryRow::setSbDuration | ( | Interval | sbDuration | ) |
|
private |
Set sBSummaryId with the specified Tag value.
sBSummaryId | The Tag value to which sBSummaryId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::SBSummaryRow::setSbSummaryUID | ( | EntityRef | sbSummaryUID | ) |
void asdm::SBSummaryRow::setSbType | ( | SBTypeMod::SBType | sbType | ) |
Set sbType with the specified SBTypeMod::SBType.
sbType | The SBTypeMod::SBType value to which sbType is to be set. |
void asdm::SBSummaryRow::setScienceGoal | ( | std::vector< std::string > | scienceGoal | ) |
Set scienceGoal with the specified std::vector<std::string >.
scienceGoal | The std::vector<std::string > value to which scienceGoal is to be set. |
void asdm::SBSummaryRow::setWeatherConstraint | ( | std::vector< std::string > | weatherConstraint | ) |
Set weatherConstraint with the specified std::vector<std::string >.
weatherConstraint | The std::vector<std::string > value to which weatherConstraint is to be set. |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::SBSummaryRowIDL* asdm::SBSummaryRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::SBSummaryRow::toIDL | ( | asdmIDL::SBSummaryRowIDL & | x | ) | const |
Define the content of a SBSummaryRowIDL struct from the values found in this row.
x | a reference to the SBSummaryRowIDL struct to be set. |
std::string asdm::SBSummaryRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
private |
|
private |
|
friend |
Definition at line 146 of file SBSummaryRow.h.
|
friend |
Definition at line 145 of file SBSummaryRow.h.
Intrinsic Table asdm::SBSummaryRow::Attributes |
Definition at line 169 of file SBSummaryRow.h.
|
private |
Definition at line 1142 of file SBSummaryRow.h.
|
private |
Definition at line 1155 of file SBSummaryRow.h.
|
private |
===> Attribute centerDirectionCode, which is optional
Definition at line 1152 of file SBSummaryRow.h.
|
private |
Definition at line 1168 of file SBSummaryRow.h.
|
private |
===> Attribute centerDirectionEquinox, which is optional
Definition at line 1165 of file SBSummaryRow.h.
|
private |
===> Attribute centerDirection, which is optional
Definition at line 1139 of file SBSummaryRow.h.
|
private |
===> Attribute frequency
Definition at line 1019 of file SBSummaryRow.h.
|
private |
===> Attribute frequencyBand
Definition at line 1030 of file SBSummaryRow.h.
|
private |
Definition at line 1187 of file SBSummaryRow.h.
|
private |
Definition at line 1213 of file SBSummaryRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 919 of file SBSummaryRow.h.
|
private |
===> Attribute numberRepeats
Definition at line 1085 of file SBSummaryRow.h.
|
private |
===> Attribute numObservingMode
Definition at line 1063 of file SBSummaryRow.h.
|
private |
===> Attribute numScienceGoal
Definition at line 1096 of file SBSummaryRow.h.
|
private |
===> Attribute numWeatherConstraint
Definition at line 1118 of file SBSummaryRow.h.
|
private |
===> Attribute observingMode
Definition at line 1074 of file SBSummaryRow.h.
|
private |
===> Attribute obsUnitSetUID
Definition at line 1008 of file SBSummaryRow.h.
|
private |
===> Attribute projectUID
Definition at line 997 of file SBSummaryRow.h.
|
private |
===> Attribute sbDuration
Definition at line 1052 of file SBSummaryRow.h.
|
private |
===> Attribute sbSummaryUID
Definition at line 986 of file SBSummaryRow.h.
|
private |
===> Attribute sbType
Definition at line 1041 of file SBSummaryRow.h.
|
private |
===> Attribute scienceGoal
Definition at line 1107 of file SBSummaryRow.h.
|
private |
The table to which this row belongs.
Definition at line 915 of file SBSummaryRow.h.
|
private |
===> Attribute weatherConstraint
Definition at line 1129 of file SBSummaryRow.h.