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
pack
rotamer_set
symmetry
SymmetricRotamerSetFactory.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
// This file is part of the Rosetta software suite and is made available under license.
5
// The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
6
// (C) 199x-2009 Rosetta Commons participating institutions and developers.
7
// For more information, see http://www.rosettacommons.org/.
8
9
/// @file core/pack/rotamer_set/symmetry/SymmetricRotamerSetFactory.hh
10
/// @brief Residue Set Factory class for symmetric packing
11
/// @author Ingemar Andre
12
13
// Unit header
14
#include <
core/pack/rotamer_set/symmetry/SymmetricRotamerSetFactory.hh
>
15
16
// Package headers
17
#include <
core/pack/rotamer_set/symmetry/SymmetricRotamerSet_.hh
>
18
19
// Project headers
20
#include <
core/conformation/Residue.hh
>
21
22
#include <utility/exit.hh>
23
24
// STL Headers
25
#include <iostream>
26
27
#include <utility/vector1.hh>
28
29
30
namespace
core {
31
namespace
pack {
32
namespace
rotamer_set {
33
namespace
symmetry {
34
35
RotamerSetOP
36
SymmetricRotamerSetFactory::create_rotamer_set
(
conformation::Residue
const
& res )
37
{
38
if
( res.
is_protein
() )
// This check will be removed when we get rotamers for NAs and Ligands online
39
{
40
return
new
SymmetricRotamerSet_
();
41
}
42
else
43
{
44
//std::cout << "[ WARNING ] PB HACK -- SHOULD DIE HERE!" << std::endl; // seems OK?
45
return
new
SymmetricRotamerSet_
();
46
//utility_exit_with_message( "Error in RotamerSetFactory, unsupported packing object" ); // get backtrace in gdb
47
//exit(1); // add grace
48
//return new AminoAcidRotamerSet(); // appease compiler
49
}
50
}
51
52
}
53
}
54
}
55
}
Generated on Sat Jun 1 2013 11:33:46 for Rosetta 3.5 by
1.8.4