1 |
/* |
2 |
* 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 |
/** @file |
31 |
* Dimensions Output Routine |
32 |
* <pre> |
33 |
* When #including dimen_io.h, make sure these files are #included first: |
34 |
* #include "utilities/ascConfig.h" |
35 |
* #include "fractions.h" |
36 |
* #include "compiler.h" |
37 |
* #include "dimen.h" |
38 |
* </pre> |
39 |
*/ |
40 |
|
41 |
#ifndef ASC_DIMEN_IO_H |
42 |
#define ASC_DIMEN_IO_H |
43 |
|
44 |
/** addtogroup compiler Compiler |
45 |
@{ |
46 |
*/ |
47 |
|
48 |
/** |
49 |
* Write the human readable and parser edible string form of the |
50 |
* dimen given. |
51 |
*/ |
52 |
ASC_DLLSPEC char *WriteDimensionString(CONST dim_type *p); |
53 |
|
54 |
/** |
55 |
* Write the canonical, indigestible form of the dimen with |
56 |
* full numeric details. ugh. |
57 |
*/ |
58 |
extern void WriteDimensions(FILE *f, CONST dim_type *dimp); |
59 |
|
60 |
/* @} */ |
61 |
|
62 |
#endif /* ASC_DIMEN_IO_H */ |
63 |
|