Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Linear_polymer_representation< ParticleTraits, MolecularCovalentStructure, ConformationType, DAMT >::Bond Class Reference

Representation of a bond between two atoms. More...

#include <Linear_polymer_representation.hpp>

Public Member Functions

const Atom & get_first_atom () const
 Access to the first atom in the bond.
const Atom & get_second_atom () const
 Access to the second atom in the bond.
FT get_bond_length () const
 Access to the length of the bond.

Detailed Description

template<class ParticleTraits, class MolecularCovalentStructure = SBL::CSB::T_Molecular_covalent_structure<SBL::CSB::T_Particle_info_biomolecules<ParticleTraits> >, class ConformationType = std::vector<SBL::CSB::EPIC_kernel_with_atom::FT>, class DAMT = std::map<void, boost::tuple<std::string, std::string, std::string, std::string>>>
class SBL::CSB::T_Linear_polymer_representation< ParticleTraits, MolecularCovalentStructure, ConformationType, DAMT >::Bond

Representation of a bond between two atoms.

Member Function Documentation

◆ get_bond_length()

template<class ParticleTraits, class MolecularCovalentStructure = SBL::CSB::T_Molecular_covalent_structure<SBL::CSB::T_Particle_info_biomolecules<ParticleTraits> >, class ConformationType = std::vector<SBL::CSB::EPIC_kernel_with_atom::FT>, class DAMT = std::map<void, boost::tuple<std::string, std::string, std::string, std::string>>>
FT get_bond_length ( ) const
inline

Access to the length of the bond.

◆ get_first_atom()

template<class ParticleTraits, class MolecularCovalentStructure = SBL::CSB::T_Molecular_covalent_structure<SBL::CSB::T_Particle_info_biomolecules<ParticleTraits> >, class ConformationType = std::vector<SBL::CSB::EPIC_kernel_with_atom::FT>, class DAMT = std::map<void, boost::tuple<std::string, std::string, std::string, std::string>>>
const Atom & get_first_atom ( ) const
inline

Access to the first atom in the bond.

◆ get_second_atom()

template<class ParticleTraits, class MolecularCovalentStructure = SBL::CSB::T_Molecular_covalent_structure<SBL::CSB::T_Particle_info_biomolecules<ParticleTraits> >, class ConformationType = std::vector<SBL::CSB::EPIC_kernel_with_atom::FT>, class DAMT = std::map<void, boost::tuple<std::string, std::string, std::string, std::string>>>
const Atom & get_second_atom ( ) const
inline

Access to the second atom in the bond.