ClusterElem Struct Reference

#include <ParallelIOMgr.h>

List of all members.

Public Member Functions

 ClusterElem ()
 ClusterElem (int cid)
int hash () const
int operator== (const ClusterElem &a) const

Public Attributes

int clusterId
int atomsCnt


Detailed Description

Definition at line 101 of file ParallelIOMgr.h.


Constructor & Destructor Documentation

ClusterElem::ClusterElem (  )  [inline]

Definition at line 105 of file ParallelIOMgr.h.

00105 : clusterId(-1), atomsCnt(0) {}

ClusterElem::ClusterElem ( int  cid  )  [inline]

Definition at line 106 of file ParallelIOMgr.h.

00106 : clusterId(cid), atomsCnt(0) {}


Member Function Documentation

int ClusterElem::hash ( void   )  const [inline]

Definition at line 107 of file ParallelIOMgr.h.

References clusterId.

00107                      {
00108         return clusterId;
00109     }

int ClusterElem::operator== ( const ClusterElem a  )  const [inline]

Definition at line 110 of file ParallelIOMgr.h.

References clusterId.

00110                                                {
00111         return clusterId == a.clusterId;
00112     }


Member Data Documentation

int ClusterElem::atomsCnt

Definition at line 103 of file ParallelIOMgr.h.

Referenced by ParallelIOMgr::recvFinalClusterSize().

int ClusterElem::clusterId

Definition at line 102 of file ParallelIOMgr.h.

Referenced by hash(), operator==(), and ParallelIOMgr::recvFinalClusterSize().


The documentation for this struct was generated from the following file:
Generated on Thu Nov 23 01:17:16 2017 for NAMD by  doxygen 1.4.7