/[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 67 - (hide annotations) (download) (as text)
Wed Nov 30 16:31:29 2005 UTC (16 years, 7 months ago) by johnpye
File MIME type: text/x-chdr
File size: 3379 byte(s)
Standardised the "if seen" #defines to [ASC|ASCTK|ASCPY|ASCXX]_FILENAME_H
Fixed compile on FC3
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 jds 54 /** @file
31     * Relation IO Routines
32     * <pre>
33 aw0a 1 * To include this header, you must include the following:
34     * #include "tcl.h"
35 jds 54 * #include "utilities/ascConfig.h"
36 aw0a 1 * #include "interface/BrowserRel_io.h"
37 jds 54 * </pre>
38 aw0a 1 */
39    
40 johnpye 67 #ifndef ASCTK_BROWSERREL_IO_H
41     #define ASCTK_BROWSERREL_IO_H
42 jds 54
43 aw0a 1 extern int Asc_BrowWriteRelListCmd(ClientData cdata,Tcl_Interp *interp,
44     int argc, CONST84 char *argv[]);
45 jds 54 /**<
46 aw0a 1 * Write the relation in infix to the interpreter. This gracefully
47     * handles all the types of relations now supported in ASCEND.
48     * If conditional relations exist,It separates the relation list
49     * in two lists. The list of normal
50     * relations and the list of conditional relations.
51     * Conditional relations do not have to be solved, they
52 jds 54 * represent boundaries in conditional modeling.<br><br>
53     *
54     * Registered as: bgetrels
55 aw0a 1 */
56    
57     extern int Asc_BrowWriteCondRelListCmd(ClientData cdata,Tcl_Interp *interp,
58     int argc, CONST84 char *argv[]);
59 jds 54 /**<
60 aw0a 1 * Write the list of conditional relations in infix to the interpreter.
61     * This gracefully handles all the types of relations now supported in
62 jds 54 * ASCEND.<br><br>
63     *
64     * Registered as: bgetcondrels
65 aw0a 1 */
66    
67     extern int Asc_BrowWriteRelListPostfixCmd(ClientData cdata,Tcl_Interp *interp,
68     int argc, CONST84 char *argv[]);
69 jds 54 /**<
70 aw0a 1 * Writes to the interpreter rather than to a file.
71     * As I can see Kirk did not finish this implementation for all the types
72 jds 54 * of relations.<br><br>
73     *
74     * Registered as: bgetrelspf.
75 aw0a 1 */
76    
77     extern int Asc_BrowWriteRelsForAtomCmd(ClientData cdata,Tcl_Interp *interp,
78     int argc, CONST84 char *argv[]);
79 jds 54 /**<
80 aw0a 1 * Will return a proper Tcl list of all relations associated with
81     * the given atom. Works on the current or the search instance.
82     * Will return TCL_ERROR if the instance is NULL, or the atom is not
83     * a REAL_ATOM_INST. This will be later extended to deal with boolean
84     * atoms. If some of the relations are conditionals, this information
85 jds 54 * is also provided.<br><br>
86     *
87     * Registered as: __brow_relsforatom ?cur?search.
88 aw0a 1 */
89    
90 johnpye 67 #endif /* ASCTK_BROWSERREL_IO_H */
91 aw0a 1

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