asdm::CalFocusModelRow Class Reference

#include <CalFocusModelRow.h>

Collaboration diagram for asdm::CalFocusModelRow:

Collaboration graph
[legend]
List of all members.

Detailed Description

The CalFocusModelRow class is a row of a CalFocusModelTable.

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

Definition at line 156 of file CalFocusModelRow.h.

Public Member Functions

virtual ~CalFocusModelRow ()
CalFocusModelTablegetTable () const
 Return the table to which this row belongs.
CalFocusModelRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (CalFocusModelRowIDL x) throw (ConversionException)
 Fill the values of this row from the IDL struct CalFocusModelRowIDL.
string toXML () const
 Return this row in the form of an XML string.
void setFromXML (string rowDoc) throw (ConversionException)
 Fill the values of this row from an XML string that was produced by the toXML() method.
void setAntennaName (string antennaName)
 Set antennaName with the specified string.
int getNumCoeff () const
 Get numCoeff.
void setNumCoeff (int numCoeff)
 Set numCoeff with the specified int.
ArrayTime getStartValidTime () const
 Get startValidTime.
void setStartValidTime (ArrayTime startValidTime)
 Set startValidTime with the specified ArrayTime.
ArrayTime getEndValidTime () const
 Get endValidTime.
void setEndValidTime (ArrayTime endValidTime)
 Set endValidTime with the specified ArrayTime.
vector< LengthgetFocusRMS () const
 Get focusRMS.
void setFocusRMS (vector< Length > focusRMS)
 Set focusRMS with the specified vector<Length >.
vector< vector< string > > getCoeffName () const
 Get coeffName.
void setCoeffName (vector< vector< string > > coeffName)
 Set coeffName with the specified vector<vector<string > >.
vector< vector< string > > getCoeffFormula () const
 Get coeffFormula.
void setCoeffFormula (vector< vector< string > > coeffFormula)
 Set coeffFormula with the specified vector<vector<string > >.
vector< vector< float > > getCoeffValue () const
 Get coeffValue.
void setCoeffValue (vector< vector< float > > coeffValue)
 Set coeffValue with the specified vector<vector<float > >.
vector< vector< float > > getCoeffError () const
 Get coeffError.
void setCoeffError (vector< vector< float > > coeffError)
 Set coeffError with the specified vector<vector<float > >.
vector< vector< bool > > getCoeffFixed () const
 Get coeffFixed.
void setCoeffFixed (vector< vector< bool > > coeffFixed)
 Set coeffFixed with the specified vector<vector<bool > >.
string getFocusModel () const
 Get focusModel.
void setFocusModel (string focusModel)
 Set focusModel with the specified string.
int getNumSourceObs () const
 Get numSourceObs.
void setNumSourceObs (int numSourceObs)
 Set numSourceObs with the specified int.
ReceiverBandMod::ReceiverBand getReceiverBand () const
 Get receiverBand.
void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand)
 Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
AntennaMakeMod::AntennaMake getAntennaMake () const
 Get antennaMake.
void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake)
 Set antennaMake with the specified AntennaMakeMod::AntennaMake.
void setCalDataId (Tag calDataId)
 Set calDataId with the specified Tag.
Tag getCalReductionId () const
 Get calReductionId.
void setCalReductionId (Tag calReductionId)
 Set calReductionId with the specified Tag.
Links *CalDataRowgetCalDataUsingCalDataId ()
 calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId
CalReductionRowgetCalReductionUsingCalReductionId ()
 calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId
bool compareNoAutoInc (Tag calDataId, Tag calReductionId, string antennaName, ReceiverBandMod::ReceiverBand receiverBand, int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, vector< Length > focusRMS, vector< vector< string > > coeffName, vector< vector< string > > coeffFormula, vector< vector< float > > coeffValue, vector< vector< float > > coeffError, vector< vector< bool > > coeffFixed, string focusModel, int numSourceObs, AntennaMakeMod::AntennaMake antennaMake)
 Compare each mandatory attribute except the autoincrementable one of this CalFocusModelRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (int numCoeff, ArrayTime startValidTime, ArrayTime endValidTime, vector< Length > focusRMS, vector< vector< string > > coeffName, vector< vector< string > > coeffFormula, vector< vector< float > > coeffValue, vector< vector< float > > coeffError, vector< vector< bool > > coeffFixed, string focusModel, int numSourceObs, AntennaMakeMod::AntennaMake antennaMake)
bool equalByRequiredValue (CalFocusModelRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

Public Attributes

Intrinsic Table Attributes
Extrinsic Table Attributes

Private Member Functions

void isAdded ()
 This method is used by the Table class when this row is added to the table.
 CalFocusModelRow (CalFocusModelTable &table)
 Create a CalFocusModelRow.
 CalFocusModelRow (CalFocusModelTable &table, CalFocusModelRow &row)
 Create a CalFocusModelRow using a copy constructor mechanism.

Private Attributes

CalFocusModelTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
int numCoeff
 ===> Attribute numCoeff
ArrayTime startValidTime
 ===> Attribute startValidTime
ArrayTime endValidTime
 ===> Attribute endValidTime
vector< LengthfocusRMS
 ===> Attribute focusRMS
vector< vector< string > > coeffName
 ===> Attribute coeffName
vector< vector< string > > coeffFormula
 ===> Attribute coeffFormula
vector< vector< float > > coeffValue
 ===> Attribute coeffValue
vector< vector< float > > coeffError
 ===> Attribute coeffError
vector< vector< bool > > coeffFixed
 ===> Attribute coeffFixed
string focusModel
 ===> Attribute focusModel
int numSourceObs
 ===> Attribute numSourceObs
ReceiverBandMod::ReceiverBand receiverBand
 ===> Attribute receiverBand
AntennaMakeMod::AntennaMake antennaMake
 ===> Attribute antennaMake
Tag calReductionId
 ===> Attribute calReductionId

Friends

class asdm::CalFocusModelTable


Constructor & Destructor Documentation

virtual asdm::CalFocusModelRow::~CalFocusModelRow (  )  [virtual]

asdm::CalFocusModelRow::CalFocusModelRow ( CalFocusModelTable table  )  [private]

Create a CalFocusModelRow.

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::CalFocusModelRow::CalFocusModelRow ( CalFocusModelTable table,
CalFocusModelRow row 
) [private]

Create a CalFocusModelRow using a copy constructor mechanism.

Given a CalFocusModelRow row and a CalFocusModelTable table, the method creates a new CalFocusModelRow 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

CalFocusModelTable& asdm::CalFocusModelRow::getTable (  )  const

Return the table to which this row belongs.

CalFocusModelRowIDL* asdm::CalFocusModelRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::CalFocusModelRow::setFromIDL ( CalFocusModelRowIDL  x  )  throw (ConversionException)

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

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

string asdm::CalFocusModelRow::toXML (  )  const

Return this row in the form of an XML string.

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

void asdm::CalFocusModelRow::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.

void asdm::CalFocusModelRow::setAntennaName ( string  antennaName  ) 

Set antennaName with the specified string.

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

int asdm::CalFocusModelRow::getNumCoeff (  )  const

Get numCoeff.

Returns:
numCoeff as int

void asdm::CalFocusModelRow::setNumCoeff ( int  numCoeff  ) 

Set numCoeff with the specified int.

Parameters:
numCoeff The int value to which numCoeff is to be set.

ArrayTime asdm::CalFocusModelRow::getStartValidTime (  )  const

Get startValidTime.

Returns:
startValidTime as ArrayTime

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

Set startValidTime with the specified ArrayTime.

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

ArrayTime asdm::CalFocusModelRow::getEndValidTime (  )  const

Get endValidTime.

Returns:
endValidTime as ArrayTime

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

Set endValidTime with the specified ArrayTime.

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

vector<Length > asdm::CalFocusModelRow::getFocusRMS (  )  const

Get focusRMS.

Returns:
focusRMS as vector<Length >

void asdm::CalFocusModelRow::setFocusRMS ( vector< Length focusRMS  ) 

Set focusRMS with the specified vector<Length >.

Parameters:
focusRMS The vector<Length > value to which focusRMS is to be set.

vector<vector<string > > asdm::CalFocusModelRow::getCoeffName (  )  const

Get coeffName.

Returns:
coeffName as vector<vector<string > >

void asdm::CalFocusModelRow::setCoeffName ( vector< vector< string > >  coeffName  ) 

Set coeffName with the specified vector<vector<string > >.

Parameters:
coeffName The vector<vector<string > > value to which coeffName is to be set.

vector<vector<string > > asdm::CalFocusModelRow::getCoeffFormula (  )  const

Get coeffFormula.

Returns:
coeffFormula as vector<vector<string > >

void asdm::CalFocusModelRow::setCoeffFormula ( vector< vector< string > >  coeffFormula  ) 

Set coeffFormula with the specified vector<vector<string > >.

Parameters:
coeffFormula The vector<vector<string > > value to which coeffFormula is to be set.

vector<vector<float > > asdm::CalFocusModelRow::getCoeffValue (  )  const

Get coeffValue.

Returns:
coeffValue as vector<vector<float > >

void asdm::CalFocusModelRow::setCoeffValue ( vector< vector< float > >  coeffValue  ) 

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

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

vector<vector<float > > asdm::CalFocusModelRow::getCoeffError (  )  const

Get coeffError.

Returns:
coeffError as vector<vector<float > >

void asdm::CalFocusModelRow::setCoeffError ( vector< vector< float > >  coeffError  ) 

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

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

vector<vector<bool > > asdm::CalFocusModelRow::getCoeffFixed (  )  const

Get coeffFixed.

Returns:
coeffFixed as vector<vector<bool > >

void asdm::CalFocusModelRow::setCoeffFixed ( vector< vector< bool > >  coeffFixed  ) 

Set coeffFixed with the specified vector<vector<bool > >.

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

string asdm::CalFocusModelRow::getFocusModel (  )  const

Get focusModel.

Returns:
focusModel as string

void asdm::CalFocusModelRow::setFocusModel ( string  focusModel  ) 

Set focusModel with the specified string.

Parameters:
focusModel The string value to which focusModel is to be set.

int asdm::CalFocusModelRow::getNumSourceObs (  )  const

Get numSourceObs.

Returns:
numSourceObs as int

void asdm::CalFocusModelRow::setNumSourceObs ( int  numSourceObs  ) 

Set numSourceObs with the specified int.

Parameters:
numSourceObs The int value to which numSourceObs is to be set.

ReceiverBandMod::ReceiverBand asdm::CalFocusModelRow::getReceiverBand (  )  const

Get receiverBand.

Returns:
receiverBand as ReceiverBandMod::ReceiverBand

void asdm::CalFocusModelRow::setReceiverBand ( ReceiverBandMod::ReceiverBand  receiverBand  ) 

Set receiverBand with the specified ReceiverBandMod::ReceiverBand.

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

AntennaMakeMod::AntennaMake asdm::CalFocusModelRow::getAntennaMake (  )  const

Get antennaMake.

Returns:
antennaMake as AntennaMakeMod::AntennaMake

void asdm::CalFocusModelRow::setAntennaMake ( AntennaMakeMod::AntennaMake  antennaMake  ) 

Set antennaMake with the specified AntennaMakeMod::AntennaMake.

Parameters:
antennaMake The AntennaMakeMod::AntennaMake value to which antennaMake is to be set.

void asdm::CalFocusModelRow::setCalDataId ( Tag  calDataId  ) 

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::CalFocusModelRow::getCalReductionId (  )  const

Get calReductionId.

Returns:
calReductionId as Tag

void asdm::CalFocusModelRow::setCalReductionId ( Tag  calReductionId  ) 

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.

Links* CalDataRow* asdm::CalFocusModelRow::getCalDataUsingCalDataId (  ) 

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

Returns:
a CalDataRow*

CalReductionRow* asdm::CalFocusModelRow::getCalReductionUsingCalReductionId (  ) 

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

Returns:
a CalReductionRow*

bool asdm::CalFocusModelRow::compareNoAutoInc ( Tag  calDataId,
Tag  calReductionId,
string  antennaName,
ReceiverBandMod::ReceiverBand  receiverBand,
int  numCoeff,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< Length focusRMS,
vector< vector< string > >  coeffName,
vector< vector< string > >  coeffFormula,
vector< vector< float > >  coeffValue,
vector< vector< float > >  coeffError,
vector< vector< bool > >  coeffFixed,
string  focusModel,
int  numSourceObs,
AntennaMakeMod::AntennaMake  antennaMake 
)

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

bool asdm::CalFocusModelRow::compareRequiredValue ( int  numCoeff,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< Length focusRMS,
vector< vector< string > >  coeffName,
vector< vector< string > >  coeffFormula,
vector< vector< float > >  coeffValue,
vector< vector< float > >  coeffError,
vector< vector< bool > >  coeffFixed,
string  focusModel,
int  numSourceObs,
AntennaMakeMod::AntennaMake  antennaMake 
)

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

void asdm::CalFocusModelRow::isAdded (  )  [private]

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


Friends And Related Function Documentation

friend class asdm::CalFocusModelTable [friend]

Definition at line 157 of file CalFocusModelRow.h.


Member Data Documentation

Extrinsic Table asdm::CalFocusModelRow::Attributes

Definition at line 202 of file CalFocusModelRow.h.

Extrinsic Table asdm::CalFocusModelRow::Attributes

Definition at line 630 of file CalFocusModelRow.h.

CalFocusModelTable& asdm::CalFocusModelRow::table [private]

The table to which this row belongs.

Definition at line 756 of file CalFocusModelRow.h.

bool asdm::CalFocusModelRow::hasBeenAdded [private]

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

Definition at line 760 of file CalFocusModelRow.h.

int asdm::CalFocusModelRow::numCoeff [private]

===> Attribute numCoeff

Definition at line 815 of file CalFocusModelRow.h.

ArrayTime asdm::CalFocusModelRow::startValidTime [private]

===> Attribute startValidTime

Definition at line 826 of file CalFocusModelRow.h.

ArrayTime asdm::CalFocusModelRow::endValidTime [private]

===> Attribute endValidTime

Definition at line 837 of file CalFocusModelRow.h.

vector<Length > asdm::CalFocusModelRow::focusRMS [private]

===> Attribute focusRMS

Definition at line 848 of file CalFocusModelRow.h.

vector<vector<string > > asdm::CalFocusModelRow::coeffName [private]

===> Attribute coeffName

Definition at line 859 of file CalFocusModelRow.h.

vector<vector<string > > asdm::CalFocusModelRow::coeffFormula [private]

===> Attribute coeffFormula

Definition at line 870 of file CalFocusModelRow.h.

vector<vector<float > > asdm::CalFocusModelRow::coeffValue [private]

===> Attribute coeffValue

Definition at line 881 of file CalFocusModelRow.h.

vector<vector<float > > asdm::CalFocusModelRow::coeffError [private]

===> Attribute coeffError

Definition at line 892 of file CalFocusModelRow.h.

vector<vector<bool > > asdm::CalFocusModelRow::coeffFixed [private]

===> Attribute coeffFixed

Definition at line 903 of file CalFocusModelRow.h.

string asdm::CalFocusModelRow::focusModel [private]

===> Attribute focusModel

Definition at line 914 of file CalFocusModelRow.h.

int asdm::CalFocusModelRow::numSourceObs [private]

===> Attribute numSourceObs

Definition at line 925 of file CalFocusModelRow.h.

ReceiverBandMod::ReceiverBand asdm::CalFocusModelRow::receiverBand [private]

===> Attribute receiverBand

Definition at line 936 of file CalFocusModelRow.h.

AntennaMakeMod::AntennaMake asdm::CalFocusModelRow::antennaMake [private]

===> Attribute antennaMake

Definition at line 947 of file CalFocusModelRow.h.

Tag asdm::CalFocusModelRow::calReductionId [private]

===> Attribute calReductionId

Definition at line 973 of file CalFocusModelRow.h.


The documentation for this class was generated from the following file:
Generated on Thu Aug 27 21:24:07 2009 for NRAOCASA by  doxygen 1.5.1