1 |
+ |
/********************************************************************** |
2 |
+ |
* Copyright (C) 2002-2003 by Gezelter's Group |
3 |
+ |
*This program is free software; you can redistribute it and/or modify |
4 |
+ |
*it under the terms of the GNU General Public License as published by |
5 |
+ |
*the Free Software Foundation version 2 of the License. |
6 |
+ |
* |
7 |
+ |
*This program is distributed in the hope that it will be useful, |
8 |
+ |
*but WITHOUT ANY WARRANTY; without even the implied warranty of |
9 |
+ |
*MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
10 |
+ |
*GNU General Public License for more details. |
11 |
+ |
* |
12 |
+ |
************************************************************************ |
13 |
+ |
*Author: Teng Lin Email: tlin@nd.edu |
14 |
+ |
*Date: 08/13/2002 Version: 1.0 |
15 |
+ |
* |
16 |
+ |
************************************************************************ |
17 |
+ |
*Description: |
18 |
+ |
* |
19 |
+ |
***********************************************************************/ |
20 |
|
#ifndef FASATOM_H |
21 |
|
#define FASATOM_H |
22 |
|
#include <iostream> |
31 |
|
|
32 |
|
//ATOM Property Macros |
33 |
|
#define FAS_NORMAL_ATOM (1<<1) |
34 |
< |
#define FAS_PROTEINBACK_ATOM (1<<2) |
34 |
> |
#define FAS_PROTEINBACK_ATOM (1<<2) |
35 |
|
#define FAS_NUCLEIC_ATOM (1<<3) |
36 |
|
#define FAS_AROMATIC_ATOM (1<<4) |
37 |
< |
#define FAS_RING_ATOM (1<<5) |
37 |
> |
#define FAS_RING_ATOM (1<<5) |
38 |
|
#define FAS_CSTEREO_ATOM (1<<6) |
39 |
|
#define FAS_ACSTEREO_ATOM (1<<7) |
40 |
|
#define FAS_DONOR_ATOM (1<<8) |
41 |
< |
#define FAS_ACCEPTOR_ATOM (1<<8) |
41 |
> |
#define FAS_ACCEPTOR_ATOM (1<<9) |
42 |
|
#define FAS_CHIRAL_ATOM (1<<10) |
43 |
|
|
44 |
|
namespace TAtomProp |
46 |
|
const int apNormal = FAS_NORMAL_ATOM; |
47 |
|
const int apProtein = FAS_PROTEINBACK_ATOM; |
48 |
|
const int apNucleic = FAS_NUCLEIC_ATOM; |
30 |
– |
const int ap4Ring = FAS_4RING_ATOM; |
31 |
– |
const int ap3Ring = FAS_3RING_ATOM; |
49 |
|
const int apAromatic = FAS_AROMATIC_ATOM; |
50 |
|
const int apRing = FAS_RING_ATOM; |
51 |
|
const int apCStereo = FAS_CSTEREO_ATOM; |
52 |
|
const int apACStereo = FAS_ACSTEREO_ATOM; |
53 |
|
const int apDonor = FAS_DONOR_ATOM; |
54 |
|
const int apAcceptor = FAS_ACCEPTOR_ATOM; |
55 |
< |
const int apChiral = FAS_CHIRAL_ATOM; |
55 |
> |
const int apChiral = FAS_CHIRAL_ATOM; |
56 |
|
}; |
57 |
|
|
58 |
|
class TFASAtom |