NAMD
Public Member Functions | Public Attributes | List of all members
MovePatch Struct Reference

#include <PatchMgr.h>

Public Member Functions

 MovePatch (PatchID p=-1, NodeID n=-1)
 
 ~MovePatch ()
 
int operator< (MovePatch m)
 
int operator== (MovePatch m)
 

Public Attributes

NodeID nodeID
 
PatchID pid
 

Detailed Description

Definition at line 125 of file PatchMgr.h.

Constructor & Destructor Documentation

MovePatch::MovePatch ( PatchID  p = -1,
NodeID  n = -1 
)
inline

Definition at line 127 of file PatchMgr.h.

127 : nodeID(n), pid(p) {};
NodeID nodeID
Definition: PatchMgr.h:128
PatchID pid
Definition: PatchMgr.h:131
MovePatch::~MovePatch ( )
inline

Definition at line 128 of file PatchMgr.h.

128 {};

Member Function Documentation

int MovePatch::operator< ( MovePatch  m)
inline

Definition at line 133 of file PatchMgr.h.

References nodeID.

133  {
134  return ( nodeID < m.nodeID );
135  }
NodeID nodeID
Definition: PatchMgr.h:128
int MovePatch::operator== ( MovePatch  m)
inline

Definition at line 137 of file PatchMgr.h.

References nodeID.

137  {
138  return ( nodeID == m.nodeID );
139  }
NodeID nodeID
Definition: PatchMgr.h:128

Member Data Documentation

NodeID MovePatch::nodeID

Definition at line 128 of file PatchMgr.h.

Referenced by operator<(), and operator==().

PatchID MovePatch::pid

Definition at line 131 of file PatchMgr.h.


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