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
sdf
mol_parser.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
// :noTabs=false:tabSize=4:indentSize=4:
4
//
5
// This file is part of the Rosetta software suite and is made available under license.
6
// The Rosetta software is developed by the contributing members of the Rosetta Commons consortium.
7
// (C) 199x-2009 Rosetta Commons participating institutions and developers.
8
// For more information, see http://www.rosettacommons.org/.
9
10
/// @file core/chemical/sdf/mol_parser.hh
11
///
12
/// @brief header file for molfile parser
13
/// @author Sam DeLuca
14
15
16
17
#ifndef INCLUDED_core_chemical_sdf_mol_parser_HH
18
#define INCLUDED_core_chemical_sdf_mol_parser_HH
19
20
// AUTO-REMOVED #include <core/chemical/ResidueType.hh>
21
#include <utility/vector1.hh>
22
#include <
core/chemical/sdf/mol_parser.fwd.hh
>
23
#include <
core/chemical/sdf/MolData.hh
>
24
//#include <protocols/ligand_docking/ColoredGraph.fwd.hh>
25
26
27
#include <string>
28
29
#include <
core/chemical/AtomTypeSet.fwd.hh
>
30
#include <
core/chemical/ElementSet.fwd.hh
>
31
#include <
core/chemical/MMAtomTypeSet.fwd.hh
>
32
#include <
core/chemical/ResidueType.fwd.hh
>
33
#include <
core/chemical/orbitals/OrbitalTypeSet.fwd.hh
>
34
35
36
37
namespace
core {
38
namespace
chemical {
39
namespace
sdf {
40
41
class
MolFileParser
42
{
43
public
:
44
45
MolFileParser
(
const
utility::vector1<std::string>
mol_file_lines);
46
MolFileParser
(
const
std::string
file_name);
47
void
parse_mol_file
(
core::chemical::AtomTypeSetCAP
atom_types,
ElementSetCAP
elements,
core::chemical::MMAtomTypeSetCAP
mm_atom_types,
core::chemical::orbitals::OrbitalTypeSetCAP
orbital_type_set);
48
core::chemical::ResidueTypeOP
GetResidueTypeOP
();
49
core::chemical::ResidueType
GetResidueType
();
50
51
std::string
GetMoleculeName
();
52
std::string
GetMoleculeInfo
();
53
std::string
GetMoleculeComments
();
54
55
private
:
56
57
std::string
FindNbrAtom
();
58
59
utility::vector1<std::string>
mol_file_lines_
;
60
core::chemical::ResidueTypeOP
molecule_container_
;
61
MolData
mol_data_
;
62
//protocols::ligand_docking::ColoredGraphOP molecule_container_;
63
std::string
molecule_name_
;
64
std::string
molecule_info_
;
65
std::string
molecule_comments_
;
66
};
67
68
}
// sdf
69
}
// io
70
}
// core
71
72
#endif
/* MOL_PARSER_HH_ */
Generated on Sat Jun 1 2013 11:31:39 for Rosetta 3.5 by
1.8.4