DefaultCommandArg.c File Reference

#include <string.h>
#include "DefaultCommandArg.h"

Include dependency graph for DefaultCommandArg.c:

Go to the source code of this file.

Functions

double * getDefRect (void)
char * getDefStrf (void)
char * getDefLegend (void)
double * getDefZminMax (void)
intgetDefNax (void)
intgetDefColMinMax (void)
intgetDefColOut (void)
BOOL getDefWithMesh (void)
char * getDefLogFlags (void)
void setDefRect (const double newDef[4])
void setDefStrf (const char newDef[4])
void setDefZminMax (const double newDef[2])
void setDefNax (const int newDef[4])
void setDefColMinMax (const int newDef[2])
void setDefColOut (const int newDef[2])
void setDefWithMesh (BOOL newDef)
void setDefLogFlags (const char newDef[4])
void reinitDefStrf (void)
void reinitDefStrfN (void)
void reinitDefLogFlags (void)
BOOL isDefRect (const double *rect)
BOOL isDefStrf (const char *strf)
BOOL isDefLegend (const char *legend)
BOOL isDefZminMax (const double *zminmax)
BOOL isDefNax (const int *nax)
BOOL isDefColMinMax (const int *colminmax)
BOOL isDefColOut (const int *colout)
BOOL isDefWithMesh (const BOOL withmesh)
BOOL isDefLogFlags (const char *logflags)

Variables

static double def_rect [4] = {0.0,0.0,0.0,0.0}
static char def_strf [4] = DEFSTRF
static char def_legend [] = "X@Y@Z"
static double def_zminmax [2] = {0.,0.}
static int def_nax [4] = {2,10,2,10}
static int def_colminmax [2] = {0,0}
static int def_colout [2] = {-1,-1}
static BOOL def_with_mesh = FALSE
static char def_logflags [4] = DEFLOGFLAGS


Function Documentation

int* getDefColMinMax ( void   ) 

Definition at line 36 of file DefaultCommandArg.c.

References def_colminmax.

Referenced by get_colminmax_arg().

00036 { return def_colminmax ; }

Here is the caller graph for this function:

int* getDefColOut ( void   ) 

Definition at line 38 of file DefaultCommandArg.c.

References def_colout.

Referenced by get_colout_arg().

00038 { return def_colout ; }

Here is the caller graph for this function:

char* getDefLegend ( void   ) 

Definition at line 30 of file DefaultCommandArg.c.

References def_legend.

Referenced by get_labels_arg(), and get_legend_arg().

00030 { return def_legend ; }

Here is the caller graph for this function:

char* getDefLogFlags ( void   ) 

Definition at line 42 of file DefaultCommandArg.c.

References def_logflags.

Referenced by get_logflags_arg().

00042 { return def_logflags ; }

Here is the caller graph for this function:

int* getDefNax ( void   ) 

Definition at line 34 of file DefaultCommandArg.c.

References def_nax.

Referenced by get_nax_arg().

00034 { return def_nax ; }

Here is the caller graph for this function:

double* getDefRect ( void   ) 

Definition at line 26 of file DefaultCommandArg.c.

References def_rect.

Referenced by get_rect_arg().

00026 { return def_rect ; }

Here is the caller graph for this function:

char* getDefStrf ( void   ) 

Definition at line 28 of file DefaultCommandArg.c.

References def_strf.

Referenced by get_strf_arg().

00028 { return def_strf ; }

Here is the caller graph for this function:

BOOL getDefWithMesh ( void   ) 

Definition at line 40 of file DefaultCommandArg.c.

References def_with_mesh.

Referenced by get_with_mesh_arg().

00040 { return def_with_mesh ; }

Here is the caller graph for this function:

double* getDefZminMax ( void   ) 

Definition at line 32 of file DefaultCommandArg.c.

References def_zminmax.

Referenced by get_zminmax_arg().

00032 { return def_zminmax ; }

Here is the caller graph for this function:

BOOL isDefColMinMax ( const int colminmax  ) 

Definition at line 145 of file DefaultCommandArg.c.

References def_colminmax.

00146 {
00147   return colminmax == def_colminmax ;
00148 }

BOOL isDefColOut ( const int colout  ) 

Definition at line 150 of file DefaultCommandArg.c.

References def_colout.

00151 {
00152   return colout == def_colout ;
00153 }

BOOL isDefLegend ( const char *  legend  ) 

Definition at line 130 of file DefaultCommandArg.c.

References def_legend.

Referenced by sci_fec(), sci_plot2d(), and sci_plot2d1_G().

00131 {
00132   return legend == def_legend ;
00133 }

Here is the caller graph for this function:

BOOL isDefLogFlags ( const char *  logflags  ) 

Definition at line 160 of file DefaultCommandArg.c.

References def_logflags.

00161 {
00162   return logflags == def_logflags ;
00163 }

BOOL isDefNax ( const int nax  ) 

Definition at line 140 of file DefaultCommandArg.c.

References def_nax.

00141 {
00142   return nax == def_nax ;
00143 }

BOOL isDefRect ( const double *  rect  ) 

Definition at line 120 of file DefaultCommandArg.c.

References def_rect.

Referenced by sci_champ_G(), sci_fec(), sci_grayplot(), sci_matplot(), sci_plot2d(), and sci_plot2d1_G().

00121 {
00122   return rect == def_rect ;
00123 }

Here is the caller graph for this function:

BOOL isDefStrf ( const char *  strf  ) 

Definition at line 125 of file DefaultCommandArg.c.

References def_strf.

Referenced by sci_champ_G(), sci_fec(), sci_grayplot(), sci_matplot(), sci_plot2d(), and sci_plot2d1_G().

00126 {
00127   return strf == def_strf ;
00128 }

Here is the caller graph for this function:

BOOL isDefWithMesh ( const BOOL  withmesh  ) 

Definition at line 155 of file DefaultCommandArg.c.

References def_with_mesh.

00156 {
00157   return withmesh == def_with_mesh ;
00158 }

BOOL isDefZminMax ( const double *  zminmax  ) 

Definition at line 135 of file DefaultCommandArg.c.

References def_zminmax.

00136 {
00137   return zminmax == def_zminmax ;
00138 }

void reinitDefLogFlags ( void   ) 

Definition at line 113 of file DefaultCommandArg.c.

References def_logflags, and DEFLOGFLAGS.

00114 {
00115   strcpy( def_logflags, DEFLOGFLAGS ) ;
00116 }

void reinitDefStrf ( void   ) 

Definition at line 103 of file DefaultCommandArg.c.

References def_strf, and DEFSTRF.

Referenced by get_strf_arg().

00104 {
00105   strcpy( def_strf, DEFSTRF ) ;
00106 }

Here is the caller graph for this function:

void reinitDefStrfN ( void   ) 

Definition at line 108 of file DefaultCommandArg.c.

References def_strf, and DEFSTRFN.

Referenced by get_strf_arg().

00109 {
00110   strcpy( def_strf, DEFSTRFN ) ;
00111 }

Here is the caller graph for this function:

void setDefColMinMax ( const int  newDef[2]  ) 

Definition at line 76 of file DefaultCommandArg.c.

References def_colminmax.

Referenced by get_colminmax_arg().

00077 {
00078   def_colminmax[0] = newDef[0] ;
00079   def_colminmax[1] = newDef[1] ;
00080 }

Here is the caller graph for this function:

void setDefColOut ( const int  newDef[2]  ) 

Definition at line 82 of file DefaultCommandArg.c.

References def_colout.

Referenced by get_colout_arg().

00083 {
00084   def_colout[0] = newDef[0] ;
00085   def_colout[1] = newDef[1] ;
00086 }

Here is the caller graph for this function:

void setDefLogFlags ( const char  newDef[4]  ) 

Definition at line 93 of file DefaultCommandArg.c.

References def_logflags.

00094 {
00095   def_logflags[0] = newDef[0] ;
00096   def_logflags[1] = newDef[1] ;
00097   def_logflags[2] = newDef[2] ;
00098   /* last element shoud be /0 */
00099 }

void setDefNax ( const int  newDef[4]  ) 

Definition at line 68 of file DefaultCommandArg.c.

References def_nax.

00069 {
00070   def_nax[0] = newDef[0] ;
00071   def_nax[1] = newDef[1] ;
00072   def_nax[2] = newDef[2] ;
00073   def_nax[3] = newDef[3] ;
00074 }

void setDefRect ( const double  newDef[4]  ) 

Definition at line 46 of file DefaultCommandArg.c.

References def_rect.

Referenced by get_rect_arg().

00047 {
00048   def_rect[0] = newDef[0] ;
00049   def_rect[1] = newDef[1] ;
00050   def_rect[2] = newDef[2] ;
00051   def_rect[3] = newDef[3] ;
00052 }

Here is the caller graph for this function:

void setDefStrf ( const char  newDef[4]  ) 

Definition at line 54 of file DefaultCommandArg.c.

References def_strf.

00055 {
00056   def_strf[0] = newDef[0] ;
00057   def_strf[1] = newDef[1] ;
00058   def_strf[2] = newDef[2] ;
00059   /* last element shoud be /0 */
00060 }

void setDefWithMesh ( BOOL  newDef  ) 

Definition at line 88 of file DefaultCommandArg.c.

References def_with_mesh.

Referenced by get_with_mesh_arg().

00089 {
00090   def_with_mesh = newDef ;
00091 }

Here is the caller graph for this function:

void setDefZminMax ( const double  newDef[2]  ) 

Definition at line 62 of file DefaultCommandArg.c.

References def_zminmax.

Referenced by get_zminmax_arg().

00063 {
00064   def_zminmax[0] = newDef[0] ;
00065   def_zminmax[1] = newDef[1] ;
00066 }

Here is the caller graph for this function:


Variable Documentation

int def_colminmax[2] = {0,0} [static]

Definition at line 19 of file DefaultCommandArg.c.

Referenced by getDefColMinMax(), isDefColMinMax(), and setDefColMinMax().

int def_colout[2] = {-1,-1} [static]

Definition at line 20 of file DefaultCommandArg.c.

Referenced by getDefColOut(), isDefColOut(), and setDefColOut().

char def_legend[] = "X@Y@Z" [static]

Definition at line 16 of file DefaultCommandArg.c.

Referenced by getDefLegend(), and isDefLegend().

char def_logflags[4] = DEFLOGFLAGS [static]

Definition at line 22 of file DefaultCommandArg.c.

Referenced by getDefLogFlags(), isDefLogFlags(), reinitDefLogFlags(), and setDefLogFlags().

int def_nax[4] = {2,10,2,10} [static]

Definition at line 18 of file DefaultCommandArg.c.

Referenced by getDefNax(), isDefNax(), and setDefNax().

double def_rect[4] = {0.0,0.0,0.0,0.0} [static]

Definition at line 14 of file DefaultCommandArg.c.

Referenced by getDefRect(), isDefRect(), and setDefRect().

char def_strf[4] = DEFSTRF [static]

Definition at line 15 of file DefaultCommandArg.c.

Referenced by getDefStrf(), isDefStrf(), reinitDefStrf(), reinitDefStrfN(), and setDefStrf().

BOOL def_with_mesh = FALSE [static]

Definition at line 21 of file DefaultCommandArg.c.

Referenced by getDefWithMesh(), isDefWithMesh(), and setDefWithMesh().

double def_zminmax[2] = {0.,0.} [static]

Definition at line 17 of file DefaultCommandArg.c.

Referenced by getDefZminMax(), isDefZminMax(), and setDefZminMax().


Generated on Sun Mar 4 15:40:03 2007 for Scilab [trunk] by  doxygen 1.5.1