Flow123d  jenkins-Flow123d-linux-release-multijob-282
Public Types | Public Member Functions | Public Attributes | List of all members
OutputDataBase Class Referenceabstract

Common parent class for templated OutputData. More...

#include <output_data_base.hh>

Inheritance diagram for OutputDataBase:
Inheritance graph
[legend]
Collaboration diagram for OutputDataBase:
Collaboration graph
[legend]

Public Types

enum  NumCompValueType { N_SCALAR = 1, N_VECTOR = 3, N_TENSOR = 9 }
 

Public Member Functions

virtual ~OutputDataBase ()
 
virtual void print (ostream &out_stream, unsigned int idx)=0
 
virtual void print_all (ostream &out_stream)=0
 

Public Attributes

std::string output_field_name
 
std::string field_name
 
UnitSI field_units
 
unsigned int n_values
 
NumCompValueType n_elem_
 

Detailed Description

Common parent class for templated OutputData.

Provides virtual method for output of stored data.

Definition at line 24 of file output_data_base.hh.

Member Enumeration Documentation

Number of components of element data stored in the database.

Enumerator
N_SCALAR 
N_VECTOR 
N_TENSOR 

Definition at line 30 of file output_data_base.hh.

Constructor & Destructor Documentation

virtual OutputDataBase::~OutputDataBase ( )
inlinevirtual

Destructor of OutputDataBase

Definition at line 39 of file output_data_base.hh.

Member Function Documentation

virtual void OutputDataBase::print ( ostream &  out_stream,
unsigned int  idx 
)
pure virtual

Print one value at given index

Implemented in OutputData< Value >.

virtual void OutputDataBase::print_all ( ostream &  out_stream)
pure virtual

Print all data at once stored in database

Implemented in OutputData< Value >.

Member Data Documentation

std::string OutputDataBase::field_name

Definition at line 55 of file output_data_base.hh.

UnitSI OutputDataBase::field_units

Definition at line 56 of file output_data_base.hh.

NumCompValueType OutputDataBase::n_elem_

Number of data elements per data value.

Definition at line 66 of file output_data_base.hh.

unsigned int OutputDataBase::n_values

Number of data values.

Definition at line 61 of file output_data_base.hh.

std::string OutputDataBase::output_field_name

Data copied from Field.

Definition at line 54 of file output_data_base.hh.


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