asdm::StationRow Class Reference

#include <StationRow.h>

List of all members.


Detailed Description

The StationRow class is a row of a StationTable.

Generated from model's revision "1.41", branch "HEAD"


Public Member Functions

StationTablegetTable () 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< LengthgetPosition () 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


Member Function Documentation

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.

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

void asdm::StationRow::setFromIDL ( StationRowIDL  x  )  throw (ConversionException)

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

Parameters:
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.

Returns:
The values of this row as 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.

Parameters:
x The XML string being used to set the values of this row.

string asdm::StationRow::getName (  )  const

Get name.

Returns:
name as string

void asdm::StationRow::setName ( string  name  ) 

Set name with the specified string.

Parameters:
name The string value to which name is to be set.

vector<Length > asdm::StationRow::getPosition (  )  const

Get position.

Returns:
position as vector<Length >

void asdm::StationRow::setPosition ( vector< Length position  ) 

Set position with the specified vector<Length >.

Parameters:
position The vector<Length > value to which position is to be set.

StationType asdm::StationRow::getType (  )  const

Get type.

Returns:
type as StationType

void asdm::StationRow::setType ( StationType  type  ) 

Set type with the specified StationType.

Parameters:
type The StationType value to which type is to be set.

Tag asdm::StationRow::getStationId (  )  const

Get stationId.

Returns:
stationId as Tag

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.

Parameters:
x a pointer on the StationRow whose required attributes of the value part will be compared with those of this.
Returns:
a boolean.


The documentation for this class was generated from the following file:
Generated on Thu Nov 29 16:46:51 2007 for ASDM C++ Implementation by  doxygen 1.5.1