asdm::CalGainRow Class Reference

#include <CalGainRow.h>

List of all members.


Detailed Description

The CalGainRow class is a row of a CalGainTable.

Generated from model's revision "1.41", branch "HEAD"


Public Member Functions

CalGainTablegetTable () const
CalGainRowIDL * toIDL () const
void setFromIDL (CalGainRowIDL x) throw (ConversionException)
string toXML () const
void setFromXML (string rowDoc) throw (ConversionException)
ArrayTime getStartValidTime () const
void setStartValidTime (ArrayTime startValidTime)
ArrayTime getEndValidTime () const
void setEndValidTime (ArrayTime endValidTime)
vector< vector< float > > getGain () const
void setGain (vector< vector< float > > gain)
vector< bool > getGainValid () const
void setGainValid (vector< bool > gainValid)
vector< vector< float > > getFit () const
void setFit (vector< vector< float > > fit)
vector< float > getFitWeight () const
void setFitWeight (vector< float > fitWeight)
bool getTotalGainValid () const
void setTotalGainValid (bool totalGainValid)
float getTotalFit () const
void setTotalFit (float totalFit)
float getTotalFitWeight () const
void setTotalFitWeight (float totalFitWeight)
Tag getCalDataId () const
void setCalDataId (Tag calDataId) throw (IllegalAccessException)
Tag getCalReductionId () const
void setCalReductionId (Tag calReductionId) throw (IllegalAccessException)
CalDataRowgetCalDataUsingCalDataId ()
CalReductionRowgetCalReductionUsingCalReductionId ()
bool compareNoAutoInc (Tag calDataId, Tag calReductionId, ArrayTime startValidTime, ArrayTime endValidTime, vector< vector< float > > gain, vector< bool > gainValid, vector< vector< float > > fit, vector< float > fitWeight, bool totalGainValid, float totalFit, float totalFitWeight)
bool compareRequiredValue (ArrayTime startValidTime, ArrayTime endValidTime, vector< vector< float > > gain, vector< bool > gainValid, vector< vector< float > > fit, vector< float > fitWeight, bool totalGainValid, float totalFit, float totalFitWeight)
bool equalByRequiredValue (CalGainRow *x)

Friends

class asdm::CalGainTable


Member Function Documentation

CalGainTable& asdm::CalGainRow::getTable (  )  const

Return the table to which this row belongs.

CalGainRowIDL* asdm::CalGainRow::toIDL (  )  const

Return this row in the form of an IDL struct.

Returns:
The values of this row as a CalGainRowIDL struct.

void asdm::CalGainRow::setFromIDL ( CalGainRowIDL  x  )  throw (ConversionException)

Fill the values of this row from the IDL struct CalGainRowIDL.

Parameters:
x The IDL struct containing the values used to fill this row.

string asdm::CalGainRow::toXML (  )  const

Return this row in the form of an XML string.

Returns:
The values of this row as an XML string.

void asdm::CalGainRow::setFromXML ( string  rowDoc  )  throw (ConversionException)

Fill the values of this row from an XML string that was produced by the toXML() method.

Parameters:
x The XML string being used to set the values of this row.

ArrayTime asdm::CalGainRow::getStartValidTime (  )  const

Get startValidTime.

Returns:
startValidTime as ArrayTime

void asdm::CalGainRow::setStartValidTime ( ArrayTime  startValidTime  ) 

Set startValidTime with the specified ArrayTime.

Parameters:
startValidTime The ArrayTime value to which startValidTime is to be set.

ArrayTime asdm::CalGainRow::getEndValidTime (  )  const

Get endValidTime.

Returns:
endValidTime as ArrayTime

void asdm::CalGainRow::setEndValidTime ( ArrayTime  endValidTime  ) 

Set endValidTime with the specified ArrayTime.

Parameters:
endValidTime The ArrayTime value to which endValidTime is to be set.

vector<vector<float > > asdm::CalGainRow::getGain (  )  const

Get gain.

Returns:
gain as vector<vector<float > >

void asdm::CalGainRow::setGain ( vector< vector< float > >  gain  ) 

Set gain with the specified vector<vector<float > >.

Parameters:
gain The vector<vector<float > > value to which gain is to be set.

vector<bool > asdm::CalGainRow::getGainValid (  )  const

Get gainValid.

Returns:
gainValid as vector<bool >

void asdm::CalGainRow::setGainValid ( vector< bool >  gainValid  ) 

Set gainValid with the specified vector<bool >.

Parameters:
gainValid The vector<bool > value to which gainValid is to be set.

vector<vector<float > > asdm::CalGainRow::getFit (  )  const

Get fit.

Returns:
fit as vector<vector<float > >

void asdm::CalGainRow::setFit ( vector< vector< float > >  fit  ) 

Set fit with the specified vector<vector<float > >.

Parameters:
fit The vector<vector<float > > value to which fit is to be set.

vector<float > asdm::CalGainRow::getFitWeight (  )  const

Get fitWeight.

Returns:
fitWeight as vector<float >

void asdm::CalGainRow::setFitWeight ( vector< float >  fitWeight  ) 

Set fitWeight with the specified vector<float >.

Parameters:
fitWeight The vector<float > value to which fitWeight is to be set.

bool asdm::CalGainRow::getTotalGainValid (  )  const

Get totalGainValid.

Returns:
totalGainValid as bool

void asdm::CalGainRow::setTotalGainValid ( bool  totalGainValid  ) 

Set totalGainValid with the specified bool.

Parameters:
totalGainValid The bool value to which totalGainValid is to be set.

float asdm::CalGainRow::getTotalFit (  )  const

Get totalFit.

Returns:
totalFit as float

void asdm::CalGainRow::setTotalFit ( float  totalFit  ) 

Set totalFit with the specified float.

Parameters:
totalFit The float value to which totalFit is to be set.

float asdm::CalGainRow::getTotalFitWeight (  )  const

Get totalFitWeight.

Returns:
totalFitWeight as float

void asdm::CalGainRow::setTotalFitWeight ( float  totalFitWeight  ) 

Set totalFitWeight with the specified float.

Parameters:
totalFitWeight The float value to which totalFitWeight is to be set.

Tag asdm::CalGainRow::getCalDataId (  )  const

Get calDataId.

Returns:
calDataId as Tag

void asdm::CalGainRow::setCalDataId ( Tag  calDataId  )  throw (IllegalAccessException)

Set calDataId with the specified Tag.

Parameters:
calDataId The Tag value to which calDataId is to be set.
Exceptions:
IllegalAccessException If an attempt is made to change this field after is has been added to the table.

Tag asdm::CalGainRow::getCalReductionId (  )  const

Get calReductionId.

Returns:
calReductionId as Tag

void asdm::CalGainRow::setCalReductionId ( Tag  calReductionId  )  throw (IllegalAccessException)

Set calReductionId with the specified Tag.

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.

CalDataRow* asdm::CalGainRow::getCalDataUsingCalDataId (  ) 

calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId

Returns:
a CalDataRow*

CalReductionRow* asdm::CalGainRow::getCalReductionUsingCalReductionId (  ) 

calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId

Returns:
a CalReductionRow*

bool asdm::CalGainRow::compareNoAutoInc ( Tag  calDataId,
Tag  calReductionId,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< vector< float > >  gain,
vector< bool >  gainValid,
vector< vector< float > >  fit,
vector< float >  fitWeight,
bool  totalGainValid,
float  totalFit,
float  totalFitWeight 
)

Compare each mandatory attribute except the autoincrementable one of this CalGainRow with the corresponding parameters and return true if there is a match and false otherwise.

bool asdm::CalGainRow::equalByRequiredValue ( CalGainRow 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 CalGainRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:48 2007 for ASDM C++ Implementation by  doxygen 1.5.1