NAMD
Public Member Functions | Public Attributes | List of all members
HomePatchElem Class Reference

#include <HomePatchList.h>

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
 

Detailed Description

Definition at line 20 of file HomePatchList.h.

Constructor & Destructor Documentation

HomePatchElem::HomePatchElem ( PatchID  id = -1,
HomePatch p = NULL 
)
inline

Definition at line 28 of file HomePatchList.h.

28 : pid(id), patch(p) {};
HomePatch * patch
Definition: HomePatchList.h:23
HomePatchElem::~HomePatchElem ( )
inline

Definition at line 29 of file HomePatchList.h.

29 { };

Member Function Documentation

int HomePatchElem::operator< ( HomePatchElem  e)
inline

Definition at line 25 of file HomePatchList.h.

References pid.

25 { return (pid < e.pid); }
HomePatchElem& HomePatchElem::operator= ( const HomePatchElem e)
inline

Definition at line 30 of file HomePatchList.h.

References patch, and pid.

30  {
31  pid = e.pid;
32  patch = e.patch; // Do not delete patch! This op only used to shuffle
33  // we delete the patch here only when the HomePatch is
34  // moved off!
35  return(*this);
36  };
HomePatch * patch
Definition: HomePatchList.h:23
int HomePatchElem::operator== ( HomePatchElem  e)
inline

Definition at line 26 of file HomePatchList.h.

References pid.

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

Member Data Documentation

HomePatch* HomePatchElem::patch

Definition at line 23 of file HomePatchList.h.

Referenced by operator=(), 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: