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

ExclusionCheck Class Reference

#include <Molecule.h>

List of all members.

Public Member Functions

 ExclusionCheck ()
 ExclusionCheck (const ExclusionCheck &chk)
ExclusionCheckoperator= (const ExclusionCheck &chk)
 ~ExclusionCheck ()

Public Attributes

int32 min
int32 max
char * flags


Constructor & Destructor Documentation

ExclusionCheck::ExclusionCheck  )  [inline]
 

Definition at line 65 of file Molecule.h.

00065                   {
00066       min=0;
00067       max=-1;
00068       flags = NULL;
00069   }

ExclusionCheck::ExclusionCheck const ExclusionCheck chk  )  [inline]
 

Definition at line 70 of file Molecule.h.

References flags, max, and min.

00070                                            {
00071       min = chk.min;
00072       max = chk.max;
00073       if(max>min){ 
00074         flags = new char[max-min+1];
00075         memcpy(flags, chk.flags, sizeof(char)*(max-min+1));
00076       }
00077   }

ExclusionCheck::~ExclusionCheck  )  [inline]
 

Definition at line 89 of file Molecule.h.

00089                    {
00090       if(flags) delete [] flags;
00091   }


Member Function Documentation

ExclusionCheck& ExclusionCheck::operator= const ExclusionCheck chk  )  [inline]
 

Definition at line 78 of file Molecule.h.

References flags, max, and min.

00078                                                       {
00079     min = chk.min;
00080     max = chk.max;
00081     if(flags) delete [] flags;
00082     flags = NULL;
00083     if(max>min){
00084         flags = new char[max-min+1];
00085         memcpy(flags, chk.flags, sizeof(char)*(max-min+1));
00086     }
00087     return *this;
00088   }


Member Data Documentation

char* ExclusionCheck::flags
 

Definition at line 63 of file Molecule.h.

Referenced by dumpbench(), ExclusionCheck(), and operator=().

int32 ExclusionCheck::max
 

Definition at line 62 of file Molecule.h.

Referenced by dumpbench(), ExclusionCheck(), and operator=().

int32 ExclusionCheck::min
 

Definition at line 62 of file Molecule.h.

Referenced by dumpbench(), ExclusionCheck(), and operator=().


The documentation for this class was generated from the following file:
Generated on Sun Feb 12 04:08:02 2012 for NAMD by  doxygen 1.3.9.1