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

GenericAtom Class Reference

#include <GromacsTopFile.h>

List of all members.

Public Member Functions

 GenericAtom (const char *theType, int theTypeNum, int theResNum, const char *theResType, const char *theAtomName, Real theCharge, Real theMass)
const char * getType () const
int getTypeNum () const
int getResNum () const
const char * getResType () const
const char * getAtomName () const
Real getCharge () const
Real getMass () const


Constructor & Destructor Documentation

GenericAtom::GenericAtom const char *  theType,
int  theTypeNum,
int  theResNum,
const char *  theResType,
const char *  theAtomName,
Real  theCharge,
Real  theMass
 

Definition at line 671 of file GromacsTopFile.C.

References NAMESIZE.

00673                                                        {
00674   strncpy(type,theType,NAMESIZE+1);
00675   typeNum = theTypeNum;
00676   resNum = theResNum;
00677   strncpy(resType,theResType,NAMESIZE+1);
00678   strncpy(atomName,theAtomName,NAMESIZE+1);
00679   charge = theCharge;
00680   mass = theMass;
00681 }


Member Function Documentation

const char* GenericAtom::getAtomName  )  const [inline]
 

Definition at line 104 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getAtom().

00104 {return atomName;}

Real GenericAtom::getCharge  )  const [inline]
 

Definition at line 105 of file GromacsTopFile.h.

References Real.

Referenced by GromacsTopFile::getAtom().

00105 {return charge;}

Real GenericAtom::getMass  )  const [inline]
 

Definition at line 106 of file GromacsTopFile.h.

References Real.

Referenced by GromacsTopFile::getAtom().

00106 {return mass;}

int GenericAtom::getResNum  )  const [inline]
 

Definition at line 102 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getAtom().

00102 {return resNum;}

const char* GenericAtom::getResType  )  const [inline]
 

Definition at line 103 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getAtom().

00103 {return resType;}

const char* GenericAtom::getType  )  const [inline]
 

Definition at line 100 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getAtom().

00100 { return type; }

int GenericAtom::getTypeNum  )  const [inline]
 

Definition at line 101 of file GromacsTopFile.h.

Referenced by GromacsTopFile::getAtom().

00101 { return typeNum; }


The documentation for this class was generated from the following files:
Generated on Fri Aug 29 04:07:43 2008 for NAMD by  doxygen 1.3.9.1