asdm::CalCurveRow Class Reference

#include <CalCurveRow.h>

Collaboration diagram for asdm::CalCurveRow:

Collaboration graph
[legend]
List of all members.

Detailed Description

The CalCurveRow class is a row of a CalCurveTable.

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

Definition at line 168 of file CalCurveRow.h.

Public Member Functions

virtual ~CalCurveRow ()
CalCurveTablegetTable () const
 Return the table to which this row belongs.
CalCurveRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (CalCurveRowIDL x) throw (ConversionException)
 Fill the values of this row from the IDL struct CalCurveRowIDL.
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 setNumAntenna (int numAntenna)
 Set numAntenna with the specified int.
int getNumBaseline () const
 Get numBaseline.
void setNumBaseline (int numBaseline)
 Set numBaseline with the specified int.
int getNumAPC () const
 Get numAPC.
void setNumAPC (int numAPC)
 Set numAPC with the specified int.
int getNumReceptor () const
 Get numReceptor.
void setNumReceptor (int numReceptor)
 Set numReceptor with the specified int.
int getNumPoly () const
 Get numPoly.
void setNumPoly (int numPoly)
 Set numPoly with the specified int.
vector< string > getAntennaNames () const
 Get antennaNames.
void setAntennaNames (vector< string > antennaNames)
 Set antennaNames with the specified vector<string >.
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< AtmPhaseCorrectionMod::AtmPhaseCorrection > getAtmPhaseCorrections () const
 Get atmPhaseCorrections.
void setAtmPhaseCorrections (vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections)
 Set atmPhaseCorrections with the specified vector<AtmPhaseCorrectionMod::AtmPhaseCorrection >.
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< FrequencygetFrequencyRange () const
 Get frequencyRange.
void setFrequencyRange (vector< Frequency > frequencyRange)
 Set frequencyRange with the specified vector<Frequency >.
CalCurveTypeMod::CalCurveType getTypeCurve () const
 Get typeCurve.
void setTypeCurve (CalCurveTypeMod::CalCurveType typeCurve)
 Set typeCurve with the specified CalCurveTypeMod::CalCurveType.
ArrayTime getTimeOrigin () const
 Get timeOrigin.
void setTimeOrigin (ArrayTime timeOrigin)
 Set timeOrigin with the specified ArrayTime.
vector< vector< vector< vector<
float > > > > 
getCurve () const
 Get curve.
void setCurve (vector< vector< vector< vector< float > > > > curve)
 Set curve with the specified vector<vector<vector<vector<float > > > >.
vector< vector< vector< float > > > getRms () const
 Get rms.
void setRms (vector< vector< vector< float > > > rms)
 Set rms with the specified vector<vector<vector<float > > >.
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, int numAntenna, int numBaseline, int numAPC, int numReceptor, int numPoly, vector< string > antennaNames, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector< Frequency > frequencyRange, CalCurveTypeMod::CalCurveType typeCurve, ArrayTime timeOrigin, vector< vector< vector< vector< float > > > > curve, vector< vector< vector< float > > > rms)
 Compare each mandatory attribute except the autoincrementable one of this CalCurveRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (int numAntenna, int numBaseline, int numAPC, int numReceptor, int numPoly, vector< string > antennaNames, string refAntennaName, ReceiverBandMod::ReceiverBand receiverBand, vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections, vector< PolarizationTypeMod::PolarizationType > polarizationTypes, ArrayTime startValidTime, ArrayTime endValidTime, vector< Frequency > frequencyRange, CalCurveTypeMod::CalCurveType typeCurve, ArrayTime timeOrigin, vector< vector< vector< vector< float > > > > curve, vector< vector< vector< float > > > rms)
bool equalByRequiredValue (CalCurveRow *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.
 CalCurveRow (CalCurveTable &table)
 Create a CalCurveRow.
 CalCurveRow (CalCurveTable &table, CalCurveRow &row)
 Create a CalCurveRow using a copy constructor mechanism.

Private Attributes

CalCurveTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
int numBaseline
 ===> Attribute numBaseline
int numAPC
 ===> Attribute numAPC
int numReceptor
 ===> Attribute numReceptor
int numPoly
 ===> Attribute numPoly
vector< string > antennaNames
 ===> Attribute antennaNames
string refAntennaName
 ===> Attribute refAntennaName
ReceiverBandMod::ReceiverBand receiverBand
 ===> Attribute receiverBand
vector< AtmPhaseCorrectionMod::AtmPhaseCorrection > atmPhaseCorrections
 ===> Attribute atmPhaseCorrections
vector< PolarizationTypeMod::PolarizationType > polarizationTypes
 ===> Attribute polarizationTypes
ArrayTime startValidTime
 ===> Attribute startValidTime
ArrayTime endValidTime
 ===> Attribute endValidTime
vector< FrequencyfrequencyRange
 ===> Attribute frequencyRange
CalCurveTypeMod::CalCurveType typeCurve
 ===> Attribute typeCurve
ArrayTime timeOrigin
 ===> Attribute timeOrigin
vector< vector< vector< vector<
float > > > > 
curve
 ===> Attribute curve
vector< vector< vector< float > > > rms
 ===> Attribute rms
Tag calReductionId
 ===> Attribute calReductionId

Friends

class asdm::CalCurveTable


Constructor & Destructor Documentation

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

asdm::CalCurveRow::CalCurveRow ( CalCurveTable table  )  [private]

Create a CalCurveRow.

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

Create a CalCurveRow using a copy constructor mechanism.

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

CalCurveTable& asdm::CalCurveRow::getTable (  )  const

Return the table to which this row belongs.

CalCurveRowIDL* asdm::CalCurveRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::CalCurveRow::setFromIDL ( CalCurveRowIDL  x  )  throw (ConversionException)

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

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

string asdm::CalCurveRow::toXML (  )  const

Return this row in the form of an XML string.

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

void asdm::CalCurveRow::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::CalCurveRow::setNumAntenna ( int  numAntenna  ) 

Set numAntenna with the specified int.

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

int asdm::CalCurveRow::getNumBaseline (  )  const

Get numBaseline.

Returns:
numBaseline as int

void asdm::CalCurveRow::setNumBaseline ( int  numBaseline  ) 

Set numBaseline with the specified int.

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

int asdm::CalCurveRow::getNumAPC (  )  const

Get numAPC.

Returns:
numAPC as int

void asdm::CalCurveRow::setNumAPC ( int  numAPC  ) 

Set numAPC with the specified int.

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

int asdm::CalCurveRow::getNumReceptor (  )  const

Get numReceptor.

Returns:
numReceptor as int

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

Set numReceptor with the specified int.

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

int asdm::CalCurveRow::getNumPoly (  )  const

Get numPoly.

Returns:
numPoly as int

void asdm::CalCurveRow::setNumPoly ( int  numPoly  ) 

Set numPoly with the specified int.

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

vector<string > asdm::CalCurveRow::getAntennaNames (  )  const

Get antennaNames.

Returns:
antennaNames as vector<string >

void asdm::CalCurveRow::setAntennaNames ( vector< string >  antennaNames  ) 

Set antennaNames with the specified vector<string >.

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

string asdm::CalCurveRow::getRefAntennaName (  )  const

Get refAntennaName.

Returns:
refAntennaName as string

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

Set refAntennaName with the specified string.

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

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

Get receiverBand.

Returns:
receiverBand as ReceiverBandMod::ReceiverBand

void asdm::CalCurveRow::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<AtmPhaseCorrectionMod::AtmPhaseCorrection > asdm::CalCurveRow::getAtmPhaseCorrections (  )  const

Get atmPhaseCorrections.

Returns:
atmPhaseCorrections as vector<AtmPhaseCorrectionMod::AtmPhaseCorrection >

void asdm::CalCurveRow::setAtmPhaseCorrections ( vector< AtmPhaseCorrectionMod::AtmPhaseCorrection >  atmPhaseCorrections  ) 

Set atmPhaseCorrections with the specified vector<AtmPhaseCorrectionMod::AtmPhaseCorrection >.

Parameters:
atmPhaseCorrections The vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > value to which atmPhaseCorrections is to be set.

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

Get polarizationTypes.

Returns:
polarizationTypes as vector<PolarizationTypeMod::PolarizationType >

void asdm::CalCurveRow::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::CalCurveRow::getStartValidTime (  )  const

Get startValidTime.

Returns:
startValidTime as ArrayTime

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

Set startValidTime with the specified ArrayTime.

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

ArrayTime asdm::CalCurveRow::getEndValidTime (  )  const

Get endValidTime.

Returns:
endValidTime as ArrayTime

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

Set endValidTime with the specified ArrayTime.

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

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

Get frequencyRange.

Returns:
frequencyRange as vector<Frequency >

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

Set frequencyRange with the specified vector<Frequency >.

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

CalCurveTypeMod::CalCurveType asdm::CalCurveRow::getTypeCurve (  )  const

Get typeCurve.

Returns:
typeCurve as CalCurveTypeMod::CalCurveType

void asdm::CalCurveRow::setTypeCurve ( CalCurveTypeMod::CalCurveType  typeCurve  ) 

Set typeCurve with the specified CalCurveTypeMod::CalCurveType.

Parameters:
typeCurve The CalCurveTypeMod::CalCurveType value to which typeCurve is to be set.

ArrayTime asdm::CalCurveRow::getTimeOrigin (  )  const

Get timeOrigin.

Returns:
timeOrigin as ArrayTime

void asdm::CalCurveRow::setTimeOrigin ( ArrayTime  timeOrigin  ) 

Set timeOrigin with the specified ArrayTime.

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

vector<vector<vector<vector<float > > > > asdm::CalCurveRow::getCurve (  )  const

Get curve.

Returns:
curve as vector<vector<vector<vector<float > > > >

void asdm::CalCurveRow::setCurve ( vector< vector< vector< vector< float > > > >  curve  ) 

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

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

vector<vector<vector<float > > > asdm::CalCurveRow::getRms (  )  const

Get rms.

Returns:
rms as vector<vector<vector<float > > >

void asdm::CalCurveRow::setRms ( vector< vector< vector< float > > >  rms  ) 

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

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

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

Get calReductionId.

Returns:
calReductionId as Tag

void asdm::CalCurveRow::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::CalCurveRow::getCalDataUsingCalDataId (  ) 

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

Returns:
a CalDataRow*

CalReductionRow* asdm::CalCurveRow::getCalReductionUsingCalReductionId (  ) 

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

Returns:
a CalReductionRow*

bool asdm::CalCurveRow::compareNoAutoInc ( Tag  calDataId,
Tag  calReductionId,
int  numAntenna,
int  numBaseline,
int  numAPC,
int  numReceptor,
int  numPoly,
vector< string >  antennaNames,
string  refAntennaName,
ReceiverBandMod::ReceiverBand  receiverBand,
vector< AtmPhaseCorrectionMod::AtmPhaseCorrection >  atmPhaseCorrections,
vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< Frequency frequencyRange,
CalCurveTypeMod::CalCurveType  typeCurve,
ArrayTime  timeOrigin,
vector< vector< vector< vector< float > > > >  curve,
vector< vector< vector< float > > >  rms 
)

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

bool asdm::CalCurveRow::compareRequiredValue ( int  numAntenna,
int  numBaseline,
int  numAPC,
int  numReceptor,
int  numPoly,
vector< string >  antennaNames,
string  refAntennaName,
ReceiverBandMod::ReceiverBand  receiverBand,
vector< AtmPhaseCorrectionMod::AtmPhaseCorrection >  atmPhaseCorrections,
vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
ArrayTime  startValidTime,
ArrayTime  endValidTime,
vector< Frequency frequencyRange,
CalCurveTypeMod::CalCurveType  typeCurve,
ArrayTime  timeOrigin,
vector< vector< vector< vector< float > > > >  curve,
vector< vector< vector< float > > >  rms 
)

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

void asdm::CalCurveRow::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::CalCurveTable [friend]

Definition at line 169 of file CalCurveRow.h.


Member Data Documentation

Extrinsic Table asdm::CalCurveRow::Attributes

Definition at line 214 of file CalCurveRow.h.

Extrinsic Table asdm::CalCurveRow::Attributes

Definition at line 728 of file CalCurveRow.h.

CalCurveTable& asdm::CalCurveRow::table [private]

The table to which this row belongs.

Definition at line 854 of file CalCurveRow.h.

bool asdm::CalCurveRow::hasBeenAdded [private]

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

Definition at line 858 of file CalCurveRow.h.

int asdm::CalCurveRow::numBaseline [private]

===> Attribute numBaseline

Definition at line 913 of file CalCurveRow.h.

int asdm::CalCurveRow::numAPC [private]

===> Attribute numAPC

Definition at line 924 of file CalCurveRow.h.

int asdm::CalCurveRow::numReceptor [private]

===> Attribute numReceptor

Definition at line 935 of file CalCurveRow.h.

int asdm::CalCurveRow::numPoly [private]

===> Attribute numPoly

Definition at line 946 of file CalCurveRow.h.

vector<string > asdm::CalCurveRow::antennaNames [private]

===> Attribute antennaNames

Definition at line 957 of file CalCurveRow.h.

string asdm::CalCurveRow::refAntennaName [private]

===> Attribute refAntennaName

Definition at line 968 of file CalCurveRow.h.

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

===> Attribute receiverBand

Definition at line 979 of file CalCurveRow.h.

vector<AtmPhaseCorrectionMod::AtmPhaseCorrection > asdm::CalCurveRow::atmPhaseCorrections [private]

===> Attribute atmPhaseCorrections

Definition at line 990 of file CalCurveRow.h.

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

===> Attribute polarizationTypes

Definition at line 1001 of file CalCurveRow.h.

ArrayTime asdm::CalCurveRow::startValidTime [private]

===> Attribute startValidTime

Definition at line 1012 of file CalCurveRow.h.

ArrayTime asdm::CalCurveRow::endValidTime [private]

===> Attribute endValidTime

Definition at line 1023 of file CalCurveRow.h.

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

===> Attribute frequencyRange

Definition at line 1034 of file CalCurveRow.h.

CalCurveTypeMod::CalCurveType asdm::CalCurveRow::typeCurve [private]

===> Attribute typeCurve

Definition at line 1045 of file CalCurveRow.h.

ArrayTime asdm::CalCurveRow::timeOrigin [private]

===> Attribute timeOrigin

Definition at line 1056 of file CalCurveRow.h.

vector<vector<vector<vector<float > > > > asdm::CalCurveRow::curve [private]

===> Attribute curve

Definition at line 1067 of file CalCurveRow.h.

vector<vector<vector<float > > > asdm::CalCurveRow::rms [private]

===> Attribute rms

Definition at line 1078 of file CalCurveRow.h.

Tag asdm::CalCurveRow::calReductionId [private]

===> Attribute calReductionId

Definition at line 1104 of file CalCurveRow.h.


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