Overture  Version 25
display.h
Go to the documentation of this file.
1 #ifndef DISPLAY_FUNCIONS_H
2 #define DISPLAY_FUNCIONS_H
3 
4 #include "DisplayParameters.h"
5 #include "GridFunction.h"
6 
7 extern const aString nullString;
8 
9 int display( const intArray & x, const char *label= NULL, FILE *file = NULL, const char *format_=NULL,
10  const Index *Iv=NULL );
11 int display( const floatArray & x, const char *label= NULL, FILE *file = NULL, const char *format_=NULL,
12  const Index *Iv=NULL );
13 int display( const doubleArray & x, const char *label= NULL, FILE *file = NULL, const char *format_=NULL,
14  const Index *Iv=NULL );
15 
16 int display( const intArray & x, const char *label, const char *format_, const Index *Iv=NULL );
17 int display( const floatArray & x, const char *label, const char *format_, const Index *Iv=NULL );
18 int display( const doubleArray & x, const char *label, const char *format_, const Index *Iv=NULL );
19 
20 // pass option arguments in the DisplayParameters object
21 int display( const intArray & x, const char *label, const DisplayParameters & displayParameters,
22  const Index *Iv=NULL);
23 int display( const floatArray & x, const char *label, const DisplayParameters & displayParameters,
24  const Index *Iv=NULL);
25 int display( const doubleArray & x, const char *label, const DisplayParameters & displayParameters,
26  const Index *Iv=NULL);
27 
28 // display the mask from a MappedGrid:
29 int displayMask( const intArray & mask, const aString & label=nullString, FILE *file = NULL,
30  const Index *Iv=NULL);
31 int displayMask( const intArray & mask, const aString & label, const DisplayParameters & displayParameters,
32  const Index *Iv=NULL);
33 
34 // display the equations in a coefficient matrix
36  const aString & label,
37  FILE *file=stdout,
38  const aString format =nullString );
39 
40 #ifdef USE_PPP
41 int display( const intSerialArray & x, const char *label= NULL, FILE *file = NULL, const char *format_=NULL,
42  const Index *Iv=NULL );
43 int display( const floatSerialArray & x, const char *label= NULL, FILE *file = NULL, const char *format_=NULL,
44  const Index *Iv=NULL );
45 int display( const doubleSerialArray & x, const char *label= NULL, FILE *file = NULL, const char *format_=NULL,
46  const Index *Iv=NULL );
47 
48 int display( const intSerialArray & x, const char *label, const char *format_, const Index *Iv=NULL );
49 int display( const floatSerialArray & x, const char *label, const char *format_, const Index *Iv=NULL );
50 int display( const doubleSerialArray & x, const char *label, const char *format_, const Index *Iv=NULL );
51 
52 int display( const intSerialArray & x, const char *label, const DisplayParameters & displayParameters,
53  const Index *Iv=NULL);
54 int display( const floatSerialArray & x, const char *label, const DisplayParameters & displayParameters,
55  const Index *Iv=NULL);
56 int display( const doubleSerialArray & x, const char *label, const DisplayParameters & displayParameters,
57  const Index *Iv=NULL);
58 
59 // display the mask from a MappedGrid:
60 int displayMask( const intSerialArray & mask, const aString & label=nullString, FILE *file = NULL,
61  const Index *Iv=NULL);
62 int displayMask( const intSerialArray & mask, const aString & label, const DisplayParameters & displayParameters,
63  const Index *Iv=NULL);
64 #endif
65 
66 #endif