OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
FieldPrint< T, Dim > Class Template Reference

#include <FieldPrint.h>

Collaboration diagram for FieldPrint< T, Dim >:

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

◆ FieldPrint()

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.

References CarReturn, DataPrecision, DataWidth, IndexWidth, MyField, Parent, and Scientific.

◆ ~FieldPrint()

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

Definition at line 33 of file FieldPrint.h.

Member Function Documentation

◆ print()

◆ set_CarReturn()

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

Definition at line 40 of file FieldPrint.h.

References CarReturn.

◆ set_DataPrecision()

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

Definition at line 39 of file FieldPrint.h.

References DataPrecision.

◆ set_DataWidth()

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

Definition at line 38 of file FieldPrint.h.

References DataWidth.

◆ set_IndexWidth()

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

Definition at line 37 of file FieldPrint.h.

References IndexWidth.

◆ set_Scientific()

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

Definition at line 41 of file FieldPrint.h.

References Scientific.

Member Data Documentation

◆ CarReturn

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

Definition at line 52 of file FieldPrint.h.

Referenced by FieldPrint(), print(), and set_CarReturn().

◆ DataPrecision

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

Definition at line 51 of file FieldPrint.h.

Referenced by FieldPrint(), print(), and set_DataPrecision().

◆ DataWidth

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

Definition at line 50 of file FieldPrint.h.

Referenced by FieldPrint(), print(), and set_DataWidth().

◆ IndexWidth

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

Definition at line 49 of file FieldPrint.h.

Referenced by FieldPrint(), print(), and set_IndexWidth().

◆ MyField

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

Definition at line 44 of file FieldPrint.h.

Referenced by FieldPrint(), and print().

◆ Parent

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

Definition at line 46 of file FieldPrint.h.

Referenced by FieldPrint(), and print().

◆ Scientific

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

Definition at line 53 of file FieldPrint.h.

Referenced by FieldPrint(), print(), and set_Scientific().


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