Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

AtomList Class Reference

Class to define a list of atoms. More...

#include <haatgroup.h>

Inheritance diagram for AtomList:

AtomCollection PointCollection ChemGroup HaResidue List of all members.

Public Member Functions

 AtomList (const AtomList &ref_atset)
 AtomList (Expr *expr, HaMolSet *pmset)
virtual AtomIteratorGetAtomIterator ()
 get atom iterator for a given atom collection

virtual int GetNAtoms () const
 Return the number of atoms in the list.

bool InsertAtom (HaAtom *aptr)
 Insert Atom into Atom List.

bool DeleteAtom (HaAtom *aptr)
 Delete Atom from the Atom List.

int DelSelAtoms ()
 Delete Selected Atoms from the Atom List, return number of atoms deleted.

void BuildFrom (Expr *expr, HaMolSet *pmset)
 Build Atom Set from logical expression.

virtual int IsMember (const HaAtom *aptr) const
 Check if the atom is a member of the set.

HaAtomGetFirstAtom ()
HaAtomGetNextAtom ()
const char * GetID () const
 Return Group ID.

void SetID (const HaString &new_id)
 Set ID of the Atom Set.

virtual PointIteratorGetPointIterator ()
 create Point Interator and return pointer (should be deleted when done)

virtual int GetPtNum ()
 Get total of number of points in the collection.


Public Attributes

list< HaAtom * >::iterator CurAtomItr
HaString id

Detailed Description

Class to define a list of atoms.


The documentation for this class was generated from the following files:
Generated on Tue Feb 17 02:03:13 2004 for harlem by doxygen 1.3.6