Chemical Data Processing Library C++ API - Version 1.1.1
Namespaces | Functions
Biomol/AtomFunctions.hpp File Reference

Declaration of functions that operate on Chem::Atom instances. More...

#include <cstddef>
#include <string>
#include "CDPL/Biomol/APIPrefix.hpp"
#include "CDPL/Biomol/ProcessingFlags.hpp"
#include "CDPL/Biomol/AtomPropertyFlag.hpp"

Go to the source code of this file.

Namespaces

 CDPL
 The namespace of the Chemical Data Processing Library.
 
 CDPL::Chem
 Contains classes and functions related to chemistry.
 
 CDPL::Biomol
 Contains classes and functions related to biological macromolecules.
 

Functions

CDPL_BIOMOL_API const std::string & CDPL::Biomol::getResidueAtomName (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setResidueAtomName (Chem::Atom &atom, const std::string &name)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearResidueAtomName (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasResidueAtomName (const Chem::Atom &atom)
 
CDPL_BIOMOL_API const std::string & CDPL::Biomol::getResidueAltAtomName (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setResidueAltAtomName (Chem::Atom &atom, const std::string &name)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearResidueAltAtomName (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasResidueAltAtomName (const Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::getResidueLeavingAtomFlag (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setResidueLeavingAtomFlag (Chem::Atom &atom, bool leaving)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearResidueLeavingAtomFlag (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasResidueLeavingAtomFlag (const Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::getResidueLinkingAtomFlag (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setResidueLinkingAtomFlag (Chem::Atom &atom, bool linking)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearResidueLinkingAtomFlag (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasResidueLinkingAtomFlag (const Chem::Atom &atom)
 
CDPL_BIOMOL_API const std::string & CDPL::Biomol::getResidueCode (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setResidueCode (Chem::Atom &atom, const std::string &code)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearResidueCode (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasResidueCode (const Chem::Atom &atom)
 
CDPL_BIOMOL_API long CDPL::Biomol::getResidueSequenceNumber (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setResidueSequenceNumber (Chem::Atom &atom, long seq_no)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearResidueSequenceNumber (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasResidueSequenceNumber (const Chem::Atom &atom)
 
CDPL_BIOMOL_API char CDPL::Biomol::getResidueInsertionCode (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setResidueInsertionCode (Chem::Atom &atom, char code)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearResidueInsertionCode (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasResidueInsertionCode (const Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::getHeteroAtomFlag (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setHeteroAtomFlag (Chem::Atom &atom, bool is_het)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearHeteroAtomFlag (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasHeteroAtomFlag (const Chem::Atom &atom)
 
CDPL_BIOMOL_API const std::string & CDPL::Biomol::getChainID (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setChainID (Chem::Atom &atom, const std::string &id)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearChainID (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasChainID (const Chem::Atom &atom)
 
CDPL_BIOMOL_API char CDPL::Biomol::getAltLocationID (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setAltLocationID (Chem::Atom &atom, char id)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearAltLocationID (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasAltLocationID (const Chem::Atom &atom)
 
CDPL_BIOMOL_API std::size_t CDPL::Biomol::getModelNumber (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setModelNumber (Chem::Atom &atom, std::size_t model_no)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearModelNumber (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasModelNumber (const Chem::Atom &atom)
 
CDPL_BIOMOL_API long CDPL::Biomol::getSerialNumber (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setSerialNumber (Chem::Atom &atom, long serial_no)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearSerialNumber (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasSerialNumber (const Chem::Atom &atom)
 
CDPL_BIOMOL_API double CDPL::Biomol::getOccupancy (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setOccupancy (Chem::Atom &atom, double occupancy)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearOccupancy (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasOccupancy (const Chem::Atom &atom)
 
CDPL_BIOMOL_API double CDPL::Biomol::getBFactor (const Chem::Atom &atom)
 
CDPL_BIOMOL_API void CDPL::Biomol::setBFactor (Chem::Atom &atom, double factor)
 
CDPL_BIOMOL_API void CDPL::Biomol::clearBFactor (Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::hasBFactor (const Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::isPDBBackboneAtom (const Chem::Atom &atom)
 
CDPL_BIOMOL_API bool CDPL::Biomol::matchesResidueInfo (const Chem::Atom &atom, const char *res_code=0, const char *chain_id=0, long res_seq_no=IGNORE_SEQUENCE_NO, char ins_code=0, std::size_t model_no=0, const char *atom_name=0, long serial_no=IGNORE_SERIAL_NO)
 
CDPL_BIOMOL_API bool CDPL::Biomol::areInSameResidue (const Chem::Atom &atom1, const Chem::Atom &atom2, unsigned int flags=AtomPropertyFlag::DEFAULT)
 
CDPL_BIOMOL_API void CDPL::Biomol::extractResidueSubstructure (const Chem::Atom &atom, const Chem::MolecularGraph &molgraph, Chem::Fragment &res_substruct, bool cnctd_only=false, unsigned int flags=AtomPropertyFlag::DEFAULT, bool append=false)
 

Detailed Description

Declaration of functions that operate on Chem::Atom instances.