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

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

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 17 by aw0a, Tue Dec 7 17:37:58 2004 UTC revision 54 by jds, Tue Aug 2 11:20:09 2005 UTC
# Line 27  Line 27 
27   *  COPYING.  COPYING is found in ../compiler.   *  COPYING.  COPYING is found in ../compiler.
28   */   */
29    
30  #ifndef relation_io_module  /** @file
31  #define relation_io_module   *  Relation IO Routines
32     *  <pre>
 /*  
33   *  To include this header, you must include the following:   *  To include this header, you must include the following:
34   *      #include "tcl.h"   *      #include "tcl.h"
35     *      #include "utilities/ascConfig.h"
36   *      #include "interface/BrowserRel_io.h"   *      #include "interface/BrowserRel_io.h"
37     *  </pre>
38   */   */
39    
40    #ifndef relation_io_module
41    #define relation_io_module
42    
43  extern int Asc_BrowWriteRelListCmd(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowWriteRelListCmd(ClientData cdata,Tcl_Interp *interp,
44                                     int argc, CONST84 char *argv[]);                                     int argc, CONST84 char *argv[]);
45  /*  /**<
  *  Registered as: bgetrels  
46   *  Write the relation in infix to the interpreter. This gracefully   *  Write the relation in infix to the interpreter. This gracefully
47   *  handles all the types of relations now supported in ASCEND.   *  handles all the types of relations now supported in ASCEND.
48   *  If conditional relations exist,It separates the relation list   *  If conditional relations exist,It separates the relation list
49   *  in two lists. The list of  normal   *  in two lists. The list of  normal
50   *  relations and the list of conditional relations.   *  relations and the list of conditional relations.
51   *  Conditional relations do not have to be solved, they   *  Conditional relations do not have to be solved, they
52   *  represent boundaries in conditional modeling.   *  represent boundaries in conditional modeling.<br><br>
53     *
54     *  Registered as: bgetrels
55   */   */
56    
57  extern int Asc_BrowWriteCondRelListCmd(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowWriteCondRelListCmd(ClientData cdata,Tcl_Interp *interp,
58                                         int argc, CONST84 char *argv[]);                                         int argc, CONST84 char *argv[]);
59  /*  /**<
  *  Registered as: bgetcondrels  
60   *  Write the list of conditional relations in infix to the interpreter.   *  Write the list of conditional relations in infix to the interpreter.
61   *  This gracefully handles all the types of relations now supported in   *  This gracefully handles all the types of relations now supported in
62   *  ASCEND.   *  ASCEND.<br><br>
63     *
64     *  Registered as: bgetcondrels
65   */   */
66    
67  extern int Asc_BrowWriteRelListPostfixCmd(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowWriteRelListPostfixCmd(ClientData cdata,Tcl_Interp *interp,
68                                            int argc, CONST84 char *argv[]);                                            int argc, CONST84 char *argv[]);
69  /*  /**<
  *  Registered as: bgetrelspf.  
70   *  Writes to the interpreter rather than to a file.   *  Writes to the interpreter rather than to a file.
71   *  As I can see Kirk did not finish this implementation for all the types   *  As I can see Kirk did not finish this implementation for all the types
72   *  of relations.   *  of relations.<br><br>
73     *
74     *  Registered as: bgetrelspf.
75   */   */
76    
77  extern int Asc_BrowWriteRelsForAtomCmd(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowWriteRelsForAtomCmd(ClientData cdata,Tcl_Interp *interp,
78                                         int argc, CONST84 char *argv[]);                                         int argc, CONST84 char *argv[]);
79  /*  /**<
  *  Registered as: __brow_relsforatom ?cur?search.  
  *  
80   *  Will return a proper Tcl list of all relations associated with   *  Will return a proper Tcl list of all relations associated with
81   *  the given atom. Works on the current or the search instance.   *  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   *  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   *  a REAL_ATOM_INST. This will be later extended to deal with boolean
84   *  atoms. If some of the relations are conditionals, this information   *  atoms. If some of the relations are conditionals, this information
85   *  is also provided.   *  is also provided.<br><br>
86     *
87     *  Registered as: __brow_relsforatom ?cur?search.
88   */   */
89    
90    #endif  /* relation_io_module loaded */
 #endif /* module loaded */  
   
   
   
   
   
91    

Legend:
Removed from v.17  
changed lines
  Added in v.54

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