Overture  Version 25
Public Types | Public Member Functions | Protected Attributes | Friends | List of all members
DisplayParameters Class Reference

#include <DisplayParameters.h>

Public Types

enum  DisplayOption {
  intFormat, floatFormat, doubleFormat, labelAllIndicies,
  labelNoIndicies, labelIndex, forwardOrdering, backwardOrdering,
  strideForAllIndicies, indexStride
}
 

Public Member Functions

 DisplayParameters ()
 
 ~DisplayParameters ()
 
int set (FILE *file)
 
int set (const DisplayOption &displayOption)
 
int set (const DisplayOption &displayOption, const int &value)
 
int set (const DisplayOption &displayOption, const aString &value)
 
int set (const DisplayOption &displayOption, const int &index, const int &value)
 

Protected Attributes

FILE * file
 
aString iFormat
 
aString fFormat
 
aString dFormat
 
int indexLabel [MAX_ARRAY_DIMENSION]
 
bool ordering
 
int stride [MAX_ARRAY_DIMENSION]
 

Friends

class intGridCollectionFunction
 
class floatGridCollectionFunction
 
class doubleGridCollectionFunction
 
int display (const intArray &x, const char *label, FILE *file, const char *format_, const DisplayParameters *displayParameters, const Index *Iv)
 
int display (const floatArray &x, const char *label, FILE *file, const char *format_, const DisplayParameters *displayParameters, const Index *Iv)
 
int display (const doubleArray &x, const char *label, FILE *file, const char *format_, const DisplayParameters *displayParameters, const Index *Iv)
 
int displayMaskPrivate (const intArray &mask, const aString &label, FILE *file, const DisplayParameters *displayParameters, const Index *Iv)
 

Member Enumeration Documentation

Enumerator
intFormat 
floatFormat 
doubleFormat 
labelAllIndicies 
labelNoIndicies 
labelIndex 
forwardOrdering 
backwardOrdering 
strideForAllIndicies 
indexStride 

Constructor & Destructor Documentation

DisplayParameters::DisplayParameters ( )
DisplayParameters::~DisplayParameters ( )

Member Function Documentation

int DisplayParameters::set ( FILE *  file)
int DisplayParameters::set ( const DisplayOption displayOption)
int DisplayParameters::set ( const DisplayOption displayOption,
const int &  value 
)

References stride, and strideForAllIndicies.

int DisplayParameters::set ( const DisplayOption displayOption,
const aString value 
)
int DisplayParameters::set ( const DisplayOption displayOption,
const int &  index,
const int &  value 
)

Friends And Related Function Documentation

int display ( const intArray &  x,
const char *  label,
FILE *  file,
const char *  format_,
const DisplayParameters displayParameters,
const Index *  Iv 
)
friend
int display ( const floatArray &  x,
const char *  label,
FILE *  file,
const char *  format_,
const DisplayParameters displayParameters,
const Index *  Iv 
)
friend
int display ( const doubleArray &  x,
const char *  label,
FILE *  file,
const char *  format_,
const DisplayParameters displayParameters,
const Index *  Iv 
)
friend
int displayMaskPrivate ( const intArray &  mask,
const aString label,
FILE *  file,
const DisplayParameters displayParameters,
const Index *  Iv 
)
friend
friend class doubleGridCollectionFunction
friend
friend class floatGridCollectionFunction
friend
friend class intGridCollectionFunction
friend

Member Data Documentation

aString DisplayParameters::dFormat
protected

Referenced by display(), DisplayParameters(), and set().

aString DisplayParameters::fFormat
protected

Referenced by display(), DisplayParameters(), and set().

FILE* DisplayParameters::file
protected
aString DisplayParameters::iFormat
protected

Referenced by display(), DisplayParameters(), and set().

int DisplayParameters::indexLabel[MAX_ARRAY_DIMENSION]
protected
bool DisplayParameters::ordering
protected
int DisplayParameters::stride[MAX_ARRAY_DIMENSION]
protected

Referenced by display(), DisplayParameters(), and set().


The documentation for this class was generated from the following files: