1 |
jds |
54 |
/* |
2 |
aw0a |
1 |
* Dimensions Output Routine |
3 |
|
|
* by Tom Epperly |
4 |
|
|
* Created: 2/14/90 |
5 |
|
|
* Version: $Revision: 1.6 $ |
6 |
|
|
* Version control file: $RCSfile: dimen_io.h,v $ |
7 |
|
|
* Date last modified: $Date: 1998/04/11 01:31:10 $ |
8 |
|
|
* Last modified by: $Author: ballan $ |
9 |
|
|
* |
10 |
|
|
* This file is part of the Ascend Language Interpreter. |
11 |
|
|
* |
12 |
|
|
* Copyright (C) 1990, 1993, 1994 Thomas Guthrie Epperly |
13 |
|
|
* |
14 |
|
|
* The Ascend Language Interpreter 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 Language Interpreter 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. |
28 |
|
|
*/ |
29 |
|
|
|
30 |
jds |
54 |
/** @file |
31 |
|
|
* Dimensions Output Routine |
32 |
|
|
* <pre> |
33 |
aw0a |
1 |
* When #including dimen_io.h, make sure these files are #included first: |
34 |
jds |
54 |
* #include "utilities/ascConfig.h" |
35 |
aw0a |
1 |
* #include "fractions.h" |
36 |
|
|
* #include "compiler.h" |
37 |
|
|
* #include "dimen.h" |
38 |
jds |
54 |
* </pre> |
39 |
aw0a |
1 |
*/ |
40 |
|
|
|
41 |
johnpye |
1066 |
#ifndef ASC_DIMEN_IO_H |
42 |
|
|
#define ASC_DIMEN_IO_H |
43 |
aw0a |
1 |
|
44 |
johnpye |
1066 |
/** addtogroup compiler Compiler |
45 |
|
|
@{ |
46 |
|
|
*/ |
47 |
|
|
|
48 |
jds |
54 |
/** |
49 |
|
|
* Write the human readable and parser edible string form of the |
50 |
aw0a |
1 |
* dimen given. |
51 |
|
|
*/ |
52 |
johnpye |
1063 |
ASC_DLLSPEC char *WriteDimensionString(CONST dim_type *p); |
53 |
aw0a |
1 |
|
54 |
ben.allan |
33 |
/** |
55 |
aw0a |
1 |
* Write the canonical, indigestible form of the dimen with |
56 |
|
|
* full numeric details. ugh. |
57 |
|
|
*/ |
58 |
jds |
54 |
extern void WriteDimensions(FILE *f, CONST dim_type *dimp); |
59 |
aw0a |
1 |
|
60 |
johnpye |
1066 |
/* @} */ |
61 |
jds |
54 |
|
62 |
johnpye |
1066 |
#endif /* ASC_DIMEN_IO_H */ |
63 |
|
|
|