#include <BALL/MOLMEC/PARAMETER/templates.h>
|
| | Templates () |
| | Templates (const Templates &templates, bool deep=true) |
| virtual | ~Templates () |
| virtual void | clear () |
| virtual bool | extractSection (Parameters ¶meters, const String §ion_name) |
| float | getCharge (const String &name) const |
| String | getTypeName (const String &name) const |
| bool | has (const String &name) const |
| void | assign (System &system, bool overwrite_existing_typenames=true, bool overwrite_non_zero_charges=true) const |
| void | assignCharges (System &system, bool overwrite_non_zero_charges=true) const |
| void | assignTypeNames (System &system, bool overwrite_existing_typenames=true) const |
| | ParameterSection () |
| | ParameterSection (const ParameterSection ¶meter_section) |
| virtual | ~ParameterSection () |
| bool | extractSection (Parameters ¶meters, const String §ion_name) |
| const String & | getSectionName () const |
| const String & | getValue (const String &key, const String &variable) const |
| bool | has (const String &key, const String &variable) const |
| bool | has (const String &key) const |
| bool | hasVariable (const String &variable) const |
| Position | getColumnIndex (const String &variable) const |
| Size | getNumberOfVariables () const |
| Size | getNumberOfKeys () const |
| const String & | getValue (Position key_index, Position variable_index) const |
| const String & | getKey (Position key_index) const |
| const ParameterSection & | operator= (const ParameterSection §ion) |
| virtual bool | isValid () const |
| bool | operator== (const ParameterSection ¶meter_section) const |
Force Field Residue Template Class.
Definition at line 31 of file templates.h.
◆ Templates() [1/2]
| BALL::Templates::Templates |
( |
| ) |
|
◆ Templates() [2/2]
| BALL::Templates::Templates |
( |
const Templates & | templates, |
|
|
bool | deep = true ) |
◆ ~Templates()
| virtual BALL::Templates::~Templates |
( |
| ) |
|
|
virtual |
◆ assign()
| void BALL::Templates::assign |
( |
System & | system, |
|
|
bool | overwrite_existing_typenames = true, |
|
|
bool | overwrite_non_zero_charges = true ) const |
Assign charges and type names
◆ assignCharges()
| void BALL::Templates::assignCharges |
( |
System & | system, |
|
|
bool | overwrite_non_zero_charges = true ) const |
Assign charges and type names
◆ assignTypeNames()
| void BALL::Templates::assignTypeNames |
( |
System & | system, |
|
|
bool | overwrite_existing_typenames = true ) const |
◆ clear()
| virtual void BALL::Templates::clear |
( |
| ) |
|
|
virtual |
◆ extractSection()
| virtual bool BALL::Templates::extractSection |
( |
Parameters & | parameters, |
|
|
const String & | section_name ) |
|
virtual |
Parameter extraction Reads a parameter section from an INI file. This method reads the section given in section_name from ini_file, interprets (if given) a format line, reads the data from this section according to the format, and builds some datastructures for fast and easy acces this data. The section is typically entitled ChargesAndTypeNames.
◆ getCharge()
| float BALL::Templates::getCharge |
( |
const String & | name | ) |
const |
Returns the numeric type for a given string.
◆ getMaximumUnassignedAtoms()
| Size BALL::Templates::getMaximumUnassignedAtoms |
( |
| ) |
const |
Get the number of atoms, for which the assignment can fail, until the assign() methods aborts and return false.
◆ getNumberOfUnassignedAtoms()
| Size BALL::Templates::getNumberOfUnassignedAtoms |
( |
| ) |
const |
Get the number of atoms, for which the assignment failed.
◆ getTypeName()
| String BALL::Templates::getTypeName |
( |
const String & | name | ) |
const |
Returns the name for a given index
◆ getUnassignedAtoms()
| HashSet< const Atom * > & BALL::Templates::getUnassignedAtoms |
( |
| ) |
|
Get the atoms, for which the assignment failed.
◆ has()
| bool BALL::Templates::has |
( |
const String & | name | ) |
const |
Queries whether a given template atom is defined
◆ operator=()
Assignment operator. Copy the contents of templates into this residue template object.
- Parameters
-
| templates | the residue template object to be copied |
◆ setMaximumUnassignedAtoms()
| void BALL::Templates::setMaximumUnassignedAtoms |
( |
Size | nr | ) |
|
Set the number of atoms, for which the assignment can fail, until the assign() methods aborts and return false. By default, there is no limit set.
◆ charges_
◆ max_number_unassigned_atoms_
| Size BALL::Templates::max_number_unassigned_atoms_ |
|
protected |
◆ type_names_
◆ unassigned_atoms_
| HashSet<const Atom*> BALL::Templates::unassigned_atoms_ |
|
protected |