RVL::ASCIIWriter< Scalar > Class Template Reference

Write an LDC to a file, where the first line is expected to contain data on the dimension. More...

#include <functions.hh>

Inheritance diagram for RVL::ASCIIWriter< Scalar >:

RVL::UnaryLocalFunctionObjectConstEval< Scalar > RVL::FunctionObjectConstEval RVL::UnaryLocalConstEval< Scalar > RVL::Writeable RVL::LocalConstEval< Scalar > List of all members.

Public Member Functions

 ASCIIWriter (string fname)
 ~ASCIIWriter ()
void operator() (LocalDataContainer< Scalar > const &v)
string getName () const

Detailed Description

template<class Scalar>
class RVL::ASCIIWriter< Scalar >

Write an LDC to a file, where the first line is expected to contain data on the dimension.

Note that the argument to operator() should really be const. However that would require either adding another FO type or inventing a void RetType and subclassing this from Reduction, neither of which is appealing at all.

Definition at line 595 of file functions.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::ASCIIWriter< Scalar >::ASCIIWriter ( string  fname  ) 

Definition at line 602 of file functions.hh.

template<class Scalar>
RVL::ASCIIWriter< Scalar >::~ASCIIWriter (  ) 

Definition at line 609 of file functions.hh.


Member Function Documentation

template<class Scalar>
void RVL::ASCIIWriter< Scalar >::operator() ( LocalDataContainer< Scalar > const &  v  )  [virtual]

Implements RVL::UnaryLocalConstEval< Scalar >.

Definition at line 612 of file functions.hh.

References RVL::LocalDataContainer< DataType >::getData(), and RVL::LocalDataContainer< DataType >::getSize().

template<class Scalar>
string RVL::ASCIIWriter< Scalar >::getName (  )  const [virtual]

Implements RVL::FunctionObjectConstEval.

Definition at line 627 of file functions.hh.


The documentation for this class was generated from the following file:
Generated on 5 Jan 2017 for LocalRVL by  doxygen 1.4.7