Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

HomePatchElem Class Reference

#include <HomePatchList.h>

List of all members.

Public Member Functions

int operator< (HomePatchElem e)
int operator== (HomePatchElem e)
 HomePatchElem (PatchID id=-1, HomePatch *p=NULL)
 ~HomePatchElem ()
HomePatchElemoperator= (const HomePatchElem &e)

Public Attributes

PatchID pid
HomePatchpatch


Constructor & Destructor Documentation

HomePatchElem::HomePatchElem PatchID  id = -1,
HomePatch p = NULL
[inline]
 

Definition at line 28 of file HomePatchList.h.

00028 : pid(id), patch(p) {};

HomePatchElem::~HomePatchElem  )  [inline]
 

Definition at line 29 of file HomePatchList.h.

00029 { };


Member Function Documentation

int HomePatchElem::operator< HomePatchElem  e  )  [inline]
 

Definition at line 25 of file HomePatchList.h.

References pid.

00025 { return (pid < e.pid); }

HomePatchElem& HomePatchElem::operator= const HomePatchElem e  )  [inline]
 

Definition at line 30 of file HomePatchList.h.

References patch, and pid.

00030                                                    { 
00031     pid = e.pid; 
00032     patch = e.patch;  // Do not delete patch!  This op only used to shuffle
00033                       // we delete the patch here only when the HomePatch is 
00034                       // moved off!
00035     return(*this);
00036   };

int HomePatchElem::operator== HomePatchElem  e  )  [inline]
 

Definition at line 26 of file HomePatchList.h.

References pid.

00026 { return (pid == e.pid); }


Member Data Documentation

HomePatch* HomePatchElem::patch
 

Definition at line 23 of file HomePatchList.h.

Referenced by PatchMgr::homePatch(), PatchMgr::moveAllBy(), operator=(), PatchMgr::setLattice(), and PatchMgr::~PatchMgr().

PatchID HomePatchElem::pid
 

Definition at line 22 of file HomePatchList.h.

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


The documentation for this class was generated from the following file:
Generated on Fri Sep 5 04:07:18 2008 for NAMD by  doxygen 1.3.9.1