SimulatorSystemPositionRecord Class Reference

This class is used to carry the simulator's position record. More...

#include <SimulatorSystemPositionRecord.h>

List of all members.

Public Member Functions

 SimulatorSystemPositionRecord ()
 Default ctor.
 SimulatorSystemPositionRecord (const complex< float > &position)
 Construct an initialized object of this class.
 SimulatorSystemPositionRecord (const SimulatorSystemPositionRecord &rhs)
 Construct an initialized object of this class.
 ~SimulatorSystemPositionRecord ()
 Dtor.
SimulatorSystemPositionRecordoperator= (const SimulatorSystemPositionRecord &rhs)
 Set the value of this object to the reference.
bool operator== (const SimulatorSystemPositionRecord &rhs) const
 The equality operator.
bool operator!= (const SimulatorSystemPositionRecord &rhs) const
 The inequality operator.
off_t size () const
 Give the size of this object on the media.
ostream & operator<< (ostream &o)
 Stream the contents of the class.
bool write (ACE_FILE_IO &file)
 Write a data start record to media.
bool read (const ACE_FILE_IO &file)
 Read a data start record to media.


Detailed Description

This class is used to carry the simulator's position record.

Definition at line 17 of file SimulatorSystemPositionRecord.h.


Constructor & Destructor Documentation

SimulatorSystemPositionRecord::SimulatorSystemPositionRecord (  ) 

Default ctor.

SimulatorSystemPositionRecord::SimulatorSystemPositionRecord ( const complex< float > &  position  ) 

Construct an initialized object of this class.

Parameters:
depth The position argument of this object.

SimulatorSystemPositionRecord::SimulatorSystemPositionRecord ( const SimulatorSystemPositionRecord rhs  ) 

Construct an initialized object of this class.

Parameters:
rhs The reference object.

SimulatorSystemPositionRecord::~SimulatorSystemPositionRecord (  ) 

Dtor.


Member Function Documentation

SimulatorSystemPositionRecord& SimulatorSystemPositionRecord::operator= ( const SimulatorSystemPositionRecord rhs  ) 

Set the value of this object to the reference.

Parameters:
rhs The reference object.
Returns:
This object.

bool SimulatorSystemPositionRecord::operator== ( const SimulatorSystemPositionRecord rhs  )  const

The equality operator.

Parameters:
rhs The reference object.
Returns:
If this object is equal to the reference then return true.

bool SimulatorSystemPositionRecord::operator!= ( const SimulatorSystemPositionRecord rhs  )  const

The inequality operator.

Parameters:
rhs The reference object.
Returns:
If this object is not equal to the reference object then return true.

off_t SimulatorSystemPositionRecord::size (  )  const

Give the size of this object on the media.

Returns:
Object size in bytes.

ostream& SimulatorSystemPositionRecord::operator<< ( ostream &  o  ) 

Stream the contents of the class.

Parameters:
o The output stream.
Returns:
The outpur stream.

bool SimulatorSystemPositionRecord::write ( ACE_FILE_IO &  file  ) 

Write a data start record to media.

bool SimulatorSystemPositionRecord::read ( const ACE_FILE_IO &  file  ) 

Read a data start record to media.


The documentation for this class was generated from the following file: