8 |
|
|
9 |
|
public: |
10 |
|
|
11 |
< |
Molecule( int theNMembers, Atom **atomStart ); |
12 |
< |
~Molecule(); |
11 |
> |
Molecule() {} |
12 |
> |
~Molecule() {} |
13 |
|
|
14 |
< |
int getNMembers( void ) { return nMembers; } |
15 |
< |
Atom* getMember( int index ) { return myAtoms[index]; } |
14 |
> |
int getNMembers( void ) { return nMembers; } |
15 |
> |
int getStartAtom( void ) { return startAtom; } |
16 |
> |
int getEndAtom( void ) { return endAtom; } |
17 |
> |
int getStampID( void ) { return stampID; } |
18 |
|
|
19 |
< |
void setBonds( int theNBonds, Bond** bondStart ); |
20 |
< |
int getNBonds( void ) { return nBonds; } |
21 |
< |
Bond* getBond( int index ) { return myBonds[index]; } |
19 |
> |
void setNMembers( int info ) { nMembers = info; } |
20 |
> |
void setStartAtom( int info ) { startAtom = info; } |
21 |
> |
void setEndAtom( int info ) { endAtom = info; } |
22 |
> |
void setStampID( int info ) { stampID = info; } |
23 |
> |
|
24 |
|
|
21 |
– |
void setBends( int theNBends, Bend** bendStart ); |
22 |
– |
int getNBends( void ) { return nBends; } |
23 |
– |
Bend* getBend( int index ) { return myBends[index]; } |
24 |
– |
|
25 |
– |
void setTorsions( int theNTorsions, Torsion** torsionStart ); |
26 |
– |
int getNTorsions( void ) { return nTorsions; } |
27 |
– |
Torsion* getTorsion( int index ) { return myTorsions[index]; } |
28 |
– |
|
25 |
|
private: |
26 |
|
|
27 |
|
int nMembers; |
28 |
< |
Atom** myAtoms; |
29 |
< |
|
34 |
< |
int nBonds; |
35 |
< |
Bond** myBonds; |
28 |
> |
int startAtom; |
29 |
> |
int endAtom; |
30 |
|
|
31 |
< |
int nBends; |
38 |
< |
Bend** myBends; |
39 |
< |
|
40 |
< |
int nTorsions; |
41 |
< |
Torsion** myTorsions; |
42 |
< |
|
31 |
> |
int stampID; |
32 |
|
}; |
33 |
|
|
34 |
|
#endif |