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
adduct_util.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
11
/// @author Jim Havranek
12
13
14
#ifndef INCLUDED_core_chemical_adduct_util_hh
15
#define INCLUDED_core_chemical_adduct_util_hh
16
17
// ObjexxFCL Headers
18
// Commented by inclean daemon #include <ObjexxFCL/string.functions.hh>
19
20
// Unit headers
21
#include <
core/chemical/ResidueType.fwd.hh
>
22
23
// Project headers
24
25
// Utility headers
26
// AUTO-REMOVED #include <utility/options/StringVectorOption.hh>
27
28
#include <utility/options/StringVectorOption.fwd.hh>
29
#include <map>
30
31
32
// C++ headers
33
// Commented by inclean daemon #include <string>
34
35
namespace
core {
36
namespace
chemical {
37
38
typedef
std::map< std::string, int >
AdductMap
;
39
40
/// @brief Convert input string to map of adducts->max usage
41
AdductMap
42
parse_adduct_string
(
43
utility::options::StringVectorOption &
add_vec
44
);
45
46
/// @brief Make sure requested adducts exist in some residue
47
void
48
error_check_requested_adducts
(
AdductMap
const
& add_map,
49
ResidueTypeCOPs
const
& rsd_types );
50
51
/// @brief Apply adducts to residue using a boolean mask
52
ResidueTypeOP
apply_adducts_to_residue
(
53
ResidueType
const
& rsd,
54
utility::vector1< bool >
& add_mask
55
);
56
57
}
// chemical
58
}
// core
59
60
61
62
#endif
Generated on Sat Jun 1 2013 11:31:33 for Rosetta 3.5 by
1.8.4