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

Diff of /trunk/tcltk98/generic/interface/BrowserMethod.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 Browser_procedure_io_module  /** @file
31  #define Browser_procedure_io_module   *  Browser Method 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 "BrowserMethod.h"   *      #include "utilities/ascConfig.h"
36     *      #include "interface/BrowserMethod.h"
37     *  </pre>
38   */   */
39    
40    #ifndef Browser_procedure_io_module
41    #define Browser_procedure_io_module
42    
43  STDHLF_H(Asc_BrowInitializeCmd);  STDHLF_H(Asc_BrowInitializeCmd);
44  extern int Asc_BrowInitializeCmd(ClientData, Tcl_Interp *, int, CONST84 char **);  extern int Asc_BrowInitializeCmd(ClientData cdata,
45  /*  Registered as: */                                   Tcl_Interp *interp,
46                                     int argc,
47                                     CONST84 char **argv);
48    /** Registered as */
49  #define Asc_BrowInitializeCmdHN "brow_runmethod"  #define Asc_BrowInitializeCmdHN "brow_runmethod"
50  /*  Usage: */  /**  Usage */
51  #define Asc_BrowInitializeCmdHU \  #define Asc_BrowInitializeCmdHU \
52    Asc_BrowInitializeCmdHN "-method name -qlfdid instance_name options"    Asc_BrowInitializeCmdHN "-method name -qlfdid instance_name options"
53    /**  Short help text */
54  #define Asc_BrowInitializeCmdHS \  #define Asc_BrowInitializeCmdHS \
55    "Runs the method named in the instance named"    "Runs the method named in the instance named"
56    /**  Long help text */
57  #define Asc_BrowInitializeCmdHL "\  #define Asc_BrowInitializeCmdHL "\
58   * Runs a method with control of where output goes, what kind of error \n\   * Runs a method with control of where output goes, what kind of error \n\
59   * handling, and so forth according to the options:\n\   * handling, and so forth according to the options:\n\
# Line 56  extern int Asc_BrowInitializeCmd(ClientD Line 64  extern int Asc_BrowInitializeCmd(ClientD
64   *   -output file       send output to file. If not set, to ASCERR.\n\   *   -output file       send output to file. If not set, to ASCERR.\n\
65  "  "
66    
67  extern int Asc_BrowRunAssignmentCmd(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowRunAssignmentCmd(ClientData cdata, Tcl_Interp *interp,
68                                      int argc, CONST84 char *argv[]);                                      int argc, CONST84 char *argv[]);
69  /*  /**<
70   *  Asc_BrowRunAssignmentCmd   *  <!--  Asc_BrowRunAssignmentCmd                                     -->
71   *  usage: brow_assign [-search] value [units]  {browser inst assignment}   *  usage: brow_assign [-search] value [units]  {browser inst assignment}
72   *  Checks for Boolean, Integers and Reals.   *  Checks for Boolean, Integers and Reals.
73   *  A null inst returns a TCL_ERROR.   *  A null inst returns a TCL_ERROR.
# Line 72  extern int Asc_BrowRunAssignmentCmd(Clie Line 80  extern int Asc_BrowRunAssignmentCmd(Clie
80   *  of units.   *  of units.
81   */   */
82    
83  extern int Asc_BrowRunAssignQlfdidCmd2(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowRunAssignQlfdidCmd2(ClientData cdata, Tcl_Interp *interp,
84                                         int argc, CONST84 char *argv[]);                                         int argc, CONST84 char *argv[]);
85  /*  /**<
86   *  Asc_BrowRunAssignQlfdidCmd2   *  <!--  Asc_BrowRunAssignQlfdidCmd2                                  -->
87   *  Usage : qassgn2 qlfdid value [units] {qualified id assignment}   *  Usage : qassgn2 qlfdid value [units] {qualified id assignment}
88   *  See the notes for Asc_BrowRunAssignment. The same applies only this   *  See the notes for Asc_BrowRunAssignment. The same applies only this
89   *  function requires a qulaified id. An errors will return a TCL_ERROR;   *  function requires a qulaified id. An errors will return a TCL_ERROR;
90   */   */
91    
92  extern int Asc_BrowRunAssignQlfdidCmd3(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowRunAssignQlfdidCmd3(ClientData cdata, Tcl_Interp *interp,
93                                         int argc, CONST84 char *argv[]);                                         int argc, CONST84 char *argv[]);
94  /*  /**<
95   *  Asc_BrowRunAssignQlfdidCmd3   *  <!--  Asc_BrowRunAssignQlfdidCmd3                                  -->
96   *  Usage : qassgn3 qlfdid value [units] [-relative] {qualified id assignment}   *  Usage : qassgn3 qlfdid value [units] [-relative] {qualified id assignment}
97   *  Yet another variant to try to get some more speed. This version   *  Yet another variant to try to get some more speed. This version
98   *  uses Asc_QlfdidSearch3, which is the mininal implementation of   *  uses Asc_QlfdidSearch3, which is the mininal implementation of
# Line 93  extern int Asc_BrowRunAssignQlfdidCmd3(C Line 101  extern int Asc_BrowRunAssignQlfdidCmd3(C
101   *  be relative to the results of the last call to qlfdid (tcl call).   *  be relative to the results of the last call to qlfdid (tcl call).
102   */   */
103    
104  extern int Asc_BrowWriteProcedure(ClientData cdata,Tcl_Interp *interp,  extern int Asc_BrowWriteProcedure(ClientData cdata, Tcl_Interp *interp,
105                                    int argc, CONST84 char *argv[]);                                    int argc, CONST84 char *argv[]);
106  /*  /**<
107   *  bgetproc procname pathname [search]   *  <!--  bgetproc procname pathname [search]                          -->
108   *  write the statements of a named procedure   *  Write the statements of a named procedure
109   *  (assumed to be in g_curinst unless search appears)   *  (assumed to be in g_curinst unless search appears)
110   *  to a full file pathname given.   *  to a full file pathname given.
111   */   */
112    
113  extern int Asc_BrowSetAtomAttribute(Tcl_Interp *, struct Instance *,  extern int Asc_BrowSetAtomAttribute(Tcl_Interp *interp,
114                                      symchar *, enum inst_t, void *);                                      struct Instance *atominstance,
115  /*                                      symchar *childname,
116   * status = Asc_BrowSetAtomAttribute(interp,atominstance,                                      enum inst_t childtype,
117   *                                   childname,childtype,dataptr);                                      void *dataptr);
118    /**<
119     * <!--  status = Asc_BrowSetAtomAttribute(interp,atominstance,        -->
120     * <!--                                    childname,childtype,dataptr)-->;
121   * Sets the value of an attribute of the ATOM/REL instance given.   * Sets the value of an attribute of the ATOM/REL instance given.
122   * Childname must be from the compiler symbol table via AddSymbol or   * Childname must be from the compiler symbol table via AddSymbol or
123   * AddSymbolL. Childtype determines what dataptr contains.   * AddSymbolL. Childtype determines what dataptr contains.
# Line 116  extern int Asc_BrowSetAtomAttribute(Tcl_ Line 127  extern int Asc_BrowSetAtomAttribute(Tcl_
127   * double *, long *, int *, symchar **, respectively.   * double *, long *, int *, symchar **, respectively.
128   *   *
129   * Notes:   * Notes:
130   * -A symbol value MUST come from the symbol table.   *  - A symbol value MUST come from the symbol table.
131   * -You cannot change the dimens of a real child this way   *  - You cannot change the dimens of a real child this way
132   * and the double * given is assumed in SI.   *    and the double * given is assumed in SI.
133   *   *
134   * Return a value and message other than TCL_OK if these conditions   * Return a value and message other than TCL_OK if these conditions
135   * are not met. Except that if the childname or symbol value given   * are not met. Except that if the childname or symbol value given
# Line 127  extern int Asc_BrowSetAtomAttribute(Tcl_ Line 138  extern int Asc_BrowSetAtomAttribute(Tcl_
138    
139  #endif  /* Browser_procedure_io_module loaded */  #endif  /* Browser_procedure_io_module loaded */
140    
   
   

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

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