asdm::AlmaRadiometerRow Class Reference

#include <AlmaRadiometerRow.h>

Collaboration diagram for asdm::AlmaRadiometerRow:

Collaboration graph
[legend]
List of all members.

Detailed Description

The AlmaRadiometerRow class is a row of a AlmaRadiometerTable.

Generated from model's revision "1.46", branch "ALMA-5_1_1-B"

Definition at line 120 of file AlmaRadiometerRow.h.

Public Member Functions

virtual ~AlmaRadiometerRow ()
AlmaRadiometerTablegetTable () const
 Return the table to which this row belongs.
AlmaRadiometerRowIDL * toIDL () const
 Return this row in the form of an IDL struct.
void setFromIDL (AlmaRadiometerRowIDL x) throw (ConversionException)
 Fill the values of this row from the IDL struct AlmaRadiometerRowIDL.
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.
int getNumBand () const
 Get numBand.
void setNumBand (int numBand) throw (IllegalAccessException)
 Set numBand with the specified int.
Extrinsic Table Attributes
Links *bool 
compareNoAutoInc (int numBand)
 Compare each mandatory attribute except the autoincrementable one of this AlmaRadiometerRow with the corresponding parameters and return true if there is a match and false otherwise.
bool compareRequiredValue (int numBand)
bool equalByRequiredValue (AlmaRadiometerRow *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

Private Member Functions

void isAdded ()
 This method is used by the Table class when this row is added to the table.
 AlmaRadiometerRow (AlmaRadiometerTable &table)
 Create a AlmaRadiometerRow.
 AlmaRadiometerRow (AlmaRadiometerTable &table, AlmaRadiometerRow &row)
 Create a AlmaRadiometerRow using a copy constructor mechanism.
void setModeId (Tag modeId) throw (IllegalAccessException)
 Set modeId with the specified Tag value.

Private Attributes

AlmaRadiometerTabletable
 The table to which this row belongs.
bool hasBeenAdded
 Whether this row has been added to the table or not.
int numBand
 ===> Attribute numBand

Friends

class asdm::AlmaRadiometerTable


Constructor & Destructor Documentation

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

asdm::AlmaRadiometerRow::AlmaRadiometerRow ( AlmaRadiometerTable table  )  [private]

Create a AlmaRadiometerRow.

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

Create a AlmaRadiometerRow using a copy constructor mechanism.

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

AlmaRadiometerTable& asdm::AlmaRadiometerRow::getTable (  )  const

Return the table to which this row belongs.

AlmaRadiometerRowIDL* asdm::AlmaRadiometerRow::toIDL (  )  const

Return this row in the form of an IDL struct.

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

void asdm::AlmaRadiometerRow::setFromIDL ( AlmaRadiometerRowIDL  x  )  throw (ConversionException)

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

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

string asdm::AlmaRadiometerRow::toXML (  )  const

Return this row in the form of an XML string.

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

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

int asdm::AlmaRadiometerRow::getNumBand (  )  const

Get numBand.

Returns:
numBand as int

void asdm::AlmaRadiometerRow::setNumBand ( int  numBand  )  throw (IllegalAccessException)

Set numBand with the specified int.

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

Extrinsic Table Attributes Links* bool asdm::AlmaRadiometerRow::compareNoAutoInc ( int  numBand  ) 

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

bool asdm::AlmaRadiometerRow::compareRequiredValue ( int  numBand  ) 

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

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

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

void asdm::AlmaRadiometerRow::setModeId ( Tag  modeId  )  throw (IllegalAccessException) [private]

Set modeId with the specified Tag value.

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


Friends And Related Function Documentation

friend class asdm::AlmaRadiometerTable [friend]

Definition at line 121 of file AlmaRadiometerRow.h.


Member Data Documentation

Intrinsic Table asdm::AlmaRadiometerRow::Attributes

Definition at line 166 of file AlmaRadiometerRow.h.

AlmaRadiometerTable& asdm::AlmaRadiometerRow::table [private]

The table to which this row belongs.

Definition at line 252 of file AlmaRadiometerRow.h.

bool asdm::AlmaRadiometerRow::hasBeenAdded [private]

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

Definition at line 256 of file AlmaRadiometerRow.h.

int asdm::AlmaRadiometerRow::numBand [private]

===> Attribute numBand

Definition at line 321 of file AlmaRadiometerRow.h.


The documentation for this class was generated from the following file:
Generated on Mon Sep 1 22:42:31 2008 for NRAOCASA by  doxygen 1.5.1