MovePatch Struct Reference

#include <PatchMgr.h>

List of all members.

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.

00127 : nodeID(n), pid(p) {};

MovePatch::~MovePatch (  )  [inline]

Definition at line 128 of file PatchMgr.h.

00128 {};


Member Function Documentation

int MovePatch::operator< ( MovePatch  m  )  [inline]

Definition at line 133 of file PatchMgr.h.

References nodeID.

00133                                {
00134       return ( nodeID < m.nodeID );
00135     }

int MovePatch::operator== ( MovePatch  m  )  [inline]

Definition at line 137 of file PatchMgr.h.

References nodeID.

00137                                 {
00138       return ( nodeID == m.nodeID );
00139     }


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:
Generated on Sun Sep 24 01:17:18 2017 for NAMD by  doxygen 1.4.7