casa
5.7.0-16
|
The CalReductionRow class is a row of a CalReductionTable. More...
#include <CalReductionRow.h>
Public Member Functions | |
virtual | ~CalReductionRow () |
friend class asdm::TableStreamReader<CalReductionTable, CalReductionRow>; More... | |
CalReductionTable & | getTable () const |
Return the table to which this row belongs. More... | |
bool | isAdded () const |
Has this row been added to its table ? More... | |
int | getNumApplied () const |
===> Attribute numApplied More... | |
void | setNumApplied (int numApplied) |
Set numApplied with the specified int. More... | |
std::vector< std::string > | getAppliedCalibrations () const |
===> Attribute appliedCalibrations More... | |
void | setAppliedCalibrations (std::vector< std::string > appliedCalibrations) |
Set appliedCalibrations with the specified std::vector<std::string >. More... | |
int | getNumParam () const |
===> Attribute numParam More... | |
void | setNumParam (int numParam) |
Set numParam with the specified int. More... | |
std::vector< std::string > | getParamSet () const |
===> Attribute paramSet More... | |
void | setParamSet (std::vector< std::string > paramSet) |
Set paramSet with the specified std::vector<std::string >. More... | |
int | getNumInvalidConditions () const |
===> Attribute numInvalidConditions More... | |
void | setNumInvalidConditions (int numInvalidConditions) |
Set numInvalidConditions with the specified int. More... | |
std::vector < InvalidatingConditionMod::InvalidatingCondition > | getInvalidConditions () const |
===> Attribute invalidConditions More... | |
void | setInvalidConditions (std::vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions) |
Set invalidConditions with the specified std::vector<InvalidatingConditionMod::InvalidatingCondition >. More... | |
ArrayTime | getTimeReduced () const |
===> Attribute timeReduced More... | |
void | setTimeReduced (ArrayTime timeReduced) |
Set timeReduced with the specified ArrayTime. More... | |
std::string | getMessages () const |
===> Attribute messages More... | |
void | setMessages (std::string messages) |
Set messages with the specified std::string. More... | |
std::string | getSoftware () const |
===> Attribute software More... | |
void | setSoftware (std::string software) |
Set software with the specified std::string. More... | |
std::string | getSoftwareVersion () const |
===> Attribute softwareVersion More... | |
void | setSoftwareVersion (std::string softwareVersion) |
Set softwareVersion with the specified std::string. More... | |
Extrinsic Table Attributes Links *bool | compareNoAutoInc (int numApplied, std::vector< std::string > appliedCalibrations, int numParam, std::vector< std::string > paramSet, int numInvalidConditions, std::vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions, ArrayTime timeReduced, std::string messages, std::string software, std::string softwareVersion) |
Compare each mandatory attribute except the autoincrementable one of this CalReductionRow with the corresponding parameters and return true if there is a match and false otherwise. More... | |
bool | compareRequiredValue (int numApplied, std::vector< std::string > appliedCalibrations, int numParam, std::vector< std::string > paramSet, int numInvalidConditions, std::vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions, ArrayTime timeReduced, std::string messages, std::string software, std::string softwareVersion) |
Compare each mandatory value (i.e. More... | |
bool | equalByRequiredValue (CalReductionRow *x) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More... | |
asdmIDL::CalReductionRowIDL * | toIDL () const |
Return this row in the form of an IDL struct. More... | |
void | toIDL (asdmIDL::CalReductionRowIDL &x) const |
Define the content of a CalReductionRowIDL struct from the values found in this row. More... | |
void | setFromIDL (asdmIDL::CalReductionRowIDL x) |
Fill the values of this row from the IDL struct CalReductionRowIDL. 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... | |
CalReductionRow (CalReductionTable &table) | |
Create a CalReductionRow. More... | |
CalReductionRow (CalReductionTable &table, CalReductionRow *row) | |
Create a CalReductionRow using a copy constructor mechanism. More... | |
void | setCalReductionId (Tag calReductionId) |
Set calReductionId with the specified Tag value. More... | |
void | calReductionIdFromBin (EndianIStream &eis) |
void | numAppliedFromBin (EndianIStream &eis) |
void | appliedCalibrationsFromBin (EndianIStream &eis) |
void | numParamFromBin (EndianIStream &eis) |
void | paramSetFromBin (EndianIStream &eis) |
void | numInvalidConditionsFromBin (EndianIStream &eis) |
void | invalidConditionsFromBin (EndianIStream &eis) |
void | timeReducedFromBin (EndianIStream &eis) |
void | messagesFromBin (EndianIStream &eis) |
void | softwareFromBin (EndianIStream &eis) |
void | softwareVersionFromBin (EndianIStream &eis) |
void | calReductionIdFromText (const std::string &s) |
void | numAppliedFromText (const std::string &s) |
void | appliedCalibrationsFromText (const std::string &s) |
void | numParamFromText (const std::string &s) |
void | paramSetFromText (const std::string &s) |
void | numInvalidConditionsFromText (const std::string &s) |
void | invalidConditionsFromText (const std::string &s) |
void | timeReducedFromText (const std::string &s) |
void | messagesFromText (const std::string &s) |
void | softwareFromText (const std::string &s) |
void | softwareVersionFromText (const std::string &s) |
void | toBin (EndianOSStream &eoss) |
Serialize this into a stream of bytes written to an EndianOSStream. More... | |
Private Attributes | |
CalReductionTable & | table |
The table to which this row belongs. More... | |
bool | hasBeenAdded |
Whether this row has been added to the table or not. More... | |
int | numApplied |
===> Attribute numApplied More... | |
std::vector< std::string > | appliedCalibrations |
===> Attribute appliedCalibrations More... | |
int | numParam |
===> Attribute numParam More... | |
std::vector< std::string > | paramSet |
===> Attribute paramSet More... | |
int | numInvalidConditions |
===> Attribute numInvalidConditions More... | |
std::vector < InvalidatingConditionMod::InvalidatingCondition > | invalidConditions |
===> Attribute invalidConditions More... | |
ArrayTime | timeReduced |
===> Attribute timeReduced More... | |
std::string | messages |
===> Attribute messages More... | |
std::string | software |
===> Attribute software More... | |
std::string | softwareVersion |
===> Attribute softwareVersion More... | |
Extrinsic Table Attributes Links *binary deserialization material from an EndianIStream std::map< std::string, CalReductionAttributeFromBin > | fromBinMethods |
*text deserialization material std::map< std::string, CalReductionAttributeFromText > | fromTextMethods |
Friends | |
class | asdm::CalReductionTable |
class | asdm::RowTransformer< CalReductionRow > |
The CalReductionRow class is a row of a CalReductionTable.
Generated from model's revision "-1", branch ""
Definition at line 114 of file CalReductionRow.h.
|
virtual |
friend class asdm::TableStreamReader<CalReductionTable, CalReductionRow>;
|
private |
Create a CalReductionRow.
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 CalReductionRow using a copy constructor mechanism.
Given a CalReductionRow row and a CalReductionTable table, the method creates a new CalReductionRow 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 |
Extrinsic Table Attributes Links* bool asdm::CalReductionRow::compareNoAutoInc | ( | int | numApplied, |
std::vector< std::string > | appliedCalibrations, | ||
int | numParam, | ||
std::vector< std::string > | paramSet, | ||
int | numInvalidConditions, | ||
std::vector< InvalidatingConditionMod::InvalidatingCondition > | invalidConditions, | ||
ArrayTime | timeReduced, | ||
std::string | messages, | ||
std::string | software, | ||
std::string | softwareVersion | ||
) |
Compare each mandatory attribute except the autoincrementable one of this CalReductionRow with the corresponding parameters and return true if there is a match and false otherwise.
numApplied | |
appliedCalibrations | |
numParam | |
paramSet | |
numInvalidConditions | |
invalidConditions | |
timeReduced | |
messages | |
software | |
softwareVersion |
bool asdm::CalReductionRow::compareRequiredValue | ( | int | numApplied, |
std::vector< std::string > | appliedCalibrations, | ||
int | numParam, | ||
std::vector< std::string > | paramSet, | ||
int | numInvalidConditions, | ||
std::vector< InvalidatingConditionMod::InvalidatingCondition > | invalidConditions, | ||
ArrayTime | timeReduced, | ||
std::string | messages, | ||
std::string | software, | ||
std::string | softwareVersion | ||
) |
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.
numApplied | |
appliedCalibrations | |
numParam | |
paramSet | |
numInvalidConditions | |
invalidConditions | |
timeReduced | |
messages | |
software | |
softwareVersion |
bool asdm::CalReductionRow::equalByRequiredValue | ( | CalReductionRow * | 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 CalReductionRow whose required attributes of the value part will be compared with those of this. |
std::vector<std::string > asdm::CalReductionRow::getAppliedCalibrations | ( | ) | const |
===> Attribute appliedCalibrations
Get appliedCalibrations.
std::vector<InvalidatingConditionMod::InvalidatingCondition > asdm::CalReductionRow::getInvalidConditions | ( | ) | const |
===> Attribute invalidConditions
Get invalidConditions.
std::string asdm::CalReductionRow::getMessages | ( | ) | const |
===> Attribute messages
Get messages.
int asdm::CalReductionRow::getNumApplied | ( | ) | const |
===> Attribute numApplied
Get numApplied.
int asdm::CalReductionRow::getNumInvalidConditions | ( | ) | const |
===> Attribute numInvalidConditions
Get numInvalidConditions.
int asdm::CalReductionRow::getNumParam | ( | ) | const |
===> Attribute numParam
Get numParam.
std::vector<std::string > asdm::CalReductionRow::getParamSet | ( | ) | const |
===> Attribute paramSet
Get paramSet.
std::string asdm::CalReductionRow::getSoftware | ( | ) | const |
===> Attribute software
Get software.
std::string asdm::CalReductionRow::getSoftwareVersion | ( | ) | const |
===> Attribute softwareVersion
Get softwareVersion.
CalReductionTable& asdm::CalReductionRow::getTable | ( | ) | const |
Return the table to which this row belongs.
ArrayTime asdm::CalReductionRow::getTimeReduced | ( | ) | const |
|
private |
|
private |
bool asdm::CalReductionRow::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.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
void asdm::CalReductionRow::setAppliedCalibrations | ( | std::vector< std::string > | appliedCalibrations | ) |
Set appliedCalibrations with the specified std::vector<std::string >.
appliedCalibrations | The std::vector<std::string > value to which appliedCalibrations is to be set. |
|
private |
Set calReductionId with the specified Tag value.
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::CalReductionRow::setFromIDL | ( | asdmIDL::CalReductionRowIDL | x | ) |
Fill the values of this row from the IDL struct CalReductionRowIDL.
x | The IDL struct containing the values used to fill this row. |
ConversionException |
void asdm::CalReductionRow::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::CalReductionRow::setInvalidConditions | ( | std::vector< InvalidatingConditionMod::InvalidatingCondition > | invalidConditions | ) |
Set invalidConditions with the specified std::vector<InvalidatingConditionMod::InvalidatingCondition >.
invalidConditions | The std::vector<InvalidatingConditionMod::InvalidatingCondition > value to which invalidConditions is to be set. |
void asdm::CalReductionRow::setMessages | ( | std::string | messages | ) |
Set messages with the specified std::string.
messages | The std::string value to which messages is to be set. |
void asdm::CalReductionRow::setNumApplied | ( | int | numApplied | ) |
Set numApplied with the specified int.
numApplied | The int value to which numApplied is to be set. |
void asdm::CalReductionRow::setNumInvalidConditions | ( | int | numInvalidConditions | ) |
Set numInvalidConditions with the specified int.
numInvalidConditions | The int value to which numInvalidConditions is to be set. |
void asdm::CalReductionRow::setNumParam | ( | int | numParam | ) |
Set numParam with the specified int.
numParam | The int value to which numParam is to be set. |
void asdm::CalReductionRow::setParamSet | ( | std::vector< std::string > | paramSet | ) |
Set paramSet with the specified std::vector<std::string >.
paramSet | The std::vector<std::string > value to which paramSet is to be set. |
void asdm::CalReductionRow::setSoftware | ( | std::string | software | ) |
Set software with the specified std::string.
software | The std::string value to which software is to be set. |
void asdm::CalReductionRow::setSoftwareVersion | ( | std::string | softwareVersion | ) |
Set softwareVersion with the specified std::string.
softwareVersion | The std::string value to which softwareVersion is to be set. |
void asdm::CalReductionRow::setTimeReduced | ( | ArrayTime | timeReduced | ) |
|
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::CalReductionRowIDL* asdm::CalReductionRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::CalReductionRow::toIDL | ( | asdmIDL::CalReductionRowIDL & | x | ) | const |
Define the content of a CalReductionRowIDL struct from the values found in this row.
x | a reference to the CalReductionRowIDL struct to be set. |
std::string asdm::CalReductionRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
|
friend |
Definition at line 115 of file CalReductionRow.h.
|
friend |
Definition at line 116 of file CalReductionRow.h.
|
private |
===> Attribute appliedCalibrations
Definition at line 701 of file CalReductionRow.h.
Intrinsic Table asdm::CalReductionRow::Attributes |
Definition at line 139 of file CalReductionRow.h.
|
private |
Definition at line 808 of file CalReductionRow.h.
|
private |
Definition at line 827 of file CalReductionRow.h.
|
private |
Whether this row has been added to the table or not.
Definition at line 623 of file CalReductionRow.h.
|
private |
===> Attribute invalidConditions
Definition at line 745 of file CalReductionRow.h.
|
private |
===> Attribute messages
Definition at line 767 of file CalReductionRow.h.
|
private |
===> Attribute numApplied
Definition at line 690 of file CalReductionRow.h.
|
private |
===> Attribute numInvalidConditions
Definition at line 734 of file CalReductionRow.h.
|
private |
===> Attribute numParam
Definition at line 712 of file CalReductionRow.h.
|
private |
===> Attribute paramSet
Definition at line 723 of file CalReductionRow.h.
|
private |
===> Attribute software
Definition at line 778 of file CalReductionRow.h.
|
private |
===> Attribute softwareVersion
Definition at line 789 of file CalReductionRow.h.
|
private |
The table to which this row belongs.
Definition at line 619 of file CalReductionRow.h.
|
private |
===> Attribute timeReduced
Definition at line 756 of file CalReductionRow.h.