Generic data set interface. More...
#include <MeshVizXLM/mesh/data/MiDataSet.h>
Public Member Functions | |
virtual | ~MiBoundedDataSet () |
virtual _T | getMin () const |
virtual _T | getMax () const |
Protected Member Functions | |
virtual std::ostream & | toStream (std::ostream &s) const |
A generic abstract template interface for a data set with boundaries (min and max) usable in any extract of a mesh. Type _T must have an explicit constructor with a double variable.
virtual MiBoundedDataSet< _T >::~MiBoundedDataSet | ( | ) | [inline, virtual] |
virtual _T MiBoundedDataSet< _T >::getMax | ( | ) | const [inline, virtual] |
Returns the maximum value of this set.
Reimplemented in MeXDataSet< _T >.
virtual _T MiBoundedDataSet< _T >::getMin | ( | ) | const [inline, virtual] |
Returns the minimum value of this set.
Reimplemented in MeXDataSet< _T >.
virtual std::ostream& MiBoundedDataSet< _T >::toStream | ( | std::ostream & | s | ) | const [inline, protected, virtual] |
Performs an output operation on a stream which is returned afterward. This method is protected since only called by the output operator <<. This method is not pure virtual and output by default the geometry and topology of a mesh. Whenever a different output is needed, this method can be implemented in the subclass to get a different output format. No std::ostream& operator << needs to be defined in any subclass. This allows you to benefit from the virtual inheritance when using the output operator on an abstract class.
Reimplemented from MiDataSet.