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
core
conformation
ResidueFactory.cc
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 src/core/conformation/ResidueFactory.cc
11
/// @brief
12
/// @author Andrew Leaver-Fay (aleaverfay@gmail.com)
13
14
// Unit Headers
15
#include <
core/conformation/ResidueFactory.hh
>
16
17
// The point of this class is to limit the number of files
18
// that #include Residue_
19
//
20
// now in flux
21
//
22
#include <
core/chemical/ResidueType.hh
>
23
#include <
core/conformation/Residue.hh
>
24
#include <
core/conformation/Conformation.fwd.hh
>
25
26
#include <utility/vector1.hh>
27
28
29
namespace
core {
30
namespace
conformation {
31
32
// ResidueTypeOP
33
// ResidueFactory::create_residue_type( chemical::AtomTypeSetCAP atom_types, chemical::MMAtomTypeSetCAP mm_atom_types )
34
// {
35
// return new ResidueType( atom_types, mm_atom_types );
36
// }
37
38
ResidueOP
39
ResidueFactory::create_residue
(
chemical::ResidueType
const
& rsd_type )
40
{
41
return
new
Residue
( rsd_type,
true
/* this superfluous arg to prevent type conversions */
);
42
}
43
44
ResidueOP
45
ResidueFactory::create_residue
(
46
chemical::ResidueType
const
& rsd_type,
47
Residue
const
& current_rsd,
48
Conformation
const
& conf,
49
bool
preserve_c_beta
50
)
51
{
52
return
new
Residue
( rsd_type, current_rsd, conf, preserve_c_beta );
53
}
54
55
}
// namespace conformation
56
}
// namespace core
Generated on Sat Jun 1 2013 11:32:28 for Rosetta 3.5 by
1.8.4