ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-1.0/libBASS/make_nodes.h
Revision: 1334
Committed: Fri Jul 16 18:58:03 2004 UTC (19 years, 11 months ago) by gezelter
Content type: text/plain
File size: 1558 byte(s)
Log Message:
Initial import of OOPSE-1.0 source tree

File Contents

# User Rev Content
1 gezelter 1334 #ifndef __MAKE_NODES_H__
2     #define __MAKE_NODES_H__
3    
4     #include "node_list.h"
5    
6     /* walks to the top node of the current list */
7    
8     extern struct node_tag* walk_to_top( struct node_tag* walk_me );
9    
10     /* handles the assignment functions */
11    
12     extern struct node_tag* assign_i( char * lhs, int rhs );
13     extern struct node_tag* assign_d( char * lhs, double rhs );
14     extern struct node_tag* assign_s( char * lhs, char* rhs );
15    
16     /* handles the members functions */
17    
18     extern struct node_tag* members( char * list_str );
19    
20     /* handles the constraint funtion */
21    
22     extern struct node_tag* constraint( char * list_str );
23    
24     /* handles the orientation function */
25    
26     extern struct node_tag* orientation( char * list_str );
27    
28     /* handles the position function */
29    
30     extern struct node_tag* position( char * list_str );
31    
32     /* handles the various block modes */
33    
34     extern struct node_tag* molecule_blk( struct node_tag* stmt_list );
35     extern struct node_tag* zconstraint_blk( int index, struct node_tag* stmt_list );
36     extern struct node_tag* rigidbody_blk( int index, struct node_tag* stmt_list );
37     extern struct node_tag* cutoffgroup_blk( int index, struct node_tag* stmt_list );
38     extern struct node_tag* atom_blk( int index, struct node_tag* stmt_list );
39     extern struct node_tag* bond_blk( int index, struct node_tag* stmt_list );
40     extern struct node_tag* bend_blk( int index, struct node_tag* stmt_list );
41     extern struct node_tag* torsion_blk( int index, struct node_tag* stmt_list );
42     extern struct node_tag* component_blk( struct node_tag* stmt_list );
43    
44     int count_tokens(char *line, char *delimiters);
45     #endif