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

VolumeID Class Reference

#include <VolumeID.h>

List of all members.

Public Types

typedef unsigned long ID

Public Methods

 VolumeID ()
 Constructor. More...

 VolumeID ( ID value )
 ~VolumeID ()
 Destructor. More...

VolumeID operator= ( ID value )
ID volumeID () const
 Retrieve volume ID. More...

void setVolumeID ( unsigned long value )
 Update volume ID.

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


Private Attributes

ID m_volumeID

Friends

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

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

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


Detailed Description

Class: VolumeID Description: The base class for GLAST media volume identification Author: OZAKI Masanobu History: 2000-12-07 M.Ozaki : created

Definition at line 24 of file VolumeID.h.


Member Typedef Documentation

typedef unsigned long VolumeID::ID
 

Definition at line 26 of file VolumeID.h.


Constructor & Destructor Documentation

VolumeID::VolumeID ( ) [inline]
 

Constructor.

Definition at line 28 of file VolumeID.h.

Referenced by operator=().

VolumeID::VolumeID ( ID value ) [inline]
 

Definition at line 29 of file VolumeID.h.

VolumeID::~VolumeID ( ) [inline]
 

Destructor.

Definition at line 31 of file VolumeID.h.


Member Function Documentation

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

Fill the output stream (ASCII).

Definition at line 55 of file VolumeID.h.

Referenced by operator<<().

VolumeID VolumeID::operator= ( VolumeID::ID value ) [inline]
 

Definition at line 75 of file VolumeID.h.

void VolumeID::setVolumeID ( unsigned long value )
 

Update volume ID.

VolumeID::ID VolumeID::volumeID ( ) const [inline]
 

Retrieve volume ID.

Definition at line 81 of file VolumeID.h.


Friends And Related Function Documentation

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

Output operator(ASCII).

Definition at line 51 of file VolumeID.h.

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

Serialize the object for writing.

Definition at line 42 of file VolumeID.h.

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

Serialize the object for reading.

Definition at line 46 of file VolumeID.h.


Member Data Documentation

ID VolumeID::m_volumeID [private]
 

Definition at line 63 of file VolumeID.h.


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