Rosetta 3.5
Main Page
Related Pages
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Pages
src
protocols
noesy_assign
CovalentCompliance.hh
Go to the documentation of this file.
1
// -*- mode:c++;tab-width:2;indent-tabs-mode:t;show-trailing-whitespace:t;rm-trailing-spaces:t -*-
2
// vi: set ts=2 noet:
3
//
4
// (c) Copyright Rosetta Commons Member Institutions.
5
// (c) This file is part of the Rosetta software suite and is made available under license.
6
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
7
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
8
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
9
10
/// @file protocols/noesy_assign/CovalentCompliance.hh
11
/// @author Oliver Lange
12
13
#ifndef INCLUDED_protocols_noesy_assign_CovalentCompliance_HH
14
#define INCLUDED_protocols_noesy_assign_CovalentCompliance_HH
15
16
17
// Unit Headers
18
//#include <protocols/noesy_assign/CovalentCompliance.fwd.hh>
19
20
// Package Headers
21
#include <
protocols/noesy_assign/FragsToAtomDist.hh
>
22
23
// Project Headers
24
#include <
core/types.hh
>
25
#include <
core/id/NamedAtomID.hh
>
26
27
// Utility headers
28
29
// C++ headers
30
#include <string>
31
32
namespace
protocols {
33
namespace
noesy_assign {
34
35
class
CovalentCompliance
{
36
private
:
37
//Singleton Class
38
CovalentCompliance
();
39
40
public
:
41
static
CovalentCompliance
const
*
get_instance
();
42
static
CovalentCompliance
*
get_nonconst_instance
();
43
void
load_dist_table
(
std::string
const
& file );
44
bool
is_compliant
(
core::id::NamedAtomID
const
& atom1,
core::id::NamedAtomID
const
& atom2,
core::Real
cutoff = 5.0 )
const
;
45
core::Real
distance
(
core::id::NamedAtomID
const
& atom1,
core::id::NamedAtomID
const
& atom2 )
const
;
46
47
private
:
48
static
CovalentCompliance
*
instance_
;
49
FragsToAtomDistOP
covalent_distances_
;
50
};
51
52
}
53
}
54
#endif
Generated on Sat Jun 1 2013 12:00:47 for Rosetta 3.5 by
1.8.4