casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | Friends | List of all members
asdm::FeedRow Class Reference

The FeedRow class is a row of a FeedTable. More...

#include <FeedRow.h>

Public Member Functions

virtual ~FeedRow ()
 friend class asdm::TableStreamReader<FeedTable, FeedRow>; More...
 
FeedTablegetTable () const
 Return the table to which this row belongs. More...
 
bool isAdded () const
 Has this row been added to its table ? More...
 
ArrayTimeInterval getTimeInterval () const
 ===> Attribute timeInterval More...
 
void setTimeInterval (ArrayTimeInterval timeInterval)
 Set timeInterval with the specified ArrayTimeInterval. More...
 
int getNumReceptor () const
 ===> Attribute numReceptor More...
 
void setNumReceptor (int numReceptor)
 Set numReceptor with the specified int. More...
 
std::vector< std::vector
< double > > 
getBeamOffset () const
 ===> Attribute beamOffset More...
 
void setBeamOffset (std::vector< std::vector< double > > beamOffset)
 Set beamOffset with the specified std::vector<std::vector<double > >. More...
 
std::vector< std::vector
< Length > > 
getFocusReference () const
 ===> Attribute focusReference More...
 
void setFocusReference (std::vector< std::vector< Length > > focusReference)
 Set focusReference with the specified std::vector<std::vector<Length > >. More...
 
std::vector
< PolarizationTypeMod::PolarizationType > 
getPolarizationTypes () const
 ===> Attribute polarizationTypes More...
 
void setPolarizationTypes (std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes)
 Set polarizationTypes with the specified std::vector<PolarizationTypeMod::PolarizationType >. More...
 
std::vector< std::vector
< Complex > > 
getPolResponse () const
 ===> Attribute polResponse More...
 
void setPolResponse (std::vector< std::vector< Complex > > polResponse)
 Set polResponse with the specified std::vector<std::vector<Complex > >. More...
 
std::vector< AnglegetReceptorAngle () const
 ===> Attribute receptorAngle More...
 
void setReceptorAngle (std::vector< Angle > receptorAngle)
 Set receptorAngle with the specified std::vector<Angle >. More...
 
bool isFeedNumExists () const
 ===> Attribute feedNum, which is optional More...
 
int getFeedNum () const
 Get feedNum, which is optional. More...
 
void setFeedNum (int feedNum)
 Set feedNum with the specified int. More...
 
void clearFeedNum ()
 Mark feedNum, which is an optional field, as non-existent. More...
 
bool isIllumOffsetExists () const
 ===> Attribute illumOffset, which is optional More...
 
std::vector< LengthgetIllumOffset () const
 Get illumOffset, which is optional. More...
 
void setIllumOffset (std::vector< Length > illumOffset)
 Set illumOffset with the specified std::vector<Length >. More...
 
void clearIllumOffset ()
 Mark illumOffset, which is an optional field, as non-existent. More...
 
bool isPositionExists () const
 ===> Attribute position, which is optional More...
 
std::vector< LengthgetPosition () const
 Get position, which is optional. More...
 
void setPosition (std::vector< Length > position)
 Set position with the specified std::vector<Length >. More...
 
void clearPosition ()
 Mark position, which is an optional field, as non-existent. More...
 
bool isSkyCouplingExists () const
 ===> Attribute skyCoupling, which is optional More...
 
float getSkyCoupling () const
 Get skyCoupling, which is optional. More...
 
void setSkyCoupling (float skyCoupling)
 Set skyCoupling with the specified float. More...
 
void clearSkyCoupling ()
 Mark skyCoupling, which is an optional field, as non-existent. More...
 
bool isNumChanExists () const
 ===> Attribute numChan, which is optional More...
 
int getNumChan () const
 Get numChan, which is optional. More...
 
void setNumChan (int numChan)
 Set numChan with the specified int. More...
 
void clearNumChan ()
 Mark numChan, which is an optional field, as non-existent. More...
 
bool isSkyCouplingSpectrumExists () const
 ===> Attribute skyCouplingSpectrum, which is optional More...
 
std::vector< float > getSkyCouplingSpectrum () const
 Get skyCouplingSpectrum, which is optional. More...
 
void setSkyCouplingSpectrum (std::vector< float > skyCouplingSpectrum)
 Set skyCouplingSpectrum with the specified std::vector<float >. More...
 
void clearSkyCouplingSpectrum ()
 Mark skyCouplingSpectrum, which is an optional field, as non-existent. More...
 
void setAntennaId (Tag antennaId)
 Set antennaId with the specified Tag. More...
 
std::vector< int > getReceiverId () const
 ===> Attribute receiverId More...
 
void setReceiverId (std::vector< int > receiverId)
 Set receiverId with the specified std::vector<int> . More...
 
Tag getSpectralWindowId () const
 ===> Attribute spectralWindowId More...
 
void setSpectralWindowId (Tag spectralWindowId)
 Set spectralWindowId with the specified Tag. More...
 
Links *AntennaRowgetAntennaUsingAntennaId ()
 antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId More...
 
SpectralWindowRowgetSpectralWindowUsingSpectralWindowId ()
 spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId More...
 
void setReceiverId (int i, int receiverId)
 Set receiverId[i] with the specified int. More...
 
void addReceiverId (int id)
 ===> Slices link from a row of Feed table to a collection of row of Receiver table. More...
 
void addReceiverId (std::vector< int > id)
 Append an array of ids to receiverId. More...
 
const std::vector< ReceiverRow * > getReceivers (int i)
 Get the collection of rows in the Receiver table having receiverId == receiverId[i]. More...
 
const std::vector< ReceiverRow * > getReceivers ()
 Get the collection of rows in the Receiver table having receiverId == receiverId[i] for any i in [O..receiverId.size()-1]. More...
 
bool compareNoAutoInc (Tag antennaId, Tag spectralWindowId, ArrayTimeInterval timeInterval, int numReceptor, std::vector< std::vector< double > > beamOffset, std::vector< std::vector< Length > > focusReference, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< Complex > > polResponse, std::vector< Angle > receptorAngle, std::vector< int > receiverId)
 Compare each mandatory attribute except the autoincrementable one of this FeedRow with the corresponding parameters and return true if there is a match and false otherwise. More...
 
bool compareRequiredValue (int numReceptor, std::vector< std::vector< double > > beamOffset, std::vector< std::vector< Length > > focusReference, std::vector< PolarizationTypeMod::PolarizationType > polarizationTypes, std::vector< std::vector< Complex > > polResponse, std::vector< Angle > receptorAngle, std::vector< int > receiverId)
 Compare each mandatory value (i.e. More...
 
bool equalByRequiredValue (FeedRow *x)
 Return true if all required attributes of the value part are equal to their homologues in x and false otherwise. More...
 
asdmIDL::FeedRowIDL * toIDL () const
 Return this row in the form of an IDL struct. More...
 
void toIDL (asdmIDL::FeedRowIDL &x) const
 Define the content of a FeedRowIDL struct from the values found in this row. More...
 
void setFromIDL (asdmIDL::FeedRowIDL x)
 Fill the values of this row from the IDL struct FeedRowIDL. More...
 
std::string toXML () const
 Return this row in the form of an XML string. More...
 
void setFromXML (std::string rowDoc)
 Fill the values of this row from an XML string that was produced by the toXML() method. More...
 

Public Attributes

Intrinsic Table Attributes
 
Extrinsic Table Attributes
 

Private Member Functions

void isAdded (bool added)
 This method is used by the Table class when this row is added to the table. More...
 
 FeedRow (FeedTable &table)
 Create a FeedRow. More...
 
 FeedRow (FeedTable &table, FeedRow *row)
 Create a FeedRow using a copy constructor mechanism. More...
 
void setFeedId (int feedId)
 Set feedId with the specified int value. More...
 
void antennaIdFromBin (EndianIStream &eis)
 
void spectralWindowIdFromBin (EndianIStream &eis)
 
void timeIntervalFromBin (EndianIStream &eis)
 
void feedIdFromBin (EndianIStream &eis)
 
void numReceptorFromBin (EndianIStream &eis)
 
void beamOffsetFromBin (EndianIStream &eis)
 
void focusReferenceFromBin (EndianIStream &eis)
 
void polarizationTypesFromBin (EndianIStream &eis)
 
void polResponseFromBin (EndianIStream &eis)
 
void receptorAngleFromBin (EndianIStream &eis)
 
void receiverIdFromBin (EndianIStream &eis)
 
void feedNumFromBin (EndianIStream &eis)
 
void illumOffsetFromBin (EndianIStream &eis)
 
void positionFromBin (EndianIStream &eis)
 
void skyCouplingFromBin (EndianIStream &eis)
 
void numChanFromBin (EndianIStream &eis)
 
void skyCouplingSpectrumFromBin (EndianIStream &eis)
 
void antennaIdFromText (const std::string &s)
 
void spectralWindowIdFromText (const std::string &s)
 
void timeIntervalFromText (const std::string &s)
 
void feedIdFromText (const std::string &s)
 
void numReceptorFromText (const std::string &s)
 
void beamOffsetFromText (const std::string &s)
 
void focusReferenceFromText (const std::string &s)
 
void polarizationTypesFromText (const std::string &s)
 
void polResponseFromText (const std::string &s)
 
void receptorAngleFromText (const std::string &s)
 
void receiverIdFromText (const std::string &s)
 
void feedNumFromText (const std::string &s)
 
void illumOffsetFromText (const std::string &s)
 
void positionFromText (const std::string &s)
 
void skyCouplingFromText (const std::string &s)
 
void numChanFromText (const std::string &s)
 
void skyCouplingSpectrumFromText (const std::string &s)
 
void toBin (EndianOSStream &eoss)
 Serialize this into a stream of bytes written to an EndianOSStream. More...
 

Private Attributes

FeedTabletable
 The table to which this row belongs. More...
 
bool hasBeenAdded
 Whether this row has been added to the table or not. More...
 
ArrayTimeInterval timeInterval
 ===> Attribute timeInterval More...
 
int numReceptor
 ===> Attribute numReceptor More...
 
std::vector< std::vector
< double > > 
beamOffset
 ===> Attribute beamOffset More...
 
std::vector< std::vector
< Length > > 
focusReference
 ===> Attribute focusReference More...
 
std::vector
< PolarizationTypeMod::PolarizationType > 
polarizationTypes
 ===> Attribute polarizationTypes More...
 
std::vector< std::vector
< Complex > > 
polResponse
 ===> Attribute polResponse More...
 
std::vector< AnglereceptorAngle
 ===> Attribute receptorAngle More...
 
bool feedNumExists
 ===> Attribute feedNum, which is optional More...
 
int feedNum
 
bool illumOffsetExists
 ===> Attribute illumOffset, which is optional More...
 
std::vector< LengthillumOffset
 
bool positionExists
 ===> Attribute position, which is optional More...
 
std::vector< Lengthposition
 
bool skyCouplingExists
 ===> Attribute skyCoupling, which is optional More...
 
float skyCoupling
 
bool numChanExists
 ===> Attribute numChan, which is optional More...
 
int numChan
 
bool skyCouplingSpectrumExists
 ===> Attribute skyCouplingSpectrum, which is optional More...
 
std::vector< float > skyCouplingSpectrum
 
std::vector< int > receiverId
 ===> Attribute receiverId More...
 
Tag spectralWindowId
 ===> Attribute spectralWindowId More...
 
Links *binary deserialization
material from an EndianIStream
std::map< std::string,
FeedAttributeFromBin
fromBinMethods
 
*text deserialization material
std::map< std::string,
FeedAttributeFromText
fromTextMethods
 

Friends

class asdm::FeedTable
 
class asdm::RowTransformer< FeedRow >
 

Detailed Description

The FeedRow class is a row of a FeedTable.

Generated from model's revision "-1", branch ""

Definition at line 141 of file FeedRow.h.

Constructor & Destructor Documentation

virtual asdm::FeedRow::~FeedRow ( )
virtual

friend class asdm::TableStreamReader<FeedTable, FeedRow>;

asdm::FeedRow::FeedRow ( FeedTable table)
private

Create a FeedRow.

This constructor is private because only the table can create rows. All rows know the table to which they belong.

Parameters
tableThe table to which this row belongs.
asdm::FeedRow::FeedRow ( FeedTable table,
FeedRow row 
)
private

Create a FeedRow using a copy constructor mechanism.

Given a FeedRow row and a FeedTable table, the method creates a new FeedRow 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
tableThe table to which this row belongs.
rowThe row which is to be copied.

Member Function Documentation

void asdm::FeedRow::addReceiverId ( int  id)

===> Slices link from a row of Feed table to a collection of row of Receiver table.

Append a new id to receiverId

Parameters
idthe int value to be appended to receiverId
void asdm::FeedRow::addReceiverId ( std::vector< int >  id)

Append an array of ids to receiverId.

Parameters
ida vector of int containing the values to append to receiverId.
void asdm::FeedRow::antennaIdFromBin ( EndianIStream eis)
private
void asdm::FeedRow::antennaIdFromText ( const std::string &  s)
private
void asdm::FeedRow::beamOffsetFromBin ( EndianIStream eis)
private
void asdm::FeedRow::beamOffsetFromText ( const std::string &  s)
private
void asdm::FeedRow::clearFeedNum ( )

Mark feedNum, which is an optional field, as non-existent.

void asdm::FeedRow::clearIllumOffset ( )

Mark illumOffset, which is an optional field, as non-existent.

void asdm::FeedRow::clearNumChan ( )

Mark numChan, which is an optional field, as non-existent.

void asdm::FeedRow::clearPosition ( )

Mark position, which is an optional field, as non-existent.

void asdm::FeedRow::clearSkyCoupling ( )

Mark skyCoupling, which is an optional field, as non-existent.

void asdm::FeedRow::clearSkyCouplingSpectrum ( )

Mark skyCouplingSpectrum, which is an optional field, as non-existent.

bool asdm::FeedRow::compareNoAutoInc ( Tag  antennaId,
Tag  spectralWindowId,
ArrayTimeInterval  timeInterval,
int  numReceptor,
std::vector< std::vector< double > >  beamOffset,
std::vector< std::vector< Length > >  focusReference,
std::vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
std::vector< std::vector< Complex > >  polResponse,
std::vector< Angle receptorAngle,
std::vector< int >  receiverId 
)

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

Parameters
antennaId
spectralWindowId
timeInterval
numReceptor
beamOffset
focusReference
polarizationTypes
polResponse
receptorAngle
receiverId
bool asdm::FeedRow::compareRequiredValue ( int  numReceptor,
std::vector< std::vector< double > >  beamOffset,
std::vector< std::vector< Length > >  focusReference,
std::vector< PolarizationTypeMod::PolarizationType >  polarizationTypes,
std::vector< std::vector< Complex > >  polResponse,
std::vector< Angle receptorAngle,
std::vector< int >  receiverId 
)

Compare each mandatory value (i.e.

not in the key) attribute with the corresponding parameters and return true if there is a match and false otherwise.

Parameters
numReceptor
beamOffset
focusReference
polarizationTypes
polResponse
receptorAngle
receiverId
bool asdm::FeedRow::equalByRequiredValue ( FeedRow x)

Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.

Parameters
xa pointer on the FeedRow whose required attributes of the value part will be compared with those of this.
Returns
a boolean.
void asdm::FeedRow::feedIdFromBin ( EndianIStream eis)
private
void asdm::FeedRow::feedIdFromText ( const std::string &  s)
private
void asdm::FeedRow::feedNumFromBin ( EndianIStream eis)
private
void asdm::FeedRow::feedNumFromText ( const std::string &  s)
private
void asdm::FeedRow::focusReferenceFromBin ( EndianIStream eis)
private
void asdm::FeedRow::focusReferenceFromText ( const std::string &  s)
private
Links* AntennaRow* asdm::FeedRow::getAntennaUsingAntennaId ( )

antennaId pointer to the row in the Antenna table having Antenna.antennaId == antennaId

Returns
a AntennaRow*
std::vector<std::vector<double > > asdm::FeedRow::getBeamOffset ( ) const

===> Attribute beamOffset

Get beamOffset.

Returns
beamOffset as std::vector<std::vector<double > >
int asdm::FeedRow::getFeedNum ( ) const

Get feedNum, which is optional.

Returns
feedNum as int
Exceptions
IllegalAccessExceptionIf feedNum does not exist.
std::vector<std::vector<Length > > asdm::FeedRow::getFocusReference ( ) const

===> Attribute focusReference

Get focusReference.

Returns
focusReference as std::vector<std::vector<Length > >
std::vector<Length > asdm::FeedRow::getIllumOffset ( ) const

Get illumOffset, which is optional.

Returns
illumOffset as std::vector<Length >
Exceptions
IllegalAccessExceptionIf illumOffset does not exist.
int asdm::FeedRow::getNumChan ( ) const

Get numChan, which is optional.

Returns
numChan as int
Exceptions
IllegalAccessExceptionIf numChan does not exist.
int asdm::FeedRow::getNumReceptor ( ) const

===> Attribute numReceptor

Get numReceptor.

Returns
numReceptor as int
std::vector<PolarizationTypeMod::PolarizationType > asdm::FeedRow::getPolarizationTypes ( ) const

===> Attribute polarizationTypes

Get polarizationTypes.

Returns
polarizationTypes as std::vector<PolarizationTypeMod::PolarizationType >
std::vector<std::vector<Complex > > asdm::FeedRow::getPolResponse ( ) const

===> Attribute polResponse

Get polResponse.

Returns
polResponse as std::vector<std::vector<Complex > >
std::vector<Length > asdm::FeedRow::getPosition ( ) const

Get position, which is optional.

Returns
position as std::vector<Length >
Exceptions
IllegalAccessExceptionIf position does not exist.
std::vector<int> asdm::FeedRow::getReceiverId ( ) const

===> Attribute receiverId

Get receiverId.

Returns
receiverId as std::vector<int>
const std::vector<ReceiverRow *> asdm::FeedRow::getReceivers ( int  i)

Get the collection of rows in the Receiver table having receiverId == receiverId[i].

Returns
a vector of ReceiverRow *.
const std::vector<ReceiverRow *> asdm::FeedRow::getReceivers ( )

Get the collection of rows in the Receiver table having receiverId == receiverId[i] for any i in [O..receiverId.size()-1].

Returns
a vector of ReceiverRow *.
std::vector<Angle > asdm::FeedRow::getReceptorAngle ( ) const

===> Attribute receptorAngle

Get receptorAngle.

Returns
receptorAngle as std::vector<Angle >
float asdm::FeedRow::getSkyCoupling ( ) const

Get skyCoupling, which is optional.

Returns
skyCoupling as float
Exceptions
IllegalAccessExceptionIf skyCoupling does not exist.
std::vector<float > asdm::FeedRow::getSkyCouplingSpectrum ( ) const

Get skyCouplingSpectrum, which is optional.

Returns
skyCouplingSpectrum as std::vector<float >
Exceptions
IllegalAccessExceptionIf skyCouplingSpectrum does not exist.
Tag asdm::FeedRow::getSpectralWindowId ( ) const

===> Attribute spectralWindowId

Get spectralWindowId.

Returns
spectralWindowId as Tag
SpectralWindowRow* asdm::FeedRow::getSpectralWindowUsingSpectralWindowId ( )

spectralWindowId pointer to the row in the SpectralWindow table having SpectralWindow.spectralWindowId == spectralWindowId

Returns
a SpectralWindowRow*
FeedTable& asdm::FeedRow::getTable ( ) const

Return the table to which this row belongs.

ArrayTimeInterval asdm::FeedRow::getTimeInterval ( ) const

===> Attribute timeInterval

Get timeInterval.

Returns
timeInterval as ArrayTimeInterval
void asdm::FeedRow::illumOffsetFromBin ( EndianIStream eis)
private
void asdm::FeedRow::illumOffsetFromText ( const std::string &  s)
private
bool asdm::FeedRow::isAdded ( ) const

Has this row been added to its table ?

Returns
true if and only if it has been added.
void asdm::FeedRow::isAdded ( bool  added)
private

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

bool asdm::FeedRow::isFeedNumExists ( ) const

===> Attribute feedNum, which is optional

The attribute feedNum is optional. Return true if this attribute exists.

Returns
true if and only if the feedNum attribute exists.
bool asdm::FeedRow::isIllumOffsetExists ( ) const

===> Attribute illumOffset, which is optional

The attribute illumOffset is optional. Return true if this attribute exists.

Returns
true if and only if the illumOffset attribute exists.
bool asdm::FeedRow::isNumChanExists ( ) const

===> Attribute numChan, which is optional

The attribute numChan is optional. Return true if this attribute exists.

Returns
true if and only if the numChan attribute exists.
bool asdm::FeedRow::isPositionExists ( ) const

===> Attribute position, which is optional

The attribute position is optional. Return true if this attribute exists.

Returns
true if and only if the position attribute exists.
bool asdm::FeedRow::isSkyCouplingExists ( ) const

===> Attribute skyCoupling, which is optional

The attribute skyCoupling is optional. Return true if this attribute exists.

Returns
true if and only if the skyCoupling attribute exists.
bool asdm::FeedRow::isSkyCouplingSpectrumExists ( ) const

===> Attribute skyCouplingSpectrum, which is optional

The attribute skyCouplingSpectrum is optional. Return true if this attribute exists.

Returns
true if and only if the skyCouplingSpectrum attribute exists.
void asdm::FeedRow::numChanFromBin ( EndianIStream eis)
private
void asdm::FeedRow::numChanFromText ( const std::string &  s)
private
void asdm::FeedRow::numReceptorFromBin ( EndianIStream eis)
private
void asdm::FeedRow::numReceptorFromText ( const std::string &  s)
private
void asdm::FeedRow::polarizationTypesFromBin ( EndianIStream eis)
private
void asdm::FeedRow::polarizationTypesFromText ( const std::string &  s)
private
void asdm::FeedRow::polResponseFromBin ( EndianIStream eis)
private
void asdm::FeedRow::polResponseFromText ( const std::string &  s)
private
void asdm::FeedRow::positionFromBin ( EndianIStream eis)
private
void asdm::FeedRow::positionFromText ( const std::string &  s)
private
void asdm::FeedRow::receiverIdFromBin ( EndianIStream eis)
private
void asdm::FeedRow::receiverIdFromText ( const std::string &  s)
private
void asdm::FeedRow::receptorAngleFromBin ( EndianIStream eis)
private
void asdm::FeedRow::receptorAngleFromText ( const std::string &  s)
private
void asdm::FeedRow::setAntennaId ( Tag  antennaId)

Set antennaId with the specified Tag.

Parameters
antennaIdThe Tag value to which antennaId is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::FeedRow::setBeamOffset ( std::vector< std::vector< double > >  beamOffset)

Set beamOffset with the specified std::vector<std::vector<double > >.

Parameters
beamOffsetThe std::vector<std::vector<double > > value to which beamOffset is to be set.
void asdm::FeedRow::setFeedId ( int  feedId)
private

Set feedId with the specified int value.

Parameters
feedIdThe int value to which feedId is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::FeedRow::setFeedNum ( int  feedNum)

Set feedNum with the specified int.

Parameters
feedNumThe int value to which feedNum is to be set.
void asdm::FeedRow::setFocusReference ( std::vector< std::vector< Length > >  focusReference)

Set focusReference with the specified std::vector<std::vector<Length > >.

Parameters
focusReferenceThe std::vector<std::vector<Length > > value to which focusReference is to be set.
void asdm::FeedRow::setFromIDL ( asdmIDL::FeedRowIDL  x)

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

Parameters
xThe IDL struct containing the values used to fill this row.
Exceptions
ConversionException
void asdm::FeedRow::setFromXML ( std::string  rowDoc)

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

Parameters
rowDocthe XML string being used to set the values of this row.
Exceptions
ConversionException
void asdm::FeedRow::setIllumOffset ( std::vector< Length illumOffset)

Set illumOffset with the specified std::vector<Length >.

Parameters
illumOffsetThe std::vector<Length > value to which illumOffset is to be set.
void asdm::FeedRow::setNumChan ( int  numChan)

Set numChan with the specified int.

Parameters
numChanThe int value to which numChan is to be set.
void asdm::FeedRow::setNumReceptor ( int  numReceptor)

Set numReceptor with the specified int.

Parameters
numReceptorThe int value to which numReceptor is to be set.
void asdm::FeedRow::setPolarizationTypes ( std::vector< PolarizationTypeMod::PolarizationType >  polarizationTypes)

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

Parameters
polarizationTypesThe std::vector<PolarizationTypeMod::PolarizationType > value to which polarizationTypes is to be set.
void asdm::FeedRow::setPolResponse ( std::vector< std::vector< Complex > >  polResponse)

Set polResponse with the specified std::vector<std::vector<Complex > >.

Parameters
polResponseThe std::vector<std::vector<Complex > > value to which polResponse is to be set.
void asdm::FeedRow::setPosition ( std::vector< Length position)

Set position with the specified std::vector<Length >.

Parameters
positionThe std::vector<Length > value to which position is to be set.
void asdm::FeedRow::setReceiverId ( std::vector< int >  receiverId)

Set receiverId with the specified std::vector<int> .

Parameters
receiverIdThe std::vector<int> value to which receiverId is to be set.
void asdm::FeedRow::setReceiverId ( int  i,
int  receiverId 
)

Set receiverId[i] with the specified int.

Parameters
iThe index in receiverId where to set the int value.
receiverIdThe int value to which receiverId[i] is to be set.
Exceptions
IndexOutOfBoundsException
void asdm::FeedRow::setReceptorAngle ( std::vector< Angle receptorAngle)

Set receptorAngle with the specified std::vector<Angle >.

Parameters
receptorAngleThe std::vector<Angle > value to which receptorAngle is to be set.
void asdm::FeedRow::setSkyCoupling ( float  skyCoupling)

Set skyCoupling with the specified float.

Parameters
skyCouplingThe float value to which skyCoupling is to be set.
void asdm::FeedRow::setSkyCouplingSpectrum ( std::vector< float >  skyCouplingSpectrum)

Set skyCouplingSpectrum with the specified std::vector<float >.

Parameters
skyCouplingSpectrumThe std::vector<float > value to which skyCouplingSpectrum is to be set.
void asdm::FeedRow::setSpectralWindowId ( Tag  spectralWindowId)

Set spectralWindowId with the specified Tag.

Parameters
spectralWindowIdThe Tag value to which spectralWindowId is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::FeedRow::setTimeInterval ( ArrayTimeInterval  timeInterval)

Set timeInterval with the specified ArrayTimeInterval.

Parameters
timeIntervalThe ArrayTimeInterval value to which timeInterval is to be set.
Exceptions
IllegalAccessExceptionIf an attempt is made to change this field after is has been added to the table.
void asdm::FeedRow::skyCouplingFromBin ( EndianIStream eis)
private
void asdm::FeedRow::skyCouplingFromText ( const std::string &  s)
private
void asdm::FeedRow::skyCouplingSpectrumFromBin ( EndianIStream eis)
private
void asdm::FeedRow::skyCouplingSpectrumFromText ( const std::string &  s)
private
void asdm::FeedRow::spectralWindowIdFromBin ( EndianIStream eis)
private
void asdm::FeedRow::spectralWindowIdFromText ( const std::string &  s)
private
void asdm::FeedRow::timeIntervalFromBin ( EndianIStream eis)
private
void asdm::FeedRow::timeIntervalFromText ( const std::string &  s)
private
void asdm::FeedRow::toBin ( EndianOSStream eoss)
private

Serialize this into a stream of bytes written to an EndianOSStream.

Parameters
eossthe EndianOSStream to be written to
asdmIDL::FeedRowIDL* asdm::FeedRow::toIDL ( ) const

Return this row in the form of an IDL struct.

Returns
The values of this row as a FeedRowIDL struct.
void asdm::FeedRow::toIDL ( asdmIDL::FeedRowIDL &  x) const

Define the content of a FeedRowIDL struct from the values found in this row.

Parameters
xa reference to the FeedRowIDL struct to be set.
std::string asdm::FeedRow::toXML ( ) const

Return this row in the form of an XML string.

Returns
The values of this row as an XML string.

Friends And Related Function Documentation

friend class asdm::FeedTable
friend

Definition at line 142 of file FeedRow.h.

friend class asdm::RowTransformer< FeedRow >
friend

Definition at line 143 of file FeedRow.h.

Member Data Documentation

Extrinsic Table asdm::FeedRow::Attributes

Definition at line 166 of file FeedRow.h.

Extrinsic Table asdm::FeedRow::Attributes

Definition at line 648 of file FeedRow.h.

std::vector<std::vector<double > > asdm::FeedRow::beamOffset
private

===> Attribute beamOffset

Definition at line 1070 of file FeedRow.h.

int asdm::FeedRow::feedNum
private

Definition at line 1127 of file FeedRow.h.

bool asdm::FeedRow::feedNumExists
private

===> Attribute feedNum, which is optional

Definition at line 1124 of file FeedRow.h.

std::vector<std::vector<Length > > asdm::FeedRow::focusReference
private

===> Attribute focusReference

Definition at line 1081 of file FeedRow.h.

Links* binary deserialization material from an EndianIStream std::map<std::string, FeedAttributeFromBin> asdm::FeedRow::fromBinMethods
private

Definition at line 1264 of file FeedRow.h.

* text deserialization material std::map<std::string, FeedAttributeFromText> asdm::FeedRow::fromTextMethods
private

Definition at line 1289 of file FeedRow.h.

bool asdm::FeedRow::hasBeenAdded
private

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

Definition at line 981 of file FeedRow.h.

std::vector<Length > asdm::FeedRow::illumOffset
private

Definition at line 1140 of file FeedRow.h.

bool asdm::FeedRow::illumOffsetExists
private

===> Attribute illumOffset, which is optional

Definition at line 1137 of file FeedRow.h.

int asdm::FeedRow::numChan
private

Definition at line 1179 of file FeedRow.h.

bool asdm::FeedRow::numChanExists
private

===> Attribute numChan, which is optional

Definition at line 1176 of file FeedRow.h.

int asdm::FeedRow::numReceptor
private

===> Attribute numReceptor

Definition at line 1059 of file FeedRow.h.

std::vector<PolarizationTypeMod::PolarizationType > asdm::FeedRow::polarizationTypes
private

===> Attribute polarizationTypes

Definition at line 1092 of file FeedRow.h.

std::vector<std::vector<Complex > > asdm::FeedRow::polResponse
private

===> Attribute polResponse

Definition at line 1103 of file FeedRow.h.

std::vector<Length > asdm::FeedRow::position
private

Definition at line 1153 of file FeedRow.h.

bool asdm::FeedRow::positionExists
private

===> Attribute position, which is optional

Definition at line 1150 of file FeedRow.h.

std::vector<int> asdm::FeedRow::receiverId
private

===> Attribute receiverId

Definition at line 1218 of file FeedRow.h.

std::vector<Angle > asdm::FeedRow::receptorAngle
private

===> Attribute receptorAngle

Definition at line 1114 of file FeedRow.h.

float asdm::FeedRow::skyCoupling
private

Definition at line 1166 of file FeedRow.h.

bool asdm::FeedRow::skyCouplingExists
private

===> Attribute skyCoupling, which is optional

Definition at line 1163 of file FeedRow.h.

std::vector<float > asdm::FeedRow::skyCouplingSpectrum
private

Definition at line 1192 of file FeedRow.h.

bool asdm::FeedRow::skyCouplingSpectrumExists
private

===> Attribute skyCouplingSpectrum, which is optional

Definition at line 1189 of file FeedRow.h.

Tag asdm::FeedRow::spectralWindowId
private

===> Attribute spectralWindowId

Definition at line 1229 of file FeedRow.h.

FeedTable& asdm::FeedRow::table
private

The table to which this row belongs.

Definition at line 977 of file FeedRow.h.

ArrayTimeInterval asdm::FeedRow::timeInterval
private

===> Attribute timeInterval

Definition at line 1048 of file FeedRow.h.


The documentation for this class was generated from the following file: