#include <BeamRow.h>
Collaboration diagram for asdm::BeamRow:

Generated from model's revision "1.46", branch "HEAD"
Definition at line 118 of file BeamRow.h.
Public Member Functions | |
| virtual | ~BeamRow () |
| BeamTable & | getTable () const |
| Return the table to which this row belongs. | |
| BeamRowIDL * | toIDL () const |
| Return this row in the form of an IDL struct. | |
| void | setFromIDL (BeamRowIDL x) throw (ConversionException) |
| Fill the values of this row from the IDL struct BeamRowIDL. | |
| 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. | |
| Extrinsic Table Attributes Links *bool | equalByRequiredValue (BeamRow *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. | |
| BeamRow (BeamTable &table) | |
| Create a BeamRow. | |
| BeamRow (BeamTable &table, BeamRow &row) | |
| Create a BeamRow using a copy constructor mechanism. | |
| void | setBeamId (Tag beamId) |
| Set beamId with the specified Tag value. | |
Private Attributes | |
| BeamTable & | table |
| The table to which this row belongs. | |
| bool | hasBeenAdded |
| Whether this row has been added to the table or not. | |
Friends | |
| class | asdm::BeamTable |
| virtual asdm::BeamRow::~BeamRow | ( | ) | [virtual] |
| asdm::BeamRow::BeamRow | ( | BeamTable & | table | ) | [private] |
Create a BeamRow.
This constructor is private because only the table can create rows. All rows know the table to which they belong.
| table | The table to which this row belongs. |
Create a BeamRow using a copy constructor mechanism.
Given a BeamRow row and a BeamTable table, the method creates a new BeamRow 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.
| table | The table to which this row belongs. | |
| row | The row which is to be copied. |
| BeamTable& asdm::BeamRow::getTable | ( | ) | const |
Return the table to which this row belongs.
| BeamRowIDL* asdm::BeamRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
| void asdm::BeamRow::setFromIDL | ( | BeamRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct BeamRowIDL.
| x | The IDL struct containing the values used to fill this row. |
| string asdm::BeamRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
| void asdm::BeamRow::setFromXML | ( | string | rowDoc | ) | throw (ConversionException) |
Fill the values of this row from an XML string that was produced by the toXML() method.
| x | The XML string being used to set the values of this row. |
| Extrinsic Table Attributes Links* bool asdm::BeamRow::equalByRequiredValue | ( | BeamRow * | x | ) |
Return true if all required attributes of the value part are equal to their homologues in x and false otherwise.
| x | a pointer on the BeamRow whose required attributes of the value part will be compared with those of this. |
| void asdm::BeamRow::isAdded | ( | ) | [private] |
This method is used by the Table class when this row is added to the table.
| void asdm::BeamRow::setBeamId | ( | Tag | beamId | ) | [private] |
Set beamId with the specified Tag value.
| beamId | The Tag value to which beamId is to be set. |
| IllegalAccessException | If an attempt is made to change this field after is has been added to the table. |
friend class asdm::BeamTable [friend] |
| Intrinsic Table asdm::BeamRow::Attributes |
BeamTable& asdm::BeamRow::table [private] |
bool asdm::BeamRow::hasBeenAdded [private] |
1.5.1