Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
mol_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 src/core/chemical/sdf/mol_util.hh
11 /// @author Sam DeLuca
12 
13 #ifndef INCLUDED_core_chemical_sdf_mol_util_hh
14 #define INCLUDED_core_chemical_sdf_mol_util_hh
15 
17 #include <core/types.hh>
18 #include <map>
19 #include <set>
20 #include <string>
21 
22 namespace core {
23 namespace chemical {
24 namespace sdf {
25 
26 struct BondData
27 {
28  BondData(core::Size index1, core::Size index2, core::Size type);
29  bool operator<(const BondData& other) const;
30  bool operator ==(const core::chemical::sdf::BondData & other) const;
34 
35 };
36 
37 std::set<BondData> parse_bond_type_data(std::string raw_data);
38 std::map<core::Size, std::string> parse_atom_type_data(std::string raw_data);
39 }
40 }
41 }
42 
43 
44 #endif /* MOL_UTIL_HH_ */