The BeamRow class is a row of a BeamTable.
More...
#include <BeamRow.h>
List of all members.
Detailed Description
The BeamRow class is a row of a BeamTable.
Generated from model's revision "1.58", branch "HEAD"
Definition at line 88 of file BeamRow.h.
Constructor & Destructor Documentation
Create a BeamRow.
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. |
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.
- Parameters:
-
table | The table to which this row belongs. |
row | The row which is to be copied. |
Member Function Documentation
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 BeamRow whose required attributes of the value part will be compared with those of this. |
- Returns:
- a boolean.
Deserialize a stream of bytes read from an EndianIStream to build a PointingRow.
- Parameters:
-
eis | the EndianIStream to be read. |
table | the BeamTable to which the row built by deserialization will be parented. |
attributesSeq | a vector containing the names of the attributes . The elements order defines the order in which the attributes are written in the binary serialization. |
Return the table to which this row belongs.
Has this row been added to its table ?
- Returns:
- true if and only if it has been added.
This method is used by the Table class when this row is added to the table.
Set beamId with the specified Tag value.
- Parameters:
-
beamId | The Tag value to which beamId is to be set. |
- Exceptions:
-
Fill the values of this row from the IDL struct BeamRowIDL.
- Parameters:
-
x | The IDL struct containing the values used to fill this row. |
- Exceptions:
-
Fill the values of this row from an XML string that was produced by the toXML() method.
- Parameters:
-
rowDoc | the XML string being used to set the values of this row. |
- Exceptions:
-
Serialize this into a stream of bytes written to an EndianOSStream.
- Parameters:
-
Return this row in the form of an IDL struct.
- Returns:
- The values of this row as a BeamRowIDL struct.
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
Member Data Documentation
Whether this row has been added to the table or not.
Definition at line 193 of file BeamRow.h.
The table to which this row belongs.
Definition at line 189 of file BeamRow.h.
The documentation for this class was generated from the following file: