casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
asdm::CalReductionRow Class Reference

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...
 
CalReductionTablegetTable () 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

CalReductionTabletable
 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 >
 

Detailed Description

The CalReductionRow class is a row of a CalReductionTable.

Generated from model's revision "-1", branch ""

Definition at line 114 of file CalReductionRow.h.

Constructor & Destructor Documentation

virtual asdm::CalReductionRow::~CalReductionRow ( )
virtual

friend class asdm::TableStreamReader<CalReductionTable, CalReductionRow>;

asdm::CalReductionRow::CalReductionRow ( CalReductionTable table)
private

Create a CalReductionRow.

This constructor is private because only the table can create rows. All rows know the table to which they belong.

Parameters
tableThe table to which this row belongs.
asdm::CalReductionRow::CalReductionRow ( CalReductionTable table,
CalReductionRow row 
)
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.

Parameters
tableThe table to which this row belongs.
rowThe row which is to be copied.

Member Function Documentation

void asdm::CalReductionRow::appliedCalibrationsFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::appliedCalibrationsFromText ( const std::string &  s)
private
void asdm::CalReductionRow::calReductionIdFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::calReductionIdFromText ( const std::string &  s)
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.

Parameters
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.

Parameters
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.

Parameters
xa pointer on the CalReductionRow whose required attributes of the value part will be compared with those of this.
Returns
a boolean.
std::vector<std::string > asdm::CalReductionRow::getAppliedCalibrations ( ) const

===> Attribute appliedCalibrations

Get appliedCalibrations.

Returns
appliedCalibrations as std::vector<std::string >
std::vector<InvalidatingConditionMod::InvalidatingCondition > asdm::CalReductionRow::getInvalidConditions ( ) const

===> Attribute invalidConditions

Get invalidConditions.

Returns
invalidConditions as std::vector<InvalidatingConditionMod::InvalidatingCondition >
std::string asdm::CalReductionRow::getMessages ( ) const

===> Attribute messages

Get messages.

Returns
messages as std::string
int asdm::CalReductionRow::getNumApplied ( ) const

===> Attribute numApplied

Get numApplied.

Returns
numApplied as int
int asdm::CalReductionRow::getNumInvalidConditions ( ) const

===> Attribute numInvalidConditions

Get numInvalidConditions.

Returns
numInvalidConditions as int
int asdm::CalReductionRow::getNumParam ( ) const

===> Attribute numParam

Get numParam.

Returns
numParam as int
std::vector<std::string > asdm::CalReductionRow::getParamSet ( ) const

===> Attribute paramSet

Get paramSet.

Returns
paramSet as std::vector<std::string >
std::string asdm::CalReductionRow::getSoftware ( ) const

===> Attribute software

Get software.

Returns
software as std::string
std::string asdm::CalReductionRow::getSoftwareVersion ( ) const

===> Attribute softwareVersion

Get softwareVersion.

Returns
softwareVersion as std::string
CalReductionTable& asdm::CalReductionRow::getTable ( ) const

Return the table to which this row belongs.

ArrayTime asdm::CalReductionRow::getTimeReduced ( ) const

===> Attribute timeReduced

Get timeReduced.

Returns
timeReduced as ArrayTime
void asdm::CalReductionRow::invalidConditionsFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::invalidConditionsFromText ( const std::string &  s)
private
bool asdm::CalReductionRow::isAdded ( ) const

Has this row been added to its table ?

Returns
true if and only if it has been added.
void asdm::CalReductionRow::isAdded ( bool  added)
private

This method is used by the Table class when this row is added to the table.

void asdm::CalReductionRow::messagesFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::messagesFromText ( const std::string &  s)
private
void asdm::CalReductionRow::numAppliedFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::numAppliedFromText ( const std::string &  s)
private
void asdm::CalReductionRow::numInvalidConditionsFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::numInvalidConditionsFromText ( const std::string &  s)
private
void asdm::CalReductionRow::numParamFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::numParamFromText ( const std::string &  s)
private
void asdm::CalReductionRow::paramSetFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::paramSetFromText ( const std::string &  s)
private
void asdm::CalReductionRow::setAppliedCalibrations ( std::vector< std::string >  appliedCalibrations)

Set appliedCalibrations with the specified std::vector<std::string >.

Parameters
appliedCalibrationsThe std::vector<std::string > value to which appliedCalibrations is to be set.
void asdm::CalReductionRow::setCalReductionId ( Tag  calReductionId)
private

Set calReductionId with the specified Tag value.

Parameters
calReductionIdThe Tag value to which calReductionId is to be set.
Exceptions
IllegalAccessExceptionIf 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.

Parameters
xThe IDL struct containing the values used to fill this row.
Exceptions
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.

Parameters
rowDocthe XML string being used to set the values of this row.
Exceptions
ConversionException
void asdm::CalReductionRow::setInvalidConditions ( std::vector< InvalidatingConditionMod::InvalidatingCondition >  invalidConditions)

Set invalidConditions with the specified std::vector<InvalidatingConditionMod::InvalidatingCondition >.

Parameters
invalidConditionsThe 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.

Parameters
messagesThe std::string value to which messages is to be set.
void asdm::CalReductionRow::setNumApplied ( int  numApplied)

Set numApplied with the specified int.

Parameters
numAppliedThe int value to which numApplied is to be set.
void asdm::CalReductionRow::setNumInvalidConditions ( int  numInvalidConditions)

Set numInvalidConditions with the specified int.

Parameters
numInvalidConditionsThe int value to which numInvalidConditions is to be set.
void asdm::CalReductionRow::setNumParam ( int  numParam)

Set numParam with the specified int.

Parameters
numParamThe 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 >.

Parameters
paramSetThe 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.

Parameters
softwareThe std::string value to which software is to be set.
void asdm::CalReductionRow::setSoftwareVersion ( std::string  softwareVersion)

Set softwareVersion with the specified std::string.

Parameters
softwareVersionThe std::string value to which softwareVersion is to be set.
void asdm::CalReductionRow::setTimeReduced ( ArrayTime  timeReduced)

Set timeReduced with the specified ArrayTime.

Parameters
timeReducedThe ArrayTime value to which timeReduced is to be set.
void asdm::CalReductionRow::softwareFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::softwareFromText ( const std::string &  s)
private
void asdm::CalReductionRow::softwareVersionFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::softwareVersionFromText ( const std::string &  s)
private
void asdm::CalReductionRow::timeReducedFromBin ( EndianIStream eis)
private
void asdm::CalReductionRow::timeReducedFromText ( const std::string &  s)
private
void asdm::CalReductionRow::toBin ( EndianOSStream eoss)
private

Serialize this into a stream of bytes written to an EndianOSStream.

Parameters
eossthe EndianOSStream to be written to
asdmIDL::CalReductionRowIDL* asdm::CalReductionRow::toIDL ( ) const

Return this row in the form of an IDL struct.

Returns
The values of this row as a CalReductionRowIDL struct.
void asdm::CalReductionRow::toIDL ( asdmIDL::CalReductionRowIDL &  x) const

Define the content of a CalReductionRowIDL struct from the values found in this row.

Parameters
xa reference to the CalReductionRowIDL struct to be set.
std::string asdm::CalReductionRow::toXML ( ) const

Return this row in the form of an XML string.

Returns
The values of this row as an XML string.

Friends And Related Function Documentation

friend class asdm::CalReductionTable
friend

Definition at line 115 of file CalReductionRow.h.

friend class asdm::RowTransformer< CalReductionRow >
friend

Definition at line 116 of file CalReductionRow.h.

Member Data Documentation

std::vector<std::string > asdm::CalReductionRow::appliedCalibrations
private

===> Attribute appliedCalibrations

Definition at line 701 of file CalReductionRow.h.

Intrinsic Table asdm::CalReductionRow::Attributes

Definition at line 139 of file CalReductionRow.h.

Extrinsic Table Attributes Links* binary deserialization material from an EndianIStream std::map<std::string, CalReductionAttributeFromBin> asdm::CalReductionRow::fromBinMethods
private

Definition at line 808 of file CalReductionRow.h.

* text deserialization material std::map<std::string, CalReductionAttributeFromText> asdm::CalReductionRow::fromTextMethods
private

Definition at line 827 of file CalReductionRow.h.

bool asdm::CalReductionRow::hasBeenAdded
private

Whether this row has been added to the table or not.

Definition at line 623 of file CalReductionRow.h.

std::vector<InvalidatingConditionMod::InvalidatingCondition > asdm::CalReductionRow::invalidConditions
private

===> Attribute invalidConditions

Definition at line 745 of file CalReductionRow.h.

std::string asdm::CalReductionRow::messages
private

===> Attribute messages

Definition at line 767 of file CalReductionRow.h.

int asdm::CalReductionRow::numApplied
private

===> Attribute numApplied

Definition at line 690 of file CalReductionRow.h.

int asdm::CalReductionRow::numInvalidConditions
private

===> Attribute numInvalidConditions

Definition at line 734 of file CalReductionRow.h.

int asdm::CalReductionRow::numParam
private

===> Attribute numParam

Definition at line 712 of file CalReductionRow.h.

std::vector<std::string > asdm::CalReductionRow::paramSet
private

===> Attribute paramSet

Definition at line 723 of file CalReductionRow.h.

std::string asdm::CalReductionRow::software
private

===> Attribute software

Definition at line 778 of file CalReductionRow.h.

std::string asdm::CalReductionRow::softwareVersion
private

===> Attribute softwareVersion

Definition at line 789 of file CalReductionRow.h.

CalReductionTable& asdm::CalReductionRow::table
private

The table to which this row belongs.

Definition at line 619 of file CalReductionRow.h.

ArrayTime asdm::CalReductionRow::timeReduced
private

===> Attribute timeReduced

Definition at line 756 of file CalReductionRow.h.


The documentation for this class was generated from the following file: