asdm::CalHolographyRow Class Reference

#include <CalHolographyRow.h>

Collaboration diagram for asdm::CalHolographyRow:

Collaboration graph
[legend]
List of all members.

Detailed Description

The CalHolographyRow class is a row of a CalHolographyTable.

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

Definition at line 171 of file CalHolographyRow.h.

Public Member Functions

virtual ~CalHolographyRow ()
CalHolographyTablegetTable () const
 Return the table to which this row belongs.
CalHolographyRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (CalHolographyRowIDL x) throw (ConversionException)
 Fill the values of this row from the IDL struct CalHolographyRowIDL.
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.
AntennaMakeMod::AntennaMake getAntennaMake () const
 Get antennaMake.
void setAntennaMake (AntennaMakeMod::AntennaMake antennaMake)
 Set antennaMake with the specified AntennaMakeMod::AntennaMake.
int getNumScrew () const
 Get numScrew.
void setNumScrew (int numScrew)
 Set numScrew with the specified int.
int getNumReceptor () const
 Get numReceptor.
void setNumReceptor (int numReceptor)
 Set numReceptor 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< LengthgetFocusPosition () const
 Get focusPosition.
void setFocusPosition (vector< Length > focusPosition)
 Set focusPosition with the specified vector<Length >.
Length getRawRms () const
 Get rawRms.
void setRawRms (Length rawRms)
 Set rawRms with the specified Length.
Length getWeightedRms () const
 Get weightedRms.
void setWeightedRms (Length weightedRms)
 Set weightedRms with the specified Length.
vector< string > getScrewName () const
 Get screwName.
void setScrewName (vector< string > screwName)
 Set screwName with the specified vector<string >.
vector< LengthgetScrewMotion () const
 Get screwMotion.
void setScrewMotion (vector< Length > screwMotion)
 Set screwMotion with the specified vector<Length >.
vector< LengthgetScrewMotionError () const
 Get screwMotionError.
void setScrewMotionError (vector< Length > screwMotionError)
 Set screwMotionError with the specified vector<Length >.
int getPanelModes () const
 Get panelModes.
void setPanelModes (int panelModes)
 Set panelModes with the specified int.
vector< FrequencygetFrequencyRange () const
 Get frequencyRange.
void setFrequencyRange (vector< Frequency > frequencyRange)
 Set frequencyRange with the specified vector<Frequency >.
EntityRef getBeamMapUID () const
 Get beamMapUID.
void setBeamMapUID (EntityRef beamMapUID)
 Set beamMapUID with the specified EntityRef.
EntityRef getSurfaceMapUID () const
 Get surfaceMapUID.
void setSurfaceMapUID (EntityRef surfaceMapUID)
 Set surfaceMapUID with the specified EntityRef.
vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes () const
 Get polarizationTypes.
void setPolarizationTypes (vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
 Set polarizationTypes with the specified vector<PolarizationTypeMod::PolarizationType >.
ReceiverBandMod::ReceiverBand getReceiverBand () const
 Get receiverBand.
void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand)
 Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
vector< AnglegetDirection () const
 Get direction.
void setDirection (vector< Angle > direction)
 Set direction with the specified vector<Angle >.
Temperature getAmbientTemperature () const
 Get ambientTemperature.
void setAmbientTemperature (Temperature ambientTemperature)
 Set ambientTemperature with the specified Temperature.
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 *CalReductionRowgetCalReductionUsingCalReductionId ()
 calReductionId pointer to the row in the CalReduction table having CalReduction.calReductionId == calReductionId
CalDataRowgetCalDataUsingCalDataId ()
 calDataId pointer to the row in the CalData table having CalData.calDataId == calDataId
bool compareNoAutoInc (Tag calDataId, Tag calReductionId, string antennaName, AntennaMakeMod::AntennaMake antennaMake, int numScrew, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector< Length > focusPosition, Length rawRms, Length weightedRms, vector< string > screwName, vector< Length > screwMotion, vector< Length > screwMotionError, int panelModes, vector< Frequency > frequencyRange, EntityRef beamMapUID, EntityRef surfaceMapUID, vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ReceiverBandMod::ReceiverBand receiverBand, vector< Angle > direction, Temperature ambientTemperature)
 Compare each mandatory attribute except the autoincrementable one of this CalHolographyRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (AntennaMakeMod::AntennaMake antennaMake, int numScrew, int numReceptor, ArrayTime startValidTime, ArrayTime endValidTime, vector< Length > focusPosition, Length rawRms, Length weightedRms, vector< string > screwName, vector< Length > screwMotion, vector< Length > screwMotionError, int panelModes, vector< Frequency > frequencyRange, EntityRef beamMapUID, EntityRef surfaceMapUID, vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ReceiverBandMod::ReceiverBand receiverBand, vector< Angle > direction, Temperature ambientTemperature)
bool equalByRequiredValue (CalHolographyRow *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.
 CalHolographyRow (CalHolographyTable &table)
 Create a CalHolographyRow.
 CalHolographyRow (CalHolographyTable &table, CalHolographyRow &row)
 Create a CalHolographyRow using a copy constructor mechanism.

Private Attributes

CalHolographyTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
AntennaMakeMod::AntennaMake antennaMake
 ===> Attribute antennaMake
int numScrew
 ===> Attribute numScrew
int numReceptor
 ===> Attribute numReceptor
ArrayTime startValidTime
 ===> Attribute startValidTime
ArrayTime endValidTime
 ===> Attribute endValidTime
vector< LengthfocusPosition
 ===> Attribute focusPosition
Length rawRms
 ===> Attribute rawRms
Length weightedRms
 ===> Attribute weightedRms
vector< string > screwName
 ===> Attribute screwName
vector< LengthscrewMotion
 ===> Attribute screwMotion
vector< LengthscrewMotionError
 ===> Attribute screwMotionError
int panelModes
 ===> Attribute panelModes
vector< FrequencyfrequencyRange
 ===> Attribute frequencyRange
EntityRef beamMapUID
 ===> Attribute beamMapUID
EntityRef surfaceMapUID
 ===> Attribute surfaceMapUID
vector< PolarizationTypeMod::PolarizationType > polarizationTypes
 ===> Attribute polarizationTypes
ReceiverBandMod::ReceiverBand receiverBand
 ===> Attribute receiverBand
vector< Angledirection
 ===> Attribute direction
Temperature ambientTemperature
 ===> Attribute ambientTemperature
Tag calReductionId
 ===> Attribute calReductionId

Friends

class asdm::CalHolographyTable


Constructor & Destructor Documentation

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

asdm::CalHolographyRow::CalHolographyRow ( CalHolographyTable table  )  [private]

Create a CalHolographyRow.

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

Create a CalHolographyRow using a copy constructor mechanism.

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

CalHolographyTable& asdm::CalHolographyRow::getTable (  )  const

Return the table to which this row belongs.

CalHolographyRowIDL* asdm::CalHolographyRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::CalHolographyRow::setFromIDL ( CalHolographyRowIDL  x  )  throw (ConversionException)

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

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

string asdm::CalHolographyRow::toXML (  )  const

Return this row in the form of an XML string.

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

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

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

Get antennaMake.

Returns:
antennaMake as AntennaMakeMod::AntennaMake

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

Set antennaMake with the specified AntennaMakeMod::AntennaMake.

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

int asdm::CalHolographyRow::getNumScrew (  )  const

Get numScrew.

Returns:
numScrew as int

void asdm::CalHolographyRow::setNumScrew ( int  numScrew  ) 

Set numScrew with the specified int.

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

int asdm::CalHolographyRow::getNumReceptor (  )  const

Get numReceptor.

Returns:
numReceptor as int

void asdm::CalHolographyRow::setNumReceptor ( int  numReceptor  ) 

Set numReceptor with the specified int.

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

ArrayTime asdm::CalHolographyRow::getStartValidTime (  )  const

Get startValidTime.

Returns:
startValidTime as ArrayTime

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

Set startValidTime with the specified ArrayTime.

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

ArrayTime asdm::CalHolographyRow::getEndValidTime (  )  const

Get endValidTime.

Returns:
endValidTime as ArrayTime

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

Set endValidTime with the specified ArrayTime.

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

vector<Length > asdm::CalHolographyRow::getFocusPosition (  )  const

Get focusPosition.

Returns:
focusPosition as vector<Length >

void asdm::CalHolographyRow::setFocusPosition ( vector< Length focusPosition  ) 

Set focusPosition with the specified vector<Length >.

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

Length asdm::CalHolographyRow::getRawRms (  )  const

Get rawRms.

Returns:
rawRms as Length

void asdm::CalHolographyRow::setRawRms ( Length  rawRms  ) 

Set rawRms with the specified Length.

Parameters:
rawRms The Length value to which rawRms is to be set.

Length asdm::CalHolographyRow::getWeightedRms (  )  const

Get weightedRms.

Returns:
weightedRms as Length

void asdm::CalHolographyRow::setWeightedRms ( Length  weightedRms  ) 

Set weightedRms with the specified Length.

Parameters:
weightedRms The Length value to which weightedRms is to be set.

vector<string > asdm::CalHolographyRow::getScrewName (  )  const

Get screwName.

Returns:
screwName as vector<string >

void asdm::CalHolographyRow::setScrewName ( vector< string >  screwName  ) 

Set screwName with the specified vector<string >.

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

vector<Length > asdm::CalHolographyRow::getScrewMotion (  )  const

Get screwMotion.

Returns:
screwMotion as vector<Length >

void asdm::CalHolographyRow::setScrewMotion ( vector< Length screwMotion  ) 

Set screwMotion with the specified vector<Length >.

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

vector<Length > asdm::CalHolographyRow::getScrewMotionError (  )  const

Get screwMotionError.

Returns:
screwMotionError as vector<Length >

void asdm::CalHolographyRow::setScrewMotionError ( vector< Length screwMotionError  ) 

Set screwMotionError with the specified vector<Length >.

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

int asdm::CalHolographyRow::getPanelModes (  )  const

Get panelModes.

Returns:
panelModes as int

void asdm::CalHolographyRow::setPanelModes ( int  panelModes  ) 

Set panelModes with the specified int.

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

vector<Frequency > asdm::CalHolographyRow::getFrequencyRange (  )  const

Get frequencyRange.

Returns:
frequencyRange as vector<Frequency >

void asdm::CalHolographyRow::setFrequencyRange ( vector< Frequency frequencyRange  ) 

Set frequencyRange with the specified vector<Frequency >.

Parameters:
frequencyRange The vector<Frequency > value to which frequencyRange is to be set.

EntityRef asdm::CalHolographyRow::getBeamMapUID (  )  const

Get beamMapUID.

Returns:
beamMapUID as EntityRef

void asdm::CalHolographyRow::setBeamMapUID ( EntityRef  beamMapUID  ) 

Set beamMapUID with the specified EntityRef.

Parameters:
beamMapUID The EntityRef value to which beamMapUID is to be set.

EntityRef asdm::CalHolographyRow::getSurfaceMapUID (  )  const

Get surfaceMapUID.

Returns:
surfaceMapUID as EntityRef

void asdm::CalHolographyRow::setSurfaceMapUID ( EntityRef  surfaceMapUID  ) 

Set surfaceMapUID with the specified EntityRef.

Parameters:
surfaceMapUID The EntityRef value to which surfaceMapUID is to be set.

vector<PolarizationTypeMod::PolarizationType > asdm::CalHolographyRow::getPolarizationTypes (  )  const

Get polarizationTypes.

Returns:
polarizationTypes as vector<PolarizationTypeMod::PolarizationType >

void asdm::CalHolographyRow::setPolarizationTypes ( vector< PolarizationTypeMod::PolarizationType >  polarizationTypes  ) 

Set polarizationTypes with the specified vector<PolarizationTypeMod::PolarizationType >.

Parameters:
polarizationTypes The vector<PolarizationTypeMod::PolarizationType > value to which polarizationTypes is to be set.

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

Get receiverBand.

Returns:
receiverBand as ReceiverBandMod::ReceiverBand

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

Set receiverBand with the specified ReceiverBandMod::ReceiverBand.

Parameters:
receiverBand The ReceiverBandMod::ReceiverBand value to which receiverBand is to be set.

vector<Angle > asdm::CalHolographyRow::getDirection (  )  const

Get direction.

Returns:
direction as vector<Angle >

void asdm::CalHolographyRow::setDirection ( vector< Angle direction  ) 

Set direction with the specified vector<Angle >.

Parameters:
direction The vector<Angle > value to which direction is to be set.

Temperature asdm::CalHolographyRow::getAmbientTemperature (  )  const

Get ambientTemperature.

Returns:
ambientTemperature as Temperature

void asdm::CalHolographyRow::setAmbientTemperature ( Temperature  ambientTemperature  ) 

Set ambientTemperature with the specified Temperature.

Parameters:
ambientTemperature The Temperature value to which ambientTemperature is to be set.

void asdm::CalHolographyRow::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::CalHolographyRow::getCalReductionId (  )  const

Get calReductionId.

Returns:
calReductionId as Tag

void asdm::CalHolographyRow::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* CalReductionRow* asdm::CalHolographyRow::getCalReductionUsingCalReductionId (  ) 

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

Returns:
a CalReductionRow*

CalDataRow* asdm::CalHolographyRow::getCalDataUsingCalDataId (  ) 

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

Returns:
a CalDataRow*

bool asdm::CalHolographyRow::compareNoAutoInc ( Tag  calDataId,
Tag  calReductionId,
string  antennaName,
AntennaMakeMod::AntennaMake  antennaMake,
int  numScrew,
int  numReceptor,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< Length focusPosition,
Length  rawRms,
Length  weightedRms,
vector< string >  screwName,
vector< Length screwMotion,
vector< Length screwMotionError,
int  panelModes,
vector< Frequency frequencyRange,
EntityRef  beamMapUID,
EntityRef  surfaceMapUID,
vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
ReceiverBandMod::ReceiverBand  receiverBand,
vector< Angle direction,
Temperature  ambientTemperature 
)

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

bool asdm::CalHolographyRow::compareRequiredValue ( AntennaMakeMod::AntennaMake  antennaMake,
int  numScrew,
int  numReceptor,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< Length focusPosition,
Length  rawRms,
Length  weightedRms,
vector< string >  screwName,
vector< Length screwMotion,
vector< Length screwMotionError,
int  panelModes,
vector< Frequency frequencyRange,
EntityRef  beamMapUID,
EntityRef  surfaceMapUID,
vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
ReceiverBandMod::ReceiverBand  receiverBand,
vector< Angle direction,
Temperature  ambientTemperature 
)

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

void asdm::CalHolographyRow::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::CalHolographyTable [friend]

Definition at line 172 of file CalHolographyRow.h.


Member Data Documentation

Extrinsic Table asdm::CalHolographyRow::Attributes

Definition at line 217 of file CalHolographyRow.h.

Extrinsic Table asdm::CalHolographyRow::Attributes

Definition at line 823 of file CalHolographyRow.h.

CalHolographyTable& asdm::CalHolographyRow::table [private]

The table to which this row belongs.

Definition at line 949 of file CalHolographyRow.h.

bool asdm::CalHolographyRow::hasBeenAdded [private]

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

Definition at line 953 of file CalHolographyRow.h.

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

===> Attribute antennaMake

Definition at line 1008 of file CalHolographyRow.h.

int asdm::CalHolographyRow::numScrew [private]

===> Attribute numScrew

Definition at line 1019 of file CalHolographyRow.h.

int asdm::CalHolographyRow::numReceptor [private]

===> Attribute numReceptor

Definition at line 1030 of file CalHolographyRow.h.

ArrayTime asdm::CalHolographyRow::startValidTime [private]

===> Attribute startValidTime

Definition at line 1041 of file CalHolographyRow.h.

ArrayTime asdm::CalHolographyRow::endValidTime [private]

===> Attribute endValidTime

Definition at line 1052 of file CalHolographyRow.h.

vector<Length > asdm::CalHolographyRow::focusPosition [private]

===> Attribute focusPosition

Definition at line 1063 of file CalHolographyRow.h.

Length asdm::CalHolographyRow::rawRms [private]

===> Attribute rawRms

Definition at line 1074 of file CalHolographyRow.h.

Length asdm::CalHolographyRow::weightedRms [private]

===> Attribute weightedRms

Definition at line 1085 of file CalHolographyRow.h.

vector<string > asdm::CalHolographyRow::screwName [private]

===> Attribute screwName

Definition at line 1096 of file CalHolographyRow.h.

vector<Length > asdm::CalHolographyRow::screwMotion [private]

===> Attribute screwMotion

Definition at line 1107 of file CalHolographyRow.h.

vector<Length > asdm::CalHolographyRow::screwMotionError [private]

===> Attribute screwMotionError

Definition at line 1118 of file CalHolographyRow.h.

int asdm::CalHolographyRow::panelModes [private]

===> Attribute panelModes

Definition at line 1129 of file CalHolographyRow.h.

vector<Frequency > asdm::CalHolographyRow::frequencyRange [private]

===> Attribute frequencyRange

Definition at line 1140 of file CalHolographyRow.h.

EntityRef asdm::CalHolographyRow::beamMapUID [private]

===> Attribute beamMapUID

Definition at line 1151 of file CalHolographyRow.h.

EntityRef asdm::CalHolographyRow::surfaceMapUID [private]

===> Attribute surfaceMapUID

Definition at line 1162 of file CalHolographyRow.h.

vector<PolarizationTypeMod::PolarizationType > asdm::CalHolographyRow::polarizationTypes [private]

===> Attribute polarizationTypes

Definition at line 1173 of file CalHolographyRow.h.

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

===> Attribute receiverBand

Definition at line 1184 of file CalHolographyRow.h.

vector<Angle > asdm::CalHolographyRow::direction [private]

===> Attribute direction

Definition at line 1195 of file CalHolographyRow.h.

Temperature asdm::CalHolographyRow::ambientTemperature [private]

===> Attribute ambientTemperature

Definition at line 1206 of file CalHolographyRow.h.

Tag asdm::CalHolographyRow::calReductionId [private]

===> Attribute calReductionId

Definition at line 1232 of file CalHolographyRow.h.


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