casa
5.7.0-16
|
The FocusRow class is a row of a FocusTable. More...
#include <FocusRow.h>
Public Member Functions | |
virtual | ~FocusRow () |
friend class asdm::TableStreamReader<FocusTable, FocusRow>; More... | |
FocusTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
void | setTimeInterval (ArrayTimeInterval timeInterval) |
Set timeInterval with the specified ArrayTimeInterval. More... | |
bool | getFocusTracking () const |
===> Attribute focusTracking More... | |
void | setFocusTracking (bool focusTracking) |
Set focusTracking with the specified bool. More... | |
std::vector< Length > | getFocusOffset () const |
===> Attribute focusOffset More... | |
void | setFocusOffset (std::vector< Length > focusOffset) |
Set focusOffset with the specified std::vector<Length >. More... | |
std::vector< Angle > | getFocusRotationOffset () const |
===> Attribute focusRotationOffset More... | |
void | setFocusRotationOffset (std::vector< Angle > focusRotationOffset) |
Set focusRotationOffset with the specified std::vector<Angle >. More... | |
bool | isMeasuredFocusPositionExists () const |
===> Attribute measuredFocusPosition, which is optional More... | |
std::vector< Length > | getMeasuredFocusPosition () const |
Get measuredFocusPosition, which is optional. More... | |
void | setMeasuredFocusPosition (std::vector< Length > measuredFocusPosition) |
Set measuredFocusPosition with the specified std::vector<Length >. More... | |
void | clearMeasuredFocusPosition () |
Mark measuredFocusPosition, which is an optional field, as non-existent. More... | |
bool | isMeasuredFocusRotationExists () const |
===> Attribute measuredFocusRotation, which is optional More... | |
std::vector< Angle > | getMeasuredFocusRotation () const |
Get measuredFocusRotation, which is optional. More... | |
void | setMeasuredFocusRotation (std::vector< Angle > measuredFocusRotation) |
Set measuredFocusRotation with the specified std::vector<Angle >. More... | |
void | clearMeasuredFocusRotation () |
Mark measuredFocusRotation, which is an optional field, as non-existent. More... | |
void | setAntennaId (Tag antennaId) |
Set antennaId with the specified Tag. More... | |
int | getFocusModelId () const |
===> Attribute focusModelId More... | |
void | setFocusModelId (int focusModelId) |
Set focusModelId with the specified int. More... | |
Links *AntennaRow * | getAntennaUsingAntennaId () |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId More... | |
std::vector< FocusModelRow * > | getFocusModels () |
===> Slice link from a row of Focus table to a collection of row of FocusModel table. More... | |
bool | compareNoAutoInc (Tag antennaId, ArrayTimeInterval timeInterval, bool focusTracking, std::vector< Length > focusOffset, std::vector< Angle > focusRotationOffset, int focusModelId) |
Compare each mandatory attribute except the autoincrementable one of this FocusRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (bool focusTracking, std::vector< Length > focusOffset, std::vector< Angle > focusRotationOffset, int focusModelId) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (FocusRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::FocusRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::FocusRowIDL &x) const |
Define the content of a FocusRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::FocusRowIDL x) |
Fill the values of this row from the IDL struct FocusRowIDL. 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 Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
FocusRow (FocusTable &table) | |
Create a FocusRow. More... | |
FocusRow (FocusTable &table, FocusRow *row) | |
Create a FocusRow using a copy constructor mechanism. More... | |
void | antennaIdFromBin (EndianIStream &eis) |
void | timeIntervalFromBin (EndianIStream &eis) |
void | focusTrackingFromBin (EndianIStream &eis) |
void | focusOffsetFromBin (EndianIStream &eis) |
void | focusRotationOffsetFromBin (EndianIStream &eis) |
void | focusModelIdFromBin (EndianIStream &eis) |
void | measuredFocusPositionFromBin (EndianIStream &eis) |
void | measuredFocusRotationFromBin (EndianIStream &eis) |
void | antennaIdFromText (const std::string &s) |
void | timeIntervalFromText (const std::string &s) |
void | focusTrackingFromText (const std::string &s) |
void | focusOffsetFromText (const std::string &s) |
void | focusRotationOffsetFromText (const std::string &s) |
void | focusModelIdFromText (const std::string &s) |
void | measuredFocusPositionFromText (const std::string &s) |
void | measuredFocusRotationFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
FocusTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
bool | focusTracking |
===> Attribute focusTracking More... | |
std::vector< Length > | focusOffset |
===> Attribute focusOffset More... | |
std::vector< Angle > | focusRotationOffset |
===> Attribute focusRotationOffset More... | |
bool | measuredFocusPositionExists |
===> Attribute measuredFocusPosition, which is optional More... | |
std::vector< Length > | measuredFocusPosition |
bool | measuredFocusRotationExists |
===> Attribute measuredFocusRotation, which is optional More... | |
std::vector< Angle > | measuredFocusRotation |
int | focusModelId |
===> Attribute focusModelId More... | |
Links *binary deserialization material from an EndianIStream std::map< std::string, FocusAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, FocusAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::FocusTable |
class | asdm::RowTransformer< FocusRow > |
The FocusRow class is a row of a FocusTable.
Generated from model's revision "-1", branch ""
Definition at line 116 of file FocusRow.h.
|
virtual |
friend class asdm::TableStreamReader<FocusTable, FocusRow>;
|
private |
Create a FocusRow.
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 FocusRow using a copy constructor mechanism.
Given a FocusRow row and a FocusTable table, the method creates a new FocusRow 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 |
void asdm::FocusRow::clearMeasuredFocusPosition | ( | ) |
Mark measuredFocusPosition, which is an optional field, as non-existent.
void asdm::FocusRow::clearMeasuredFocusRotation | ( | ) |
Mark measuredFocusRotation, which is an optional field, as non-existent.
bool asdm::FocusRow::compareNoAutoInc | ( | Tag | antennaId, |
ArrayTimeInterval | timeInterval, | ||
bool | focusTracking, | ||
std::vector< Length > | focusOffset, | ||
std::vector< Angle > | focusRotationOffset, | ||
int | focusModelId | ||
) |
Compare each mandatory attribute except the autoincrementable one of this FocusRow with the corresponding parameters and return true if there is a match and false otherwise.
antennaId | |
timeInterval | |
focusTracking | |
focusOffset | |
focusRotationOffset | |
focusModelId |
bool asdm::FocusRow::compareRequiredValue | ( | bool | focusTracking, |
std::vector< Length > | focusOffset, | ||
std::vector< Angle > | focusRotationOffset, | ||
int | focusModelId | ||
) |
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.
focusTracking | |
focusOffset | |
focusRotationOffset | |
focusModelId |
bool asdm::FocusRow::equalByRequiredValue | ( | FocusRow * | 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 FocusRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Links* AntennaRow* asdm::FocusRow::getAntennaUsingAntennaId | ( | ) |
antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId
int asdm::FocusRow::getFocusModelId | ( | ) | const |
===> Attribute focusModelId
Get focusModelId.
std::vector<FocusModelRow *> asdm::FocusRow::getFocusModels | ( | ) |
===> Slice link from a row of Focus table to a collection of row of FocusModel table.
Get the collection of row in the FocusModel table having focusModelId == this.focusModelId
std::vector<Length > asdm::FocusRow::getFocusOffset | ( | ) | const |
===> Attribute focusOffset
Get focusOffset.
std::vector<Angle > asdm::FocusRow::getFocusRotationOffset | ( | ) | const |
===> Attribute focusRotationOffset
Get focusRotationOffset.
bool asdm::FocusRow::getFocusTracking | ( | ) | const |
===> Attribute focusTracking
Get focusTracking.
std::vector<Length > asdm::FocusRow::getMeasuredFocusPosition | ( | ) | const |
Get measuredFocusPosition, which is optional.
IllegalAccessException | If measuredFocusPosition does not exist. |
std::vector<Angle > asdm::FocusRow::getMeasuredFocusRotation | ( | ) | const |
Get measuredFocusRotation, which is optional.
IllegalAccessException | If measuredFocusRotation does not exist. |
FocusTable& asdm::FocusRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::FocusRow::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::FocusRow::isMeasuredFocusPositionExists | ( | ) | const |
===> Attribute measuredFocusPosition, which is optional
The attribute measuredFocusPosition is optional. Return true if this attribute exists.
bool asdm::FocusRow::isMeasuredFocusRotationExists | ( | ) | const |
===> Attribute measuredFocusRotation, which is optional
The attribute measuredFocusRotation is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
void asdm::FocusRow::setAntennaId | ( | Tag | antennaId | ) |
Set antennaId with the specified Tag.
antennaId | The Tag value to which antennaId is to be set. |
IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
void asdm::FocusRow::setFocusModelId | ( | int | focusModelId | ) |
Set focusModelId with the specified int.
focusModelId | The int value to which focusModelId is to be set. |
void asdm::FocusRow::setFocusOffset | ( | std::vector< Length > | focusOffset | ) |
Set focusOffset with the specified std::vector<Length >.
focusOffset | The std::vector<Length > value to which focusOffset is to be set. |
void asdm::FocusRow::setFocusRotationOffset | ( | std::vector< Angle > | focusRotationOffset | ) |
Set focusRotationOffset with the specified std::vector<Angle >.
focusRotationOffset | The std::vector<Angle > value to which focusRotationOffset is to be set. |
void asdm::FocusRow::setFocusTracking | ( | bool | focusTracking | ) |
Set focusTracking with the specified bool.
focusTracking | The bool value to which focusTracking is to be set. |
void asdm::FocusRow::setFromIDL | ( | asdmIDL::FocusRowIDL | x | ) |
Fill the values of this row from the IDL struct FocusRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::FocusRow::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::FocusRow::setMeasuredFocusPosition | ( | std::vector< Length > | measuredFocusPosition | ) |
Set measuredFocusPosition with the specified std::vector<Length >.
measuredFocusPosition | The std::vector<Length > value to which measuredFocusPosition is to be set. |
void asdm::FocusRow::setMeasuredFocusRotation | ( | std::vector< Angle > | measuredFocusRotation | ) |
Set measuredFocusRotation with the specified std::vector<Angle >.
measuredFocusRotation | The std::vector<Angle > value to which measuredFocusRotation is to be set. |
void asdm::FocusRow::setTimeInterval | ( | ArrayTimeInterval | timeInterval | ) |
Set timeInterval with the specified ArrayTimeInterval.
timeInterval | The ArrayTimeInterval value to which timeInterval 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::FocusRowIDL* asdm::FocusRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::FocusRow::toIDL | ( | asdmIDL::FocusRowIDL & | x | ) | const |
Define the content of a FocusRowIDL struct from the values found in this row.
x | a reference to the FocusRowIDL struct to be set. |
std::string asdm::FocusRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 117 of file FocusRow.h.
|
friend |
Definition at line 118 of file FocusRow.h.
Extrinsic Table asdm::FocusRow::Attributes |
Definition at line 141 of file FocusRow.h.
Extrinsic Table asdm::FocusRow::Attributes |
Definition at line 349 of file FocusRow.h.
|
private |
===> Attribute focusModelId
Definition at line 709 of file FocusRow.h.
|
private |
===> Attribute focusOffset
Definition at line 646 of file FocusRow.h.
|
private |
===> Attribute focusRotationOffset
Definition at line 657 of file FocusRow.h.
|
private |
===> Attribute focusTracking
Definition at line 635 of file FocusRow.h.
|
private |
Definition at line 737 of file FocusRow.h.
|
private |
Definition at line 753 of file FocusRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 580 of file FocusRow.h.
|
private |
Definition at line 670 of file FocusRow.h.
|
private |
===> Attribute measuredFocusPosition, which is optional
Definition at line 667 of file FocusRow.h.
|
private |
Definition at line 683 of file FocusRow.h.
|
private |
===> Attribute measuredFocusRotation, which is optional
Definition at line 680 of file FocusRow.h.
|
private |
The table to which this row belongs.
Definition at line 576 of file FocusRow.h.