OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Public Member Functions | Private Attributes | List of all members
FieldPrint< T, Dim > Class Template Reference

#include <FieldPrint.h>

Public Member Functions

 FieldPrint (BareField< T, Dim > &f, unsigned parent=0, int indexWidth=3, int dataWidth=8, int dataPrecision=4, int carReturn=-1, bool scientific=false)
 
 ~FieldPrint ()
 
void print (NDIndex< Dim > &view)
 
void set_IndexWidth (unsigned in)
 
void set_DataWidth (unsigned in)
 
void set_DataPrecision (unsigned in)
 
void set_CarReturn (int in)
 
void set_Scientific (bool in)
 

Private Attributes

BareField< T, Dim > & MyField
 
unsigned Parent
 
unsigned IndexWidth
 
unsigned DataWidth
 
unsigned DataPrecision
 
int CarReturn
 
bool Scientific
 

Detailed Description

template<class T, unsigned Dim>
class FieldPrint< T, Dim >

Definition at line 21 of file FieldPrint.h.

Constructor & Destructor Documentation

template<class T , unsigned Dim>
FieldPrint< T, Dim >::FieldPrint ( BareField< T, Dim > &  f,
unsigned  parent = 0,
int  indexWidth = 3,
int  dataWidth = 8,
int  dataPrecision = 4,
int  carReturn = -1,
bool  scientific = false 
)
inline

Definition at line 26 of file FieldPrint.h.

template<class T , unsigned Dim>
FieldPrint< T, Dim >::~FieldPrint ( )
inline

Definition at line 33 of file FieldPrint.h.

Member Function Documentation

template<class T , unsigned Dim>
void FieldPrint< T, Dim >::print ( NDIndex< Dim > &  view)
template<class T , unsigned Dim>
void FieldPrint< T, Dim >::set_CarReturn ( int  in)
inline

Definition at line 40 of file FieldPrint.h.

References FieldPrint< T, Dim >::CarReturn.

template<class T , unsigned Dim>
void FieldPrint< T, Dim >::set_DataPrecision ( unsigned  in)
inline

Definition at line 39 of file FieldPrint.h.

References FieldPrint< T, Dim >::DataPrecision.

template<class T , unsigned Dim>
void FieldPrint< T, Dim >::set_DataWidth ( unsigned  in)
inline

Definition at line 38 of file FieldPrint.h.

References FieldPrint< T, Dim >::DataWidth.

template<class T , unsigned Dim>
void FieldPrint< T, Dim >::set_IndexWidth ( unsigned  in)
inline

Definition at line 37 of file FieldPrint.h.

References FieldPrint< T, Dim >::IndexWidth.

template<class T , unsigned Dim>
void FieldPrint< T, Dim >::set_Scientific ( bool  in)
inline

Definition at line 41 of file FieldPrint.h.

References FieldPrint< T, Dim >::Scientific.

Member Data Documentation

template<class T , unsigned Dim>
int FieldPrint< T, Dim >::CarReturn
private

Definition at line 52 of file FieldPrint.h.

Referenced by FieldPrint< T, Dim >::set_CarReturn().

template<class T , unsigned Dim>
unsigned FieldPrint< T, Dim >::DataPrecision
private

Definition at line 51 of file FieldPrint.h.

Referenced by FieldPrint< T, Dim >::set_DataPrecision().

template<class T , unsigned Dim>
unsigned FieldPrint< T, Dim >::DataWidth
private

Definition at line 50 of file FieldPrint.h.

Referenced by FieldPrint< T, Dim >::set_DataWidth().

template<class T , unsigned Dim>
unsigned FieldPrint< T, Dim >::IndexWidth
private

Definition at line 49 of file FieldPrint.h.

Referenced by FieldPrint< T, Dim >::set_IndexWidth().

template<class T , unsigned Dim>
BareField<T,Dim>& FieldPrint< T, Dim >::MyField
private

Definition at line 44 of file FieldPrint.h.

template<class T , unsigned Dim>
unsigned FieldPrint< T, Dim >::Parent
private

Definition at line 46 of file FieldPrint.h.

template<class T , unsigned Dim>
bool FieldPrint< T, Dim >::Scientific
private

Definition at line 53 of file FieldPrint.h.

Referenced by FieldPrint< T, Dim >::set_Scientific().


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