Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

ParticleID Class Reference

#include <ParticleID.h>

List of all members.

Public Methods

 ParticleID ( long id )
 Constructors. More...

 ParticleID ()
 ~ParticleID ()
 Destructor. More...

long id () const
 Retrieve particle identifiaction. More...

 operator long () const
 Retrieve particle identifiaction. More...

void setID (long value)
 Update particle identifiaction. More...

std::ostream& fillStream ( std::ostream& s ) const
 Fill the output stream (ASCII). More...


Private Attributes

long m_id
 Particle identifiaction number. More...


Friends

StreamBuffer& operator<< ( StreamBuffer& s, const ParticleID& obj )
 Serialize the object for writing. More...

StreamBuffer& operator>> ( StreamBuffer& s, ParticleID& obj )
 Serialize the object for reading. More...

std::ostream& operator<< ( std::ostream& s, const ParticleID& obj )
 Output operator(ASCII). More...


Constructor & Destructor Documentation

ParticleID::ParticleID ( long id ) [inline]
 

Constructors.

Definition at line 30 of file ParticleID.h.

ParticleID::ParticleID ( ) [inline]
 

Definition at line 32 of file ParticleID.h.

ParticleID::~ParticleID ( ) [inline]
 

Destructor.

Definition at line 35 of file ParticleID.h.


Member Function Documentation

std::ostream & ParticleID::fillStream ( std::ostream & s ) const [inline]
 

Fill the output stream (ASCII).

Definition at line 63 of file ParticleID.h.

Referenced by operator<<().

long ParticleID::id ( ) const [inline]
 

Retrieve particle identifiaction.

Definition at line 38 of file ParticleID.h.

ParticleID::operator long ( ) const [inline]
 

Retrieve particle identifiaction.

Definition at line 42 of file ParticleID.h.

void ParticleID::setID ( long value ) [inline]
 

Update particle identifiaction.

Definition at line 45 of file ParticleID.h.


Friends And Related Function Documentation

std::ostream & operator<< ( std::ostream & s,
const ParticleID & obj ) [friend]
 

Output operator(ASCII).

Definition at line 59 of file ParticleID.h.

StreamBuffer & operator<< ( StreamBuffer & s,
const ParticleID & obj ) [friend]
 

Serialize the object for writing.

Definition at line 50 of file ParticleID.h.

StreamBuffer & operator>> ( StreamBuffer & s,
ParticleID & obj ) [friend]
 

Serialize the object for reading.

Definition at line 54 of file ParticleID.h.


Member Data Documentation

long ParticleID::m_id [private]
 

Particle identifiaction number.

Definition at line 72 of file ParticleID.h.


The documentation for this class was generated from the following file:
Generated at Wed Nov 21 12:22:53 2001 by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000