ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libBASS/node_list.h
(Generate patch)

Comparing:
branches/mmeineke/OOPSE/libBASS/node_list.h (file contents), Revision 377 by mmeineke, Fri Mar 21 17:42:12 2003 UTC vs.
trunk/OOPSE/libBASS/node_list.h (file contents), Revision 988 by gezelter, Tue Jan 27 19:37:48 2004 UTC

# Line 5 | Line 5 | typedef enum { GLOBAL_HEAD, COMPONENT_HEAD,
5  
6   typedef enum { GLOBAL_HEAD, COMPONENT_HEAD,
7                 MOLECULE_HEAD, ATOM_HEAD, BOND_HEAD, BEND_HEAD, TORSION_HEAD,
8 <               MEMBER_STMT, CONSTRAINT_STMT, ASSIGNMENT_STMT, POSITION_STMT,
9 <               ORIENTATION_STMT, START_INDEX_STMT } node_type;
8 >               MEMBERS_STMT, CONSTRAINT_STMT, ASSIGNMENT_STMT, POSITION_STMT,
9 >               ORIENTATION_STMT, ZCONSTRAINT_HEAD, RIGIDBODY_HEAD,
10 >               MEMBER_HEAD} node_type;
11  
12   /* a structure to hold the index of the members of a bond, bend, or torsion */
13  
14 < typedef struct member_data_tag{
14 > typedef struct members_data_tag{
15    int a;
16    int b;
17    int c;
18    int d;
19 < } member_data;
19 > } members_data;
20  
21   /* a structure to hold constraint information */
22  
# Line 55 | Line 56 | typedef struct orientation_data_tag{
56    double z;
57   } orientation_data;
58  
58 /* this struct is used for lists of integers */
59
60 typedef struct integer_list_tag{
61  int the_int;
62  struct integer_list_tag* prev;
63  struct integer_list_tag* next;
64 } integer_list;
65
59   /* here's the master node type. This is the node that will be strung
60     together by the yacc parser. Each statement will an individual
61     node. Block statements will act as branch nodes, pointing to their
# Line 78 | Line 71 | typedef struct node_tag{
71    /* this is a union to hold the statement data */
72  
73    union{
74 <    member_data mbr;
74 >    members_data mbrs;
75      constraint_data cnstr;
76      assignment_data asmt;
77      position_data pos;
78      orientation_data ort;
86    struct integer_list_tag* il_head;
79    } the_data;
80      
81   } node;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines