/[ascend]/trunk/base/generic/compiler/nameio.h
ViewVC logotype

Contents of /trunk/base/generic/compiler/nameio.h

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1066 - (show annotations) (download) (as text)
Sun Jan 7 10:02:41 2007 UTC (17 years, 8 months ago) by johnpye
File MIME type: text/x-chdr
File size: 2047 byte(s)
Adding doxygen 'addtogroup' for Solver, Compiler, Integrator.
1 /* ASCEND modelling environment
2 Copyright (C) 1990, 1993, 1994 Thomas Guthrie Epperly
3 Copyright (C) 2006 Carnegie Mellon University
4
5 This program is free software; you can redistribute it and/or modify
6 it under the terms of the GNU General Public License as published by
7 the Free Software Foundation; either version 2, or (at your option)
8 any later version.
9
10 This program is distributed in the hope that it will be useful,
11 but WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 GNU General Public License for more details.
14
15 You should have received a copy of the GNU General Public License
16 along with this program; if not, write to the Free Software
17 Foundation, Inc., 59 Temple Place - Suite 330,
18 Boston, MA 02111-1307, USA.
19 *//**
20 @file
21 Temporary name output routine.
22
23 Requires:
24 #include <stdio.h>
25 #include "utilities/ascConfig.h"
26 #include "compiler.h"
27 #include "expr_types.h"
28 #include "symtab.h"
29 *//*
30 by Tom Epperly
31 Last in CVS: $Revision: 1.5 $ $Date: 1998/04/16 00:43:29 $ $Author: ballan $
32 */
33
34 #ifndef ASC_NAMEIO_H
35 #define ASC_NAMEIO_H
36
37 /** addtogroup compiler Compiler
38 @{
39 */
40
41 #include <utilities/ascConfig.h>
42
43 extern void WriteName(FILE *f, CONST struct Name *n);
44 /**<
45 * Write n to file f. No leading or trailing spaces are added,
46 * and no trailing newline is added.
47 */
48
49 extern void WriteNameNode(FILE *f, CONST struct Name *n);
50 /**<
51 * Write just this one name node, and not any of the ones following it.
52 */
53
54 ASC_DLLSPEC char*WriteNameString(CONST struct Name *n);
55 /**<
56 * Return a string containing the name.
57 * User is responsible for freeing string.
58 */
59
60 extern void WriteName2Str(Asc_DString *dstring, CONST struct Name *n);
61 /**<
62 * Write n to dstring. No leading or trailing spaces are added,
63 * and no trailing newline is added.
64 */
65
66 extern void WriteNameNode2Str(Asc_DString *dstring,CONST struct Name *n);
67 /**<
68 * Write just this one name node, and not any of the ones following it.
69 */
70
71 /* @} */
72
73 #endif /* ASC_NAMEIO_H */
74

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