BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
BALL::AssignBaseProcessor Class Reference

Only used for deriving interface. More...

#include <BALL/MOLMEC/COMMON/assignTypes.h>

Inheritance diagram for BALL::AssignBaseProcessor:
BALL::UnaryProcessor< Atom > BALL::UnaryFunctor< Atom, Processor::Result > BALL::AssignTypeNameProcessor BALL::AssignTypeProcessor

Public Member Functions

 AssignBaseProcessor ()
 
void setMaximumUnassignedAtoms (Size nr)
 
Size getMaximumUnassignedAtoms () const
 
Size getNumberOfUnassignedAtoms () const
 Get the number of atoms, for which the force field setup failed. More...
 
HashSet< const Atom * > & getUnassignedAtoms ()
 Get the atoms, for which the force field setup failed. More...
 
- Public Member Functions inherited from BALL::UnaryProcessor< Atom >
 UnaryProcessor ()
 
 UnaryProcessor (const UnaryProcessor &)
 
virtual ~UnaryProcessor ()
 
virtual bool start ()
 
virtual bool finish ()
 
virtual Processor::Result operator() (Atom &)
 

Protected Attributes

HashSet< const Atom * > unassigned_atoms_
 
Size max_number_unassigned_atoms_
 

Additional Inherited Members

- Public Types inherited from BALL::UnaryFunctor< Atom, Processor::Result >
typedef Processor::Result result_type
 
typedef Atom argument_type
 
typedef Atomargument_reference
 
typedef const Atomconst_argument_reference
 
typedef Atomargument_pointer
 
typedef const Atomconst_argument_pointer
 

Detailed Description

Only used for deriving interface.

Definition at line 25 of file assignTypes.h.

Constructor & Destructor Documentation

BALL::AssignBaseProcessor::AssignBaseProcessor ( )

Member Function Documentation

Size BALL::AssignBaseProcessor::getMaximumUnassignedAtoms ( ) const

Get the number of atoms, for which the setup of the forcefield can fail, until the setup() methods aborts and return false.

Size BALL::AssignBaseProcessor::getNumberOfUnassignedAtoms ( ) const

Get the number of atoms, for which the force field setup failed.

HashSet<const Atom*>& BALL::AssignBaseProcessor::getUnassignedAtoms ( )

Get the atoms, for which the force field setup failed.

void BALL::AssignBaseProcessor::setMaximumUnassignedAtoms ( Size  nr)

Set the number of atoms, for which the setup of the forcefield can fail, until the setup() methods aborts and return false. By default, there is no limit set.

Member Data Documentation

Size BALL::AssignBaseProcessor::max_number_unassigned_atoms_
protected

Definition at line 56 of file assignTypes.h.

HashSet<const Atom*> BALL::AssignBaseProcessor::unassigned_atoms_
protected

Definition at line 53 of file assignTypes.h.