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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1 - (hide annotations) (download) (as text)
Fri Oct 29 20:54:12 2004 UTC (17 years, 7 months ago) by aw0a
Original Path: trunk/ascend4/interface/BrowserDag.h
File MIME type: text/x-chdr
File size: 3791 byte(s)
Setting up web subdirectory in repository
1 aw0a 1 /*
2     * BrowserDag.h
3     * by Kirk Abbott and Ben Allan
4     * Created: 1/94
5     * Version: $Revision: 1.5 $
6     * Version control file: $RCSfile: BrowserDag.h,v $
7     * Date last modified: $Date: 1997/07/18 12:22:08 $
8     * Last modified by: $Author: mthomas $
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 __BrowserDag_module__
31     #define __BrowserDag_module__
32    
33     /*
34     * To include this header, you must include the following:
35     * #include "tcl.h"
36     * #include "BrowserDag.h"
37     */
38    
39    
40     extern int Asc_BrowTreeListCmd(ClientData cdata, Tcl_Interp *interp,
41     int argc, char *argv[]);
42     /*
43     * Usage : __brow_tree_list ?cur?search?
44     * Returns a formatted string of the form:
45     * {instancename {child1_name child2_name}} for the entire instance
46     * tree rooted from the current or the search instance. This is the
47     * primitive used to build the DAG Browser.
48     */
49    
50     extern int Asc_DagWriteInstDagCmd(ClientData cdata, Tcl_Interp *interp,
51     int argc, char *argv[]);
52    
53     extern int Asc_DagWriteModelDagCmd(ClientData cdata, Tcl_Interp *interp,
54     int argc, char *argv[]);
55    
56     extern int Asc_DagCouplingRelnsCmd(ClientData cdata, Tcl_Interp *interp,
57     int argc, char *argv[]);
58    
59     /*
60     * This writes a file with a model - relation attr pair.
61     * The first thing in the file is the n_models and n_relations.
62     * It is written to a named file.
63     */
64     extern int Asc_DagModelRelnsCmd(ClientData cdata, Tcl_Interp *interp,
65     int argc, char *argv[]);
66    
67     extern int Asc_DagPartitionCmd(ClientData cdata, Tcl_Interp *interp,
68     int argc, char *argv[]);
69    
70     extern int Asc_DagCountRelnsCmd(ClientData cdata, Tcl_Interp *interp,
71     int argc, char *argv[]);
72    
73     extern int Asc_DagBuildDagCmd(ClientData cdata, Tcl_Interp *interp,
74     int argc, char *argv[]);
75    
76     extern int Asc_DagPrepareCmd(ClientData cdata, Tcl_Interp *interp,
77     int argc, char *argv[]);
78    
79     extern int Asc_DagShutdownCmd(ClientData cdata, Tcl_Interp *interp,
80     int argc, char *argv[]);
81    
82    
83    
84     extern int Asc_BrowTreeListCmd2(ClientData cdata, Tcl_Interp *interp,
85     int argc, char *argv[]);
86     /*
87     * FIX THESE COMMENTS KAA_DEBUG
88     */
89     /*
90     * Usage : __brow_tree_list2 ?cur?search?
91     * Returns a formatted string of the form:
92     * { {parentindex childndx1 childndx2} {parentndx childndx1 childndx2} ... }
93     * for the entire instance tree rooted from the current or the search
94     * instance. This is one of the primitives used to build the DAG Browser.
95     * NOTE: At this time the following is done:
96     * 1) Only models or arrays of models are returned.
97     * 2) Leaf models are not returned.
98     * 3) The instance tree is left in the state that it was found.
99     */
100    
101     #endif /* __BrowserDag_module__ */

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