IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
The Integrative Modeling Platform
IMP::atom::CHARMMResidueTopologyBase Class Reference

Base class for all CHARMM residue-based topology. More...

#include <IMP/atom/charmm_topology.h>

Inheritance diagram for IMP::atom::CHARMMResidueTopologyBase:

Detailed Description

Base class for all CHARMM residue-based topology.

Definition at line 252 of file charmm_topology.h.

Public Member Functions

void add_angle (const CHARMMAngle &bond)
void add_atom (const CHARMMAtomTopology &atom)
void add_bond (const CHARMMBond &bond)
void add_dihedral (const CHARMMDihedral &bond)
void add_improper (const CHARMMDihedral &bond)
void add_internal_coordinate (const CHARMMInternalCoordinate &ic)
const CHARMMAngle & get_angle (unsigned int index) const
const CHARMMAtomTopology & get_atom (AtomType type) const
const CHARMMAtomTopology & get_atom (std::string name) const
const CHARMMAtomTopology & get_atom (unsigned int i) const
const CHARMMBond & get_bond (unsigned int index) const
const CHARMMDihedral & get_dihedral (unsigned int index) const
const CHARMMDihedral & get_improper (unsigned int index) const
const CHARMMInternalCoordinate & get_internal_coordinate (unsigned int index) const
unsigned int get_number_of_angles () const
unsigned int get_number_of_atoms () const
unsigned int get_number_of_bonds () const
unsigned int get_number_of_dihedrals () const
unsigned int get_number_of_impropers () const
unsigned int get_number_of_internal_coordinates () const
std::string get_type () const
virtual std::string get_type_name () const override
virtual ::IMP::VersionInfo get_version_info () const override
 Get information about the module and version of the object.
Public Member Functions inherited from IMP::Object
CheckLevel get_check_level () const
 get_derived_object (self)
 Return this object cast to the most derived subclass.
LogLevel get_log_level () const
void set_check_level (CheckLevel l)
void set_log_level (LogLevel l)
 Set the logging level used in this object.
const std::string & get_name () const
 Get the (not necessarily unique) name of this object.
void set_name (std::string name)
void set_was_used (bool tf) const
void show (std::ostream &out=std::cout) const
virtual void clear_caches ()

Protected Member Functions

 CHARMMResidueTopologyBase (std::string type)
Protected Member Functions inherited from IMP::Object
 Object (std::string name)
 Construct an object with the given name.
virtual void do_destroy ()

Protected Attributes

CHARMMAngles angles_
Vector< CHARMMAtomTopology > atoms_
CHARMMBonds bonds_
CHARMMDihedrals dihedrals_
CHARMMDihedrals impropers_
CHARMMInternalCoordinates internal_coordinates_

Constructor & Destructor Documentation

◆ CHARMMResidueTopologyBase()

IMP::atom::CHARMMResidueTopologyBase::CHARMMResidueTopologyBase ( std::string type)
protected

Definition at line 263 of file charmm_topology.h.

◆ ~CHARMMResidueTopologyBase()

virtual IMP::atom::CHARMMResidueTopologyBase::~CHARMMResidueTopologyBase ( )
virtual

Definition at line 331 of file charmm_topology.h.

Member Function Documentation

◆ add_angle()

void IMP::atom::CHARMMResidueTopologyBase::add_angle ( const CHARMMAngle & bond)

Definition at line 292 of file charmm_topology.h.

◆ add_bond()

void IMP::atom::CHARMMResidueTopologyBase::add_bond ( const CHARMMBond & bond)

Definition at line 285 of file charmm_topology.h.

◆ add_dihedral()

void IMP::atom::CHARMMResidueTopologyBase::add_dihedral ( const CHARMMDihedral & bond)

Definition at line 298 of file charmm_topology.h.

◆ add_improper()

void IMP::atom::CHARMMResidueTopologyBase::add_improper ( const CHARMMDihedral & bond)

Definition at line 304 of file charmm_topology.h.

◆ add_internal_coordinate()

void IMP::atom::CHARMMResidueTopologyBase::add_internal_coordinate ( const CHARMMInternalCoordinate & ic)

Definition at line 312 of file charmm_topology.h.

◆ get_angle()

const CHARMMAngle & IMP::atom::CHARMMResidueTopologyBase::get_angle ( unsigned int index) const

Definition at line 321 of file charmm_topology.h.

◆ get_atom() [1/2]

const CHARMMAtomTopology & IMP::atom::CHARMMResidueTopologyBase::get_atom ( AtomType type) const

Definition at line 278 of file charmm_topology.h.

◆ get_atom() [2/2]

const CHARMMAtomTopology & IMP::atom::CHARMMResidueTopologyBase::get_atom ( unsigned int i) const

Definition at line 272 of file charmm_topology.h.

◆ get_bond()

const CHARMMBond & IMP::atom::CHARMMResidueTopologyBase::get_bond ( unsigned int index) const

Definition at line 320 of file charmm_topology.h.

◆ get_dihedral()

const CHARMMDihedral & IMP::atom::CHARMMResidueTopologyBase::get_dihedral ( unsigned int index) const

Definition at line 324 of file charmm_topology.h.

◆ get_improper()

const CHARMMDihedral & IMP::atom::CHARMMResidueTopologyBase::get_improper ( unsigned int index) const

Definition at line 327 of file charmm_topology.h.

◆ get_internal_coordinate()

const CHARMMInternalCoordinate & IMP::atom::CHARMMResidueTopologyBase::get_internal_coordinate ( unsigned int index) const

Definition at line 315 of file charmm_topology.h.

◆ get_number_of_angles()

unsigned int IMP::atom::CHARMMResidueTopologyBase::get_number_of_angles ( ) const

Definition at line 291 of file charmm_topology.h.

◆ get_number_of_atoms()

unsigned int IMP::atom::CHARMMResidueTopologyBase::get_number_of_atoms ( ) const

Definition at line 271 of file charmm_topology.h.

◆ get_number_of_bonds()

unsigned int IMP::atom::CHARMMResidueTopologyBase::get_number_of_bonds ( ) const

Definition at line 284 of file charmm_topology.h.

◆ get_number_of_dihedrals()

unsigned int IMP::atom::CHARMMResidueTopologyBase::get_number_of_dihedrals ( ) const

Definition at line 297 of file charmm_topology.h.

◆ get_number_of_impropers()

unsigned int IMP::atom::CHARMMResidueTopologyBase::get_number_of_impropers ( ) const

Definition at line 303 of file charmm_topology.h.

◆ get_number_of_internal_coordinates()

unsigned int IMP::atom::CHARMMResidueTopologyBase::get_number_of_internal_coordinates ( ) const

Definition at line 309 of file charmm_topology.h.

◆ get_type()

std::string IMP::atom::CHARMMResidueTopologyBase::get_type ( ) const

Definition at line 269 of file charmm_topology.h.

◆ get_type_name()

virtual std::string IMP::atom::CHARMMResidueTopologyBase::get_type_name ( ) const
overridevirtual

Reimplemented from IMP::Object.

Definition at line 331 of file charmm_topology.h.

◆ get_version_info()

virtual ::IMP::VersionInfo IMP::atom::CHARMMResidueTopologyBase::get_version_info ( ) const
overridevirtual

Get information about the module and version of the object.

Reimplemented from IMP::Object.

Reimplemented in IMP::atom::CHARMMIdealResidueTopology, IMP::atom::CHARMMPatch, and IMP::atom::CHARMMResidueTopology.

Definition at line 331 of file charmm_topology.h.

Member Data Documentation

◆ angles_

CHARMMAngles IMP::atom::CHARMMResidueTopologyBase::angles_
protected

Definition at line 258 of file charmm_topology.h.

◆ atoms_

Vector<CHARMMAtomTopology> IMP::atom::CHARMMResidueTopologyBase::atoms_
protected

Definition at line 256 of file charmm_topology.h.

◆ bonds_

CHARMMBonds IMP::atom::CHARMMResidueTopologyBase::bonds_
protected

Definition at line 257 of file charmm_topology.h.

◆ dihedrals_

CHARMMDihedrals IMP::atom::CHARMMResidueTopologyBase::dihedrals_
protected

Definition at line 259 of file charmm_topology.h.

◆ impropers_

CHARMMDihedrals IMP::atom::CHARMMResidueTopologyBase::impropers_
protected

Definition at line 260 of file charmm_topology.h.

◆ internal_coordinates_

CHARMMInternalCoordinates IMP::atom::CHARMMResidueTopologyBase::internal_coordinates_
protected

Definition at line 261 of file charmm_topology.h.


The documentation for this class was generated from the following file: