asdm::CalReductionRow Class Reference

The CalReductionRow class is a row of a CalReductionTable. More...

#include <CalReductionRow.h>

List of all members.

Public Member Functions

virtual ~CalReductionRow ()
 friend class asdm::TableStreamReader<CalReductionTable, CalReductionRow>;
CalReductionTablegetTable () const
 Return the table to which this row belongs.
bool isAdded () const
 Has this row been added to its table ?
int getNumApplied () const
 ===> Attribute numApplied
void setNumApplied (int numApplied)
 Set numApplied with the specified int.
vector< string > getAppliedCalibrations () const
 ===> Attribute appliedCalibrations
void setAppliedCalibrations (vector< string > appliedCalibrations)
 Set appliedCalibrations with the specified vector<string >.
int getNumParam () const
 ===> Attribute numParam
void setNumParam (int numParam)
 Set numParam with the specified int.
vector< string > getParamSet () const
 ===> Attribute paramSet
void setParamSet (vector< string > paramSet)
 Set paramSet with the specified vector<string >.
int getNumInvalidConditions () const
 ===> Attribute numInvalidConditions
void setNumInvalidConditions (int numInvalidConditions)
 Set numInvalidConditions with the specified int.
vector
< InvalidatingConditionMod::InvalidatingCondition > 
getInvalidConditions () const
 ===> Attribute invalidConditions
void setInvalidConditions (vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions)
 Set invalidConditions with the specified vector<InvalidatingConditionMod::InvalidatingCondition >.
ArrayTime getTimeReduced () const
 ===> Attribute timeReduced
void setTimeReduced (ArrayTime timeReduced)
 Set timeReduced with the specified ArrayTime.
string getMessages () const
 ===> Attribute messages
void setMessages (string messages)
 Set messages with the specified string.
string getSoftware () const
 ===> Attribute software
void setSoftware (string software)
 Set software with the specified string.
string getSoftwareVersion () const
 ===> Attribute softwareVersion
void setSoftwareVersion (string softwareVersion)
 Set softwareVersion with the specified string.
Extrinsic Table Attributes
Links *bool 
compareNoAutoInc (int numApplied, vector< string > appliedCalibrations, int numParam, vector< string > paramSet, int numInvalidConditions, vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions, ArrayTime timeReduced, string messages, string software, 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.
bool compareRequiredValue (int numApplied, vector< string > appliedCalibrations, int numParam, vector< string > paramSet, int numInvalidConditions, vector< InvalidatingConditionMod::InvalidatingCondition > invalidConditions, ArrayTime timeReduced, string messages, string software, string softwareVersion)
 Compare each mandatory value (i.e.
bool equalByRequiredValue (CalReductionRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
asdmIDL::CalReductionRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void toIDL (asdmIDL::CalReductionRowIDL &x) const
 Define the content of a CalReductionRowIDL struct from the values found in this row.
void setFromIDL (asdmIDL::CalReductionRowIDL x)
 Fill the values of this row from the IDL struct CalReductionRowIDL.
std::string toXML () const
 Return this row in the form of an XML string.
void setFromXML (std::string rowDoc)
 Fill the values of this row from an XML string that was produced by the toXML() method.

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.
 CalReductionRow (CalReductionTable &table)
 Create a CalReductionRow.
 CalReductionRow (CalReductionTable &table, CalReductionRow &row)
 Create a CalReductionRow using a copy constructor mechanism.
void setCalReductionId (Tag calReductionId)
 Set calReductionId with the specified Tag value.
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 string &s)
void numAppliedFromText (const string &s)
void appliedCalibrationsFromText (const string &s)
void numParamFromText (const string &s)
void paramSetFromText (const string &s)
void numInvalidConditionsFromText (const string &s)
void invalidConditionsFromText (const string &s)
void timeReducedFromText (const string &s)
void messagesFromText (const string &s)
void softwareFromText (const string &s)
void softwareVersionFromText (const string &s)
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream.

Private Attributes

CalReductionTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
int numApplied
 ===> Attribute numApplied
vector< string > appliedCalibrations
 ===> Attribute appliedCalibrations
int numParam
 ===> Attribute numParam
vector< string > paramSet
 ===> Attribute paramSet
int numInvalidConditions
 ===> Attribute numInvalidConditions
vector
< InvalidatingConditionMod::InvalidatingCondition > 
invalidConditions
 ===> Attribute invalidConditions
ArrayTime timeReduced
 ===> Attribute timeReduced
string messages
 ===> Attribute messages
string software
 ===> Attribute software
string softwareVersion
 ===> Attribute softwareVersion
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.64", branch "HEAD"

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:
table The 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:
table The table to which this row belongs.
row The row which is to be copied.

Member Function Documentation

void asdm::CalReductionRow::appliedCalibrationsFromBin ( EndianIStream eis  )  [private]
void asdm::CalReductionRow::appliedCalibrationsFromText ( const string &  s  )  [private]
void asdm::CalReductionRow::calReductionIdFromBin ( EndianIStream eis  )  [private]
void asdm::CalReductionRow::calReductionIdFromText ( const string &  s  )  [private]
Extrinsic Table Attributes Links* bool asdm::CalReductionRow::compareNoAutoInc ( int  numApplied,
vector< string >  appliedCalibrations,
int  numParam,
vector< string >  paramSet,
int  numInvalidConditions,
vector< InvalidatingConditionMod::InvalidatingCondition >  invalidConditions,
ArrayTime  timeReduced,
string  messages,
string  software,
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,
vector< string >  appliedCalibrations,
int  numParam,
vector< string >  paramSet,
int  numInvalidConditions,
vector< InvalidatingConditionMod::InvalidatingCondition >  invalidConditions,
ArrayTime  timeReduced,
string  messages,
string  software,
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:
x a pointer on the CalReductionRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.
vector<string > asdm::CalReductionRow::getAppliedCalibrations (  )  const

===> Attribute appliedCalibrations

Get appliedCalibrations.

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

===> Attribute invalidConditions

Get invalidConditions.

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

===> Attribute messages

Get messages.

Returns:
messages as 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
vector<string > asdm::CalReductionRow::getParamSet (  )  const

===> Attribute paramSet

Get paramSet.

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

===> Attribute software

Get software.

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

===> Attribute softwareVersion

Get softwareVersion.

Returns:
softwareVersion as 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 string &  s  )  [private]
void asdm::CalReductionRow::isAdded ( bool  added  )  [private]

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

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::messagesFromBin ( EndianIStream eis  )  [private]
void asdm::CalReductionRow::messagesFromText ( const string &  s  )  [private]
void asdm::CalReductionRow::numAppliedFromBin ( EndianIStream eis  )  [private]
void asdm::CalReductionRow::numAppliedFromText ( const string &  s  )  [private]
void asdm::CalReductionRow::numInvalidConditionsFromBin ( EndianIStream eis  )  [private]
void asdm::CalReductionRow::numInvalidConditionsFromText ( const string &  s  )  [private]
void asdm::CalReductionRow::numParamFromBin ( EndianIStream eis  )  [private]
void asdm::CalReductionRow::numParamFromText ( const string &  s  )  [private]
void asdm::CalReductionRow::paramSetFromBin ( EndianIStream eis  )  [private]
void asdm::CalReductionRow::paramSetFromText ( const string &  s  )  [private]
void asdm::CalReductionRow::setAppliedCalibrations ( vector< string >  appliedCalibrations  ) 

Set appliedCalibrations with the specified vector<string >.

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

Set calReductionId with the specified Tag value.

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

Parameters:
x The 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:
rowDoc the XML string being used to set the values of this row.
Exceptions:
ConversionException 
void asdm::CalReductionRow::setInvalidConditions ( vector< InvalidatingConditionMod::InvalidatingCondition >  invalidConditions  ) 

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

Parameters:
invalidConditions The vector<InvalidatingConditionMod::InvalidatingCondition > value to which invalidConditions is to be set.
void asdm::CalReductionRow::setMessages ( string  messages  ) 

Set messages with the specified string.

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

Set numApplied with the specified int.

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

Set numInvalidConditions with the specified int.

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

Set numParam with the specified int.

Parameters:
numParam The int value to which numParam is to be set.
void asdm::CalReductionRow::setParamSet ( vector< string >  paramSet  ) 

Set paramSet with the specified vector<string >.

Parameters:
paramSet The vector<string > value to which paramSet is to be set.
void asdm::CalReductionRow::setSoftware ( string  software  ) 

Set software with the specified string.

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

Set softwareVersion with the specified string.

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

Set timeReduced with the specified ArrayTime.

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

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

Parameters:
eoss the EndianOSStream to be written to
void asdm::CalReductionRow::toIDL ( asdmIDL::CalReductionRowIDL &  x  )  const

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

Parameters:
x a reference to the CalReductionRowIDL struct to be set.
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.
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

vector<string > asdm::CalReductionRow::appliedCalibrations [private]

===> Attribute appliedCalibrations

Definition at line 701 of file CalReductionRow.h.

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.

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

Definition at line 623 of file CalReductionRow.h.

vector<InvalidatingConditionMod::InvalidatingCondition > asdm::CalReductionRow::invalidConditions [private]

===> Attribute invalidConditions

Definition at line 745 of file CalReductionRow.h.

===> Attribute messages

Definition at line 767 of file CalReductionRow.h.

===> Attribute numApplied

Definition at line 690 of file CalReductionRow.h.

===> Attribute numInvalidConditions

Definition at line 734 of file CalReductionRow.h.

===> Attribute numParam

Definition at line 712 of file CalReductionRow.h.

vector<string > asdm::CalReductionRow::paramSet [private]

===> Attribute paramSet

Definition at line 723 of file CalReductionRow.h.

===> Attribute software

Definition at line 778 of file CalReductionRow.h.

===> Attribute softwareVersion

Definition at line 789 of file CalReductionRow.h.

The table to which this row belongs.

Definition at line 619 of file CalReductionRow.h.

===> Attribute timeReduced

Definition at line 756 of file CalReductionRow.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1