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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 67 - (show annotations) (download) (as text)
Wed Nov 30 16:31:29 2005 UTC (16 years, 5 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 /*
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 /** @file
31 * Relation IO Routines
32 * <pre>
33 * To include this header, you must include the following:
34 * #include "tcl.h"
35 * #include "utilities/ascConfig.h"
36 * #include "interface/BrowserRel_io.h"
37 * </pre>
38 */
39
40 #ifndef ASCTK_BROWSERREL_IO_H
41 #define ASCTK_BROWSERREL_IO_H
42
43 extern int Asc_BrowWriteRelListCmd(ClientData cdata,Tcl_Interp *interp,
44 int argc, CONST84 char *argv[]);
45 /**<
46 * 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 * represent boundaries in conditional modeling.<br><br>
53 *
54 * Registered as: bgetrels
55 */
56
57 extern int Asc_BrowWriteCondRelListCmd(ClientData cdata,Tcl_Interp *interp,
58 int argc, CONST84 char *argv[]);
59 /**<
60 * Write the list of conditional relations in infix to the interpreter.
61 * This gracefully handles all the types of relations now supported in
62 * ASCEND.<br><br>
63 *
64 * Registered as: bgetcondrels
65 */
66
67 extern int Asc_BrowWriteRelListPostfixCmd(ClientData cdata,Tcl_Interp *interp,
68 int argc, CONST84 char *argv[]);
69 /**<
70 * 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 * of relations.<br><br>
73 *
74 * Registered as: bgetrelspf.
75 */
76
77 extern int Asc_BrowWriteRelsForAtomCmd(ClientData cdata,Tcl_Interp *interp,
78 int argc, CONST84 char *argv[]);
79 /**<
80 * 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 * is also provided.<br><br>
86 *
87 * Registered as: __brow_relsforatom ?cur?search.
88 */
89
90 #endif /* ASCTK_BROWSERREL_IO_H */
91

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