Rosetta  2021.16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
protocols::noesy_assign::CovalentCompliance Class Reference

WARNING WARNING WARNING THIS SINGLETON CLASS HOLDS NON-CONST JOB-SPECIFIC DATA AND MAKES EVERYTHING THAT RELIES ON IT THREAD-UNSAFE. THIS IS NOT HOW SINGLETONS SHOULD BE USED. More...

#include <CovalentCompliance.hh>

Inheritance diagram for protocols::noesy_assign::CovalentCompliance:
Inheritance graph
[legend]

Public Member Functions

void load_dist_table (std::string const &file)
 This is clearly thread-unsafe. More...
 
bool is_compliant (core::id::NamedAtomID const &atom1, core::id::NamedAtomID const &atom2, core::Real cutoff=5.0) const
 
core::Real distance (core::id::NamedAtomID const &atom1, core::id::NamedAtomID const &atom2) const
 

Private Member Functions

 CovalentCompliance ()
 Private constructor for singleton class. More...
 

Private Attributes

FragsToAtomDistOP covalent_distances_
 

Friends

class utility::SingletonBase< CovalentCompliance >
 

Detailed Description

WARNING WARNING WARNING THIS SINGLETON CLASS HOLDS NON-CONST JOB-SPECIFIC DATA AND MAKES EVERYTHING THAT RELIES ON IT THREAD-UNSAFE. THIS IS NOT HOW SINGLETONS SHOULD BE USED.

Constructor & Destructor Documentation

protocols::noesy_assign::CovalentCompliance::CovalentCompliance ( )
private

Private constructor for singleton class.

Member Function Documentation

core::Real protocols::noesy_assign::CovalentCompliance::distance ( core::id::NamedAtomID const &  atom1,
core::id::NamedAtomID const &  atom2 
) const
bool protocols::noesy_assign::CovalentCompliance::is_compliant ( core::id::NamedAtomID const &  atom1,
core::id::NamedAtomID const &  atom2,
core::Real  cutoff = 5.0 
) const
void protocols::noesy_assign::CovalentCompliance::load_dist_table ( std::string const &  file)

This is clearly thread-unsafe.

WARNING WARNING WARNING! THREAD UNSAFE!

References covalent_distances_.

Friends And Related Function Documentation

friend class utility::SingletonBase< CovalentCompliance >
friend

Member Data Documentation

FragsToAtomDistOP protocols::noesy_assign::CovalentCompliance::covalent_distances_
private

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