ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/openbabel/reaction.hpp
Revision: 2440
Committed: Wed Nov 16 19:42:11 2005 UTC (18 years, 7 months ago) by tim
File size: 1589 byte(s)
Log Message:
adding openbabel

File Contents

# Content
1 /**********************************************************************
2 reaction.h - Handle chemical reactions (i.e., lists of reagents and products).
3
4 Copyright (C) 2004 by Chris Morley
5
6 This file is part of the Open Babel project.
7 For more information, see <http://openbabel.sourceforge.net/>
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation version 2 of the License.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
17 ***********************************************************************/
18
19 #ifndef OB_REACT_H
20 #define OB_REACT_H
21
22 #ifdef WIN32
23 #pragma warning (disable : 4786)
24 #endif
25
26 #include <vector>
27 //#include <boost/shared_ptr.hpp>
28
29 using namespace std;
30
31 namespace OpenBabel
32 {
33
34 class OBBase;
35
36 //!\brief Used to store chemical reactions (i.e., reactants -> products)
37 //!
38 //! Reactants and products stored as pointers to molecules stored elsewhere,
39 //! since the molecules may be involved in other reactions.
40 //!
41 //! For performing actual reaction transformations (i.e., deleting atoms,
42 //! changing bonds, etc.) use the OBChemTsfm class.
43 class OBAPI OBReaction : public OBBase
44 {
45 public:
46 vector<OBMol*> reactants;
47 vector<OBMol*> products;
48 string title;
49 };
50
51 }
52 #endif
53
54 //! \file reaction.h
55 //! \brief Handle chemical reactions (i.e., lists of reagents and products).