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
chemical
ResidueLoaderOptions.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
// :noTabs=false:tabSize=4:indentSize=4:
4
//
5
// (c) Copyright Rosetta Commons Member Institutions.
6
// (c) This file is part of the Rosetta software suite and is made available under license.
7
// (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
8
// (c) For more information, see http://www.rosettacommons.org. Questions about this can be
9
// (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
10
11
/// @file core/chemical/ResidueLoaderOptions.cc
12
/// @brief forward headers for the Residue Loader Options
13
/// @author Sam DeLuca
14
15
#include <
core/chemical/ResidueLoaderOptions.hh
>
16
#include <
core/chemical/ResidueLoaderOptionsCreator.hh
>
17
18
//utility headers
19
#include <utility/tag/Tag.hh>
20
21
namespace
core {
22
namespace
chemical {
23
24
std::string
ResidueLoaderOptionsCreator::options_type
()
const
25
{
26
return
"ResidueLoaderOptions"
;
27
}
28
29
basic::resource_manager::ResourceOptionsOP
ResidueLoaderOptionsCreator::create_options
()
const
30
{
31
return
new
ResidueLoaderOptions
;
32
}
33
34
35
ResidueLoaderOptions::ResidueLoaderOptions
() :
36
atom_type_set_tag_(
"fa_standard"
),
37
mm_atom_type_set_tag_(
"fa_standard"
),
38
element_set_tag_(
"fa_standard"
),
39
residue_type_set_tag_(
"fa_standard"
),
40
orbital_set_tag_(
"fa_standard"
)
41
{
42
43
}
44
45
void
ResidueLoaderOptions::parse_my_tag
(
46
utility::tag::TagPtr
tag
47
)
48
{
49
50
atom_type_set_tag_
= tag->getOption<
std::string
>(
"atom_type_set_tag"
,
"fa_standard"
);
51
mm_atom_type_set_tag_
= tag->getOption<
std::string
>(
"mm_atom_type_set_tag"
,
"fa_standard"
);
52
element_set_tag_
= tag->getOption<
std::string
>(
"element_set_tag"
,
"fa_standard"
);
53
residue_type_set_tag_
= tag->getOption<
std::string
>(
"residue_type_set_tag"
,
"fa_standard"
);
54
orbital_set_tag_
= tag->getOption<
std::string
>(
"residue_type_set_tag"
,
"fa_standard"
);
55
}
56
57
std::string
ResidueLoaderOptions::type
()
const
58
{
59
return
"ResidueLoaderOptions"
;
60
}
61
62
std::string
ResidueLoaderOptions::atom_type_set_tag
()
const
63
{
64
return
atom_type_set_tag_
;
65
}
66
67
std::string
ResidueLoaderOptions::mm_atom_type_set_tag
()
const
68
{
69
return
mm_atom_type_set_tag_
;
70
}
71
72
std::string
ResidueLoaderOptions::element_set_tag
()
const
73
{
74
return
element_set_tag_
;
75
}
76
77
std::string
ResidueLoaderOptions::residue_type_set_tag
()
const
78
{
79
return
residue_type_set_tag_
;
80
}
81
82
std::string
ResidueLoaderOptions::orbital_set_tag
()
const
83
{
84
return
orbital_set_tag_
;
85
}
86
87
}
88
}
Generated on Sat Jun 1 2013 11:31:37 for Rosetta 3.5 by
1.8.4