casa
5.7.0-16
|
The CalDataRow class is a row of a CalDataTable. More...
#include <CalDataRow.h>
Public Member Functions | |
virtual | ~CalDataRow () |
friend class asdm::TableStreamReader<CalDataTable, CalDataRow>; More... | |
CalDataTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
ArrayTime | getStartTimeObserved () const |
===> Attribute startTimeObserved More... | |
void | setStartTimeObserved (ArrayTime startTimeObserved) |
Set startTimeObserved with the specified ArrayTime. More... | |
ArrayTime | getEndTimeObserved () const |
===> Attribute endTimeObserved More... | |
void | setEndTimeObserved (ArrayTime endTimeObserved) |
Set endTimeObserved with the specified ArrayTime. More... | |
EntityRef | getExecBlockUID () const |
===> Attribute execBlockUID More... | |
void | setExecBlockUID (EntityRef execBlockUID) |
Set execBlockUID with the specified EntityRef. More... | |
CalDataOriginMod::CalDataOrigin | getCalDataType () const |
===> Attribute calDataType More... | |
void | setCalDataType (CalDataOriginMod::CalDataOrigin calDataType) |
Set calDataType with the specified CalDataOriginMod::CalDataOrigin. More... | |
CalTypeMod::CalType | getCalType () const |
===> Attribute calType More... | |
void | setCalType (CalTypeMod::CalType calType) |
Set calType with the specified CalTypeMod::CalType. More... | |
int | getNumScan () const |
===> Attribute numScan More... | |
void | setNumScan (int numScan) |
Set numScan with the specified int. More... | |
std::vector< int > | getScanSet () const |
===> Attribute scanSet More... | |
void | setScanSet (std::vector< int > scanSet) |
Set scanSet with the specified std::vector<int >. More... | |
bool | isAssocCalDataIdExists () const |
===> Attribute assocCalDataId, which is optional More... | |
Tag | getAssocCalDataId () const |
Get assocCalDataId, which is optional. More... | |
void | setAssocCalDataId (Tag assocCalDataId) |
Set assocCalDataId with the specified Tag. More... | |
void | clearAssocCalDataId () |
Mark assocCalDataId, which is an optional field, as non-existent. More... | |
bool | isAssocCalNatureExists () const |
===> Attribute assocCalNature, which is optional More... | |
AssociatedCalNatureMod::AssociatedCalNature | getAssocCalNature () const |
Get assocCalNature, which is optional. More... | |
void | setAssocCalNature (AssociatedCalNatureMod::AssociatedCalNature assocCalNature) |
Set assocCalNature with the specified AssociatedCalNatureMod::AssociatedCalNature. More... | |
void | clearAssocCalNature () |
Mark assocCalNature, which is an optional field, as non-existent. More... | |
bool | isFieldNameExists () const |
===> Attribute fieldName, which is optional More... | |
std::vector< std::string > | getFieldName () const |
Get fieldName, which is optional. More... | |
void | setFieldName (std::vector< std::string > fieldName) |
Set fieldName with the specified std::vector<std::string >. More... | |
void | clearFieldName () |
Mark fieldName, which is an optional field, as non-existent. More... | |
bool | isSourceNameExists () const |
===> Attribute sourceName, which is optional More... | |
std::vector< std::string > | getSourceName () const |
Get sourceName, which is optional. More... | |
void | setSourceName (std::vector< std::string > sourceName) |
Set sourceName with the specified std::vector<std::string >. More... | |
void | clearSourceName () |
Mark sourceName, which is an optional field, as non-existent. More... | |
bool | isSourceCodeExists () const |
===> Attribute sourceCode, which is optional More... | |
std::vector< std::string > | getSourceCode () const |
Get sourceCode, which is optional. More... | |
void | setSourceCode (std::vector< std::string > sourceCode) |
Set sourceCode with the specified std::vector<std::string >. More... | |
void | clearSourceCode () |
Mark sourceCode, which is an optional field, as non-existent. More... | |
bool | isScanIntentExists () const |
===> Attribute scanIntent, which is optional More... | |
std::vector < ScanIntentMod::ScanIntent > | getScanIntent () const |
Get scanIntent, which is optional. More... | |
void | setScanIntent (std::vector< ScanIntentMod::ScanIntent > scanIntent) |
Set scanIntent with the specified std::vector<ScanIntentMod::ScanIntent >. More... | |
void | clearScanIntent () |
Mark scanIntent, which is an optional field, as non-existent. More... | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (ArrayTime startTimeObserved, ArrayTime endTimeObserved, EntityRef execBlockUID, CalDataOriginMod::CalDataOrigin calDataType, CalTypeMod::CalType calType, int numScan, std::vector< int > scanSet) |
Compare each mandatory attribute except the autoincrementable one of this CalDataRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (ArrayTime startTimeObserved, ArrayTime endTimeObserved, EntityRef execBlockUID, CalDataOriginMod::CalDataOrigin calDataType, CalTypeMod::CalType calType, int numScan, std::vector< int > scanSet) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalDataRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalDataRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalDataRowIDL &x) const |
Define the content of a CalDataRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalDataRowIDL x) |
Fill the values of this row from the IDL struct CalDataRowIDL. 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 Member Functions | |
void | isAdded (bool added) |
This method is used by the Table class when this row is added to the table. More... | |
CalDataRow (CalDataTable &table) | |
Create a CalDataRow. More... | |
CalDataRow (CalDataTable &table, CalDataRow *row) | |
Create a CalDataRow using a copy constructor mechanism. More... | |
void | setCalDataId (Tag calDataId) |
Set calDataId with the specified Tag value. More... | |
void | calDataIdFromBin (EndianIStream &eis) |
void | startTimeObservedFromBin (EndianIStream &eis) |
void | endTimeObservedFromBin (EndianIStream &eis) |
void | execBlockUIDFromBin (EndianIStream &eis) |
void | calDataTypeFromBin (EndianIStream &eis) |
void | calTypeFromBin (EndianIStream &eis) |
void | numScanFromBin (EndianIStream &eis) |
void | scanSetFromBin (EndianIStream &eis) |
void | assocCalDataIdFromBin (EndianIStream &eis) |
void | assocCalNatureFromBin (EndianIStream &eis) |
void | fieldNameFromBin (EndianIStream &eis) |
void | sourceNameFromBin (EndianIStream &eis) |
void | sourceCodeFromBin (EndianIStream &eis) |
void | scanIntentFromBin (EndianIStream &eis) |
void | calDataIdFromText (const std::string &s) |
void | startTimeObservedFromText (const std::string &s) |
void | endTimeObservedFromText (const std::string &s) |
void | calDataTypeFromText (const std::string &s) |
void | calTypeFromText (const std::string &s) |
void | numScanFromText (const std::string &s) |
void | scanSetFromText (const std::string &s) |
void | assocCalDataIdFromText (const std::string &s) |
void | assocCalNatureFromText (const std::string &s) |
void | fieldNameFromText (const std::string &s) |
void | sourceNameFromText (const std::string &s) |
void | sourceCodeFromText (const std::string &s) |
void | scanIntentFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
CalDataTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
ArrayTime | startTimeObserved |
===> Attribute startTimeObserved More... | |
ArrayTime | endTimeObserved |
===> Attribute endTimeObserved More... | |
EntityRef | execBlockUID |
===> Attribute execBlockUID More... | |
CalDataOriginMod::CalDataOrigin | calDataType |
===> Attribute calDataType More... | |
CalTypeMod::CalType | calType |
===> Attribute calType More... | |
int | numScan |
===> Attribute numScan More... | |
std::vector< int > | scanSet |
===> Attribute scanSet More... | |
bool | assocCalDataIdExists |
===> Attribute assocCalDataId, which is optional More... | |
Tag | assocCalDataId |
bool | assocCalNatureExists |
===> Attribute assocCalNature, which is optional More... | |
AssociatedCalNatureMod::AssociatedCalNature | assocCalNature |
bool | fieldNameExists |
===> Attribute fieldName, which is optional More... | |
std::vector< std::string > | fieldName |
bool | sourceNameExists |
===> Attribute sourceName, which is optional More... | |
std::vector< std::string > | sourceName |
bool | sourceCodeExists |
===> Attribute sourceCode, which is optional More... | |
std::vector< std::string > | sourceCode |
bool | scanIntentExists |
===> Attribute scanIntent, which is optional More... | |
std::vector < ScanIntentMod::ScanIntent > | scanIntent |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, CalDataAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalDataAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalDataTable |
class | asdm::RowTransformer< CalDataRow > |
The CalDataRow class is a row of a CalDataTable.
Generated from model's revision "-1", branch ""
Definition at line 130 of file CalDataRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalDataTable, CalDataRow>;
|
private |
Create a CalDataRow.
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 CalDataRow using a copy constructor mechanism.
Given a CalDataRow row and a CalDataTable table, the method creates a new CalDataRow 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 |
void asdm::CalDataRow::clearAssocCalDataId | ( | ) |
Mark assocCalDataId, which is an optional field, as non-existent.
void asdm::CalDataRow::clearAssocCalNature | ( | ) |
Mark assocCalNature, which is an optional field, as non-existent.
void asdm::CalDataRow::clearFieldName | ( | ) |
Mark fieldName, which is an optional field, as non-existent.
void asdm::CalDataRow::clearScanIntent | ( | ) |
Mark scanIntent, which is an optional field, as non-existent.
void asdm::CalDataRow::clearSourceCode | ( | ) |
Mark sourceCode, which is an optional field, as non-existent.
void asdm::CalDataRow::clearSourceName | ( | ) |
Mark sourceName, which is an optional field, as non-existent.
Extrinsic Table Attributes Links* bool asdm::CalDataRow::compareNoAutoInc | ( | ArrayTime | startTimeObserved, |
ArrayTime | endTimeObserved, | ||
EntityRef | execBlockUID, | ||
CalDataOriginMod::CalDataOrigin | calDataType, | ||
CalTypeMod::CalType | calType, | ||
int | numScan, | ||
std::vector< int > | scanSet | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalDataRow with the corresponding parameters and return true if there is a match and false otherwise.
startTimeObserved | |
endTimeObserved | |
execBlockUID | |
calDataType | |
calType | |
numScan | |
scanSet |
bool asdm::CalDataRow::compareRequiredValue | ( | ArrayTime | startTimeObserved, |
ArrayTime | endTimeObserved, | ||
EntityRef | execBlockUID, | ||
CalDataOriginMod::CalDataOrigin | calDataType, | ||
CalTypeMod::CalType | calType, | ||
int | numScan, | ||
std::vector< int > | scanSet | ||
) |
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.
startTimeObserved | |
endTimeObserved | |
execBlockUID | |
calDataType | |
calType | |
numScan | |
scanSet |
|
private |
|
private |
bool asdm::CalDataRow::equalByRequiredValue | ( | CalDataRow * | 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 CalDataRow whose required attributes of the value part will be compared with those of this. |
|
private |
|
private |
|
private |
Tag asdm::CalDataRow::getAssocCalDataId | ( | ) | const |
Get assocCalDataId, which is optional.
IllegalAccessException | If assocCalDataId does not exist. |
AssociatedCalNatureMod::AssociatedCalNature asdm::CalDataRow::getAssocCalNature | ( | ) | const |
Get assocCalNature, which is optional.
IllegalAccessException | If assocCalNature does not exist. |
CalDataOriginMod::CalDataOrigin asdm::CalDataRow::getCalDataType | ( | ) | const |
===> Attribute calDataType
Get calDataType.
CalTypeMod::CalType asdm::CalDataRow::getCalType | ( | ) | const |
===> Attribute calType
Get calType.
ArrayTime asdm::CalDataRow::getEndTimeObserved | ( | ) | const |
EntityRef asdm::CalDataRow::getExecBlockUID | ( | ) | const |
std::vector<std::string > asdm::CalDataRow::getFieldName | ( | ) | const |
Get fieldName, which is optional.
IllegalAccessException | If fieldName does not exist. |
int asdm::CalDataRow::getNumScan | ( | ) | const |
===> Attribute numScan
Get numScan.
std::vector<ScanIntentMod::ScanIntent > asdm::CalDataRow::getScanIntent | ( | ) | const |
Get scanIntent, which is optional.
IllegalAccessException | If scanIntent does not exist. |
std::vector<int > asdm::CalDataRow::getScanSet | ( | ) | const |
===> Attribute scanSet
Get scanSet.
std::vector<std::string > asdm::CalDataRow::getSourceCode | ( | ) | const |
Get sourceCode, which is optional.
IllegalAccessException | If sourceCode does not exist. |
std::vector<std::string > asdm::CalDataRow::getSourceName | ( | ) | const |
Get sourceName, which is optional.
IllegalAccessException | If sourceName does not exist. |
ArrayTime asdm::CalDataRow::getStartTimeObserved | ( | ) | const |
CalDataTable& asdm::CalDataRow::getTable | ( | ) | const |
Return the table to which this row belongs.
bool asdm::CalDataRow::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::CalDataRow::isAssocCalDataIdExists | ( | ) | const |
===> Attribute assocCalDataId, which is optional
The attribute assocCalDataId is optional. Return true if this attribute exists.
bool asdm::CalDataRow::isAssocCalNatureExists | ( | ) | const |
===> Attribute assocCalNature, which is optional
The attribute assocCalNature is optional. Return true if this attribute exists.
bool asdm::CalDataRow::isFieldNameExists | ( | ) | const |
===> Attribute fieldName, which is optional
The attribute fieldName is optional. Return true if this attribute exists.
bool asdm::CalDataRow::isScanIntentExists | ( | ) | const |
===> Attribute scanIntent, which is optional
The attribute scanIntent is optional. Return true if this attribute exists.
bool asdm::CalDataRow::isSourceCodeExists | ( | ) | const |
===> Attribute sourceCode, which is optional
The attribute sourceCode is optional. Return true if this attribute exists.
bool asdm::CalDataRow::isSourceNameExists | ( | ) | const |
===> Attribute sourceName, which is optional
The attribute sourceName is optional. Return true if this attribute exists.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::CalDataRow::setAssocCalDataId | ( | Tag | assocCalDataId | ) |
void asdm::CalDataRow::setAssocCalNature | ( | AssociatedCalNatureMod::AssociatedCalNature | assocCalNature | ) |
Set assocCalNature with the specified AssociatedCalNatureMod::AssociatedCalNature.
assocCalNature | The AssociatedCalNatureMod::AssociatedCalNature value to which assocCalNature is to be set. |
|
private |
Set calDataId with the specified Tag value.
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::CalDataRow::setCalDataType | ( | CalDataOriginMod::CalDataOrigin | calDataType | ) |
Set calDataType with the specified CalDataOriginMod::CalDataOrigin.
calDataType | The CalDataOriginMod::CalDataOrigin value to which calDataType is to be set. |
void asdm::CalDataRow::setCalType | ( | CalTypeMod::CalType | calType | ) |
Set calType with the specified CalTypeMod::CalType.
calType | The CalTypeMod::CalType value to which calType is to be set. |
void asdm::CalDataRow::setEndTimeObserved | ( | ArrayTime | endTimeObserved | ) |
void asdm::CalDataRow::setExecBlockUID | ( | EntityRef | execBlockUID | ) |
void asdm::CalDataRow::setFieldName | ( | std::vector< std::string > | fieldName | ) |
Set fieldName with the specified std::vector<std::string >.
fieldName | The std::vector<std::string > value to which fieldName is to be set. |
void asdm::CalDataRow::setFromIDL | ( | asdmIDL::CalDataRowIDL | x | ) |
Fill the values of this row from the IDL struct CalDataRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalDataRow::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::CalDataRow::setNumScan | ( | int | numScan | ) |
Set numScan with the specified int.
numScan | The int value to which numScan is to be set. |
void asdm::CalDataRow::setScanIntent | ( | std::vector< ScanIntentMod::ScanIntent > | scanIntent | ) |
Set scanIntent with the specified std::vector<ScanIntentMod::ScanIntent >.
scanIntent | The std::vector<ScanIntentMod::ScanIntent > value to which scanIntent is to be set. |
void asdm::CalDataRow::setScanSet | ( | std::vector< int > | scanSet | ) |
Set scanSet with the specified std::vector<int >.
scanSet | The std::vector<int > value to which scanSet is to be set. |
void asdm::CalDataRow::setSourceCode | ( | std::vector< std::string > | sourceCode | ) |
Set sourceCode with the specified std::vector<std::string >.
sourceCode | The std::vector<std::string > value to which sourceCode is to be set. |
void asdm::CalDataRow::setSourceName | ( | std::vector< std::string > | sourceName | ) |
Set sourceName with the specified std::vector<std::string >.
sourceName | The std::vector<std::string > value to which sourceName is to be set. |
void asdm::CalDataRow::setStartTimeObserved | ( | ArrayTime | startTimeObserved | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Serialize this into a stream of bytes written to an EndianOSStream.
eoss | the EndianOSStream to be written to |
asdmIDL::CalDataRowIDL* asdm::CalDataRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalDataRow::toIDL | ( | asdmIDL::CalDataRowIDL & | x | ) | const |
Define the content of a CalDataRowIDL struct from the values found in this row.
x | a reference to the CalDataRowIDL struct to be set. |
std::string asdm::CalDataRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 131 of file CalDataRow.h.
|
friend |
Definition at line 132 of file CalDataRow.h.
|
private |
Definition at line 932 of file CalDataRow.h.
|
private |
===> Attribute assocCalDataId, which is optional
Definition at line 929 of file CalDataRow.h.
|
private |
Definition at line 945 of file CalDataRow.h.
|
private |
===> Attribute assocCalNature, which is optional
Definition at line 942 of file CalDataRow.h.
Intrinsic Table asdm::CalDataRow::Attributes |
Definition at line 155 of file CalDataRow.h.
|
private |
===> Attribute calDataType
Definition at line 886 of file CalDataRow.h.
|
private |
===> Attribute calType
Definition at line 897 of file CalDataRow.h.
|
private |
===> Attribute endTimeObserved
Definition at line 864 of file CalDataRow.h.
|
private |
===> Attribute execBlockUID
Definition at line 875 of file CalDataRow.h.
|
private |
Definition at line 958 of file CalDataRow.h.
|
private |
===> Attribute fieldName, which is optional
Definition at line 955 of file CalDataRow.h.
|
private |
Definition at line 1016 of file CalDataRow.h.
|
private |
Definition at line 1038 of file CalDataRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 786 of file CalDataRow.h.
|
private |
===> Attribute numScan
Definition at line 908 of file CalDataRow.h.
|
private |
Definition at line 997 of file CalDataRow.h.
|
private |
===> Attribute scanIntent, which is optional
Definition at line 994 of file CalDataRow.h.
|
private |
===> Attribute scanSet
Definition at line 919 of file CalDataRow.h.
|
private |
Definition at line 984 of file CalDataRow.h.
|
private |
===> Attribute sourceCode, which is optional
Definition at line 981 of file CalDataRow.h.
|
private |
Definition at line 971 of file CalDataRow.h.
|
private |
===> Attribute sourceName, which is optional
Definition at line 968 of file CalDataRow.h.
|
private |
===> Attribute startTimeObserved
Definition at line 853 of file CalDataRow.h.
|
private |
The table to which this row belongs.
Definition at line 782 of file CalDataRow.h.