#include <StationRow.h>
Generated from model's revision "1.41", branch "HEAD"
Public Member Functions | |
StationTable & | getTable () const |
StationRowIDL * | toIDL () const |
void | setFromIDL (StationRowIDL x) throw (ConversionException) |
string | toXML () const |
void | setFromXML (string rowDoc) throw (ConversionException) |
string | getName () const |
void | setName (string name) |
vector< Length > | getPosition () const |
void | setPosition (vector< Length > position) |
StationType | getType () const |
void | setType (StationType type) |
Tag | getStationId () const |
bool | compareNoAutoInc (string name, vector< Length > position, StationType type) |
bool | compareRequiredValue (string name, vector< Length > position, StationType type) |
bool | equalByRequiredValue (StationRow *x) |
Friends | |
class | asdm::StationTable |
StationTable& asdm::StationRow::getTable | ( | ) | const |
Return the table to which this row belongs.
StationRowIDL* asdm::StationRow::toIDL | ( | ) | const |
Return this row in the form of an IDL struct.
void asdm::StationRow::setFromIDL | ( | StationRowIDL | x | ) | throw (ConversionException) |
Fill the values of this row from the IDL struct StationRowIDL.
x | The IDL struct containing the values used to fill this row. |
string asdm::StationRow::toXML | ( | ) | const |
Return this row in the form of an XML string.
void asdm::StationRow::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. |
string asdm::StationRow::getName | ( | ) | const |
Get name.
void asdm::StationRow::setName | ( | string | name | ) |
Set name with the specified string.
name | The string value to which name is to be set. |
vector<Length > asdm::StationRow::getPosition | ( | ) | const |
Get position.
void asdm::StationRow::setPosition | ( | vector< Length > | position | ) |
Set position with the specified vector<Length >.
position | The vector<Length > value to which position is to be set. |
StationType asdm::StationRow::getType | ( | ) | const |
Get type.
void asdm::StationRow::setType | ( | StationType | type | ) |
Set type with the specified StationType.
type | The StationType value to which type is to be set. |
bool asdm::StationRow::compareNoAutoInc | ( | string | name, | |
vector< Length > | position, | |||
StationType | type | |||
) |
Compare each mandatory attribute except the autoincrementable one of this StationRow with the corresponding parameters and return true if there is a match and false otherwise.
bool asdm::StationRow::equalByRequiredValue | ( | StationRow * | 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 StationRow whose required attributes of the value part will be compared with those of this. |