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

ModuleId Class Reference

#include <ModuleId.h>

List of all members.

Public Methods

 ModuleId (unsigned int id = 0)
 ModuleId (unsigned int ix, unsigned int iy)
int ix () const
int iy () const
bool neighbor (const ModuleId& n)
void write (std::ostream& out) const
void read (std::istream& in)
 operator unsigned int () const

Private Attributes

unsigned int m_id
unsigned int row
unsigned int col


Constructor & Destructor Documentation

ModuleId::ModuleId ( unsigned int id = 0 ) [inline]
 

Definition at line 41 of file ModuleId.h.

ModuleId::ModuleId ( unsigned int ix,
unsigned int iy ) [inline]
 

Definition at line 48 of file ModuleId.h.


Member Function Documentation

int ModuleId::ix ( ) const [inline]
 

Definition at line 54 of file ModuleId.h.

Referenced by neighbor().

int ModuleId::iy ( ) const [inline]
 

Definition at line 59 of file ModuleId.h.

Referenced by neighbor().

bool ModuleId::neighbor ( const ModuleId & n ) [inline]
 

Definition at line 64 of file ModuleId.h.

ModuleId::operator unsigned int ( ) const [inline]
 

Definition at line 32 of file ModuleId.h.

void ModuleId::read ( std::istream & in ) [inline]
 

Definition at line 74 of file ModuleId.h.

Referenced by operator>>().

void ModuleId::write ( std::ostream & out ) const [inline]
 

Definition at line 69 of file ModuleId.h.

Referenced by operator<<().


Member Data Documentation

unsigned int ModuleId::col [private]
 

Definition at line 36 of file ModuleId.h.

unsigned int ModuleId::m_id [private]
 

Definition at line 35 of file ModuleId.h.

unsigned int ModuleId::row [private]
 

Definition at line 36 of file ModuleId.h.


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