asdm::CalDelayRow Class Reference

#include <CalDelayRow.h>

Collaboration diagram for asdm::CalDelayRow:

Collaboration graph
[legend]
List of all members.

Detailed Description

The CalDelayRow class is a row of a CalDelayTable.

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

Definition at line 155 of file CalDelayRow.h.

Public Member Functions

virtual ~CalDelayRow ()
CalDelayTablegetTable () const
 Return the table to which this row belongs.
CalDelayRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (CalDelayRowIDL x) throw (ConversionException)
 Fill the values of this row from the IDL struct CalDelayRowIDL.
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.
BasebandNameMod::BasebandName getBasebandName () const
 Get basebandName.
void setBasebandName (BasebandNameMod::BasebandName basebandName)
 Set basebandName with the specified BasebandNameMod::BasebandName.
int getNumReceptor () const
 Get numReceptor.
void setNumReceptor (int numReceptor)
 Set numReceptor with the specified int.
string getRefAntennaName () const
 Get refAntennaName.
void setRefAntennaName (string refAntennaName)
 Set refAntennaName with the specified string.
ReceiverBandMod::ReceiverBand getReceiverBand () const
 Get receiverBand.
void setReceiverBand (ReceiverBandMod::ReceiverBand receiverBand)
 Set receiverBand with the specified ReceiverBandMod::ReceiverBand.
vector< PolarizationTypeMod::PolarizationType > getPolarizationTypes () const
 Get polarizationTypes.
void setPolarizationTypes (vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
 Set polarizationTypes with the specified vector<PolarizationTypeMod::PolarizationType >.
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< double > getDelayOffset () const
 Get delayOffset.
void setDelayOffset (vector< double > delayOffset)
 Set delayOffset with the specified vector<double >.
vector< double > getDelayError () const
 Get delayError.
void setDelayError (vector< double > delayError)
 Set delayError with the specified vector<double >.
double getCrossDelayOffset () const
 Get crossDelayOffset.
void setCrossDelayOffset (double crossDelayOffset)
 Set crossDelayOffset with the specified double.
double getCrossDelayOffsetError () const
 Get crossDelayOffsetError.
void setCrossDelayOffsetError (double crossDelayOffsetError)
 Set crossDelayOffsetError with the specified double.
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, BasebandNameMod::BasebandName basebandName, int numReceptor, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector< double > delayOffset, vector< double > delayError, double crossDelayOffset, double crossDelayOffsetError)
 Compare each mandatory attribute except the autoincrementable one of this CalDelayRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (int numReceptor, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector< double > delayOffset, vector< double > delayError, double crossDelayOffset, double crossDelayOffsetError)
bool equalByRequiredValue (CalDelayRow *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.
 CalDelayRow (CalDelayTable &table)
 Create a CalDelayRow.
 CalDelayRow (CalDelayTable &table, CalDelayRow &row)
 Create a CalDelayRow using a copy constructor mechanism.

Private Attributes

CalDelayTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
BasebandNameMod::BasebandName basebandName
 ===> Attribute basebandName
int numReceptor
 ===> Attribute numReceptor
string refAntennaName
 ===> Attribute refAntennaName
ReceiverBandMod::ReceiverBand receiverBand
 ===> Attribute receiverBand
vector< PolarizationTypeMod::PolarizationType > polarizationTypes
 ===> Attribute polarizationTypes
ArrayTime startValidTime
 ===> Attribute startValidTime
ArrayTime endValidTime
 ===> Attribute endValidTime
vector< double > delayOffset
 ===> Attribute delayOffset
vector< double > delayError
 ===> Attribute delayError
double crossDelayOffset
 ===> Attribute crossDelayOffset
double crossDelayOffsetError
 ===> Attribute crossDelayOffsetError
Tag calReductionId
 ===> Attribute calReductionId

Friends

class asdm::CalDelayTable


Constructor & Destructor Documentation

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

asdm::CalDelayRow::CalDelayRow ( CalDelayTable table  )  [private]

Create a CalDelayRow.

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

Create a CalDelayRow using a copy constructor mechanism.

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

CalDelayTable& asdm::CalDelayRow::getTable (  )  const

Return the table to which this row belongs.

CalDelayRowIDL* asdm::CalDelayRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::CalDelayRow::setFromIDL ( CalDelayRowIDL  x  )  throw (ConversionException)

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

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

string asdm::CalDelayRow::toXML (  )  const

Return this row in the form of an XML string.

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

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

BasebandNameMod::BasebandName asdm::CalDelayRow::getBasebandName (  )  const

Get basebandName.

Returns:
basebandName as BasebandNameMod::BasebandName

void asdm::CalDelayRow::setBasebandName ( BasebandNameMod::BasebandName  basebandName  ) 

Set basebandName with the specified BasebandNameMod::BasebandName.

Parameters:
basebandName The BasebandNameMod::BasebandName value to which basebandName 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::CalDelayRow::getNumReceptor (  )  const

Get numReceptor.

Returns:
numReceptor as int

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

Set numReceptor with the specified int.

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

string asdm::CalDelayRow::getRefAntennaName (  )  const

Get refAntennaName.

Returns:
refAntennaName as string

void asdm::CalDelayRow::setRefAntennaName ( string  refAntennaName  ) 

Set refAntennaName with the specified string.

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

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

Get receiverBand.

Returns:
receiverBand as ReceiverBandMod::ReceiverBand

void asdm::CalDelayRow::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<PolarizationTypeMod::PolarizationType > asdm::CalDelayRow::getPolarizationTypes (  )  const

Get polarizationTypes.

Returns:
polarizationTypes as vector<PolarizationTypeMod::PolarizationType >

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

ArrayTime asdm::CalDelayRow::getStartValidTime (  )  const

Get startValidTime.

Returns:
startValidTime as ArrayTime

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

Set startValidTime with the specified ArrayTime.

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

ArrayTime asdm::CalDelayRow::getEndValidTime (  )  const

Get endValidTime.

Returns:
endValidTime as ArrayTime

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

Set endValidTime with the specified ArrayTime.

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

vector<double > asdm::CalDelayRow::getDelayOffset (  )  const

Get delayOffset.

Returns:
delayOffset as vector<double >

void asdm::CalDelayRow::setDelayOffset ( vector< double >  delayOffset  ) 

Set delayOffset with the specified vector<double >.

Parameters:
delayOffset The vector<double > value to which delayOffset is to be set.

vector<double > asdm::CalDelayRow::getDelayError (  )  const

Get delayError.

Returns:
delayError as vector<double >

void asdm::CalDelayRow::setDelayError ( vector< double >  delayError  ) 

Set delayError with the specified vector<double >.

Parameters:
delayError The vector<double > value to which delayError is to be set.

double asdm::CalDelayRow::getCrossDelayOffset (  )  const

Get crossDelayOffset.

Returns:
crossDelayOffset as double

void asdm::CalDelayRow::setCrossDelayOffset ( double  crossDelayOffset  ) 

Set crossDelayOffset with the specified double.

Parameters:
crossDelayOffset The double value to which crossDelayOffset is to be set.

double asdm::CalDelayRow::getCrossDelayOffsetError (  )  const

Get crossDelayOffsetError.

Returns:
crossDelayOffsetError as double

void asdm::CalDelayRow::setCrossDelayOffsetError ( double  crossDelayOffsetError  ) 

Set crossDelayOffsetError with the specified double.

Parameters:
crossDelayOffsetError The double value to which crossDelayOffsetError is to be set.

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

Get calReductionId.

Returns:
calReductionId as Tag

void asdm::CalDelayRow::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::CalDelayRow::getCalReductionUsingCalReductionId (  ) 

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

Returns:
a CalReductionRow*

CalDataRow* asdm::CalDelayRow::getCalDataUsingCalDataId (  ) 

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

Returns:
a CalDataRow*

bool asdm::CalDelayRow::compareNoAutoInc ( Tag  calDataId,
Tag  calReductionId,
string  antennaName,
BasebandNameMod::BasebandName  basebandName,
int  numReceptor,
string  refAntennaName,
ReceiverBandMod::ReceiverBand  receiverBand,
vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< double >  delayOffset,
vector< double >  delayError,
double  crossDelayOffset,
double  crossDelayOffsetError 
)

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

bool asdm::CalDelayRow::compareRequiredValue ( int  numReceptor,
string  refAntennaName,
ReceiverBandMod::ReceiverBand  receiverBand,
vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< double >  delayOffset,
vector< double >  delayError,
double  crossDelayOffset,
double  crossDelayOffsetError 
)

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

void asdm::CalDelayRow::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::CalDelayTable [friend]

Definition at line 156 of file CalDelayRow.h.


Member Data Documentation

Extrinsic Table asdm::CalDelayRow::Attributes

Definition at line 201 of file CalDelayRow.h.

Extrinsic Table asdm::CalDelayRow::Attributes

Definition at line 569 of file CalDelayRow.h.

CalDelayTable& asdm::CalDelayRow::table [private]

The table to which this row belongs.

Definition at line 695 of file CalDelayRow.h.

bool asdm::CalDelayRow::hasBeenAdded [private]

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

Definition at line 699 of file CalDelayRow.h.

BasebandNameMod::BasebandName asdm::CalDelayRow::basebandName [private]

===> Attribute basebandName

Definition at line 754 of file CalDelayRow.h.

int asdm::CalDelayRow::numReceptor [private]

===> Attribute numReceptor

Definition at line 765 of file CalDelayRow.h.

string asdm::CalDelayRow::refAntennaName [private]

===> Attribute refAntennaName

Definition at line 776 of file CalDelayRow.h.

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

===> Attribute receiverBand

Definition at line 787 of file CalDelayRow.h.

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

===> Attribute polarizationTypes

Definition at line 798 of file CalDelayRow.h.

ArrayTime asdm::CalDelayRow::startValidTime [private]

===> Attribute startValidTime

Definition at line 809 of file CalDelayRow.h.

ArrayTime asdm::CalDelayRow::endValidTime [private]

===> Attribute endValidTime

Definition at line 820 of file CalDelayRow.h.

vector<double > asdm::CalDelayRow::delayOffset [private]

===> Attribute delayOffset

Definition at line 831 of file CalDelayRow.h.

vector<double > asdm::CalDelayRow::delayError [private]

===> Attribute delayError

Definition at line 842 of file CalDelayRow.h.

double asdm::CalDelayRow::crossDelayOffset [private]

===> Attribute crossDelayOffset

Definition at line 853 of file CalDelayRow.h.

double asdm::CalDelayRow::crossDelayOffsetError [private]

===> Attribute crossDelayOffsetError

Definition at line 864 of file CalDelayRow.h.

Tag asdm::CalDelayRow::calReductionId [private]

===> Attribute calReductionId

Definition at line 890 of file CalDelayRow.h.


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