/[ascend]/trunk/tcltk98/generic/interface/BrowserRel_io.h
ViewVC logotype

Annotation of /trunk/tcltk98/generic/interface/BrowserRel_io.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (hide annotations) (download) (as text)
Sat Nov 13 16:40:11 2004 UTC (17 years, 7 months ago) by aw0a
Original Path: trunk/tcltk98/interface/BrowserRel_io.h
File MIME type: text/x-chdr
File size: 3227 byte(s)
try again to commit moving tcl stuff
1 aw0a 1 /*
2     * BrowserRel_io.h
3     * by Kirk Abbott and Ben Allan
4     * Created: 1/94
5     * Version: $Revision: 1.7 $
6     * Version control file: $RCSfile: BrowserRel_io.h,v $
7     * Date last modified: $Date: 2003/08/23 18:43:05 $
8     * Last modified by: $Author: ballan $
9     *
10     * This file is part of the ASCEND Tcl/Tk interface
11     *
12     * Copyright 1997, Carnegie Mellon University
13     *
14     * The ASCEND Tcl/Tk interface is free software; you can redistribute
15     * it and/or modify it under the terms of the GNU General Public License as
16     * published by the Free Software Foundation; either version 2 of the
17     * License, or (at your option) any later version.
18     *
19     * The ASCEND Tcl/Tk interface is distributed in hope that it will be
20     * useful, but WITHOUT ANY WARRANTY; without even the implied warranty of
21     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
22     * General Public License for more details.
23     *
24     * You should have received a copy of the GNU General Public License
25     * along with the program; if not, write to the Free Software Foundation,
26     * Inc., 675 Mass Ave, Cambridge, MA 02139 USA. Check the file named
27     * COPYING. COPYING is found in ../compiler.
28     */
29    
30     #ifndef relation_io_module
31     #define relation_io_module
32    
33     /*
34     * To include this header, you must include the following:
35     * #include "tcl.h"
36     * #include "interface/BrowserRel_io.h"
37     */
38    
39     extern int Asc_BrowWriteRelListCmd(ClientData cdata,Tcl_Interp *interp,
40     int argc, CONST84 char *argv[]);
41     /*
42     * Registered as: bgetrels
43     * Write the relation in infix to the interpreter. This gracefully
44     * handles all the types of relations now supported in ASCEND.
45     * If conditional relations exist,It separates the relation list
46     * in two lists. The list of normal
47     * relations and the list of conditional relations.
48     * Conditional relations do not have to be solved, they
49     * represent boundaries in conditional modeling.
50     */
51    
52     extern int Asc_BrowWriteCondRelListCmd(ClientData cdata,Tcl_Interp *interp,
53     int argc, CONST84 char *argv[]);
54     /*
55     * Registered as: bgetcondrels
56     * Write the list of conditional relations in infix to the interpreter.
57     * This gracefully handles all the types of relations now supported in
58     * ASCEND.
59     */
60    
61     extern int Asc_BrowWriteRelListPostfixCmd(ClientData cdata,Tcl_Interp *interp,
62     int argc, CONST84 char *argv[]);
63     /*
64     * Registered as: bgetrelspf.
65     * Writes to the interpreter rather than to a file.
66     * As I can see Kirk did not finish this implementation for all the types
67     * of relations.
68     */
69    
70     extern int Asc_BrowWriteRelsForAtomCmd(ClientData cdata,Tcl_Interp *interp,
71     int argc, CONST84 char *argv[]);
72     /*
73     * Registered as: __brow_relsforatom ?cur?search.
74     *
75     * Will return a proper Tcl list of all relations associated with
76     * the given atom. Works on the current or the search instance.
77     * Will return TCL_ERROR if the instance is NULL, or the atom is not
78     * a REAL_ATOM_INST. This will be later extended to deal with boolean
79     * atoms. If some of the relations are conditionals, this information
80     * is also provided.
81     */
82    
83    
84     #endif /* module loaded */
85    
86    
87    
88    
89    
90    

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22