RVL::BinaryWriter< Scalar > Class Template Reference

Dumps binary data in memory to a binary file 16.12.06: starting at file position first, setable via seek(int). More...

#include <functions.hh>

Inheritance diagram for RVL::BinaryWriter< Scalar >:

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

Public Member Functions

 BinaryWriter (char const *fname, long _first=0L)
 BinaryWriter (const string fname, long _first=0L)
 ~BinaryWriter ()
bool seek (size_t firstword)
 seek to specified word in file - note: not offset in bytes!
void operator() (LocalDataContainer< Scalar > const &v)
string getName () const

Detailed Description

template<class Scalar>
class RVL::BinaryWriter< Scalar >

Dumps binary data in memory to a binary file 16.12.06: starting at file position first, setable via seek(int).

Definition at line 699 of file functions.hh.


Constructor & Destructor Documentation

template<class Scalar>
RVL::BinaryWriter< Scalar >::BinaryWriter ( char const *  fname,
long  _first = 0L 
)

Definition at line 708 of file functions.hh.

template<class Scalar>
RVL::BinaryWriter< Scalar >::BinaryWriter ( const string  fname,
long  _first = 0L 
)

Definition at line 722 of file functions.hh.

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

Definition at line 735 of file functions.hh.


Member Function Documentation

template<class Scalar>
bool RVL::BinaryWriter< Scalar >::seek ( size_t  firstword  ) 

seek to specified word in file - note: not offset in bytes!

Definition at line 738 of file functions.hh.

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

Implements RVL::UnaryLocalConstEval< Scalar >.

Definition at line 745 of file functions.hh.

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

template<class Scalar>
string RVL::BinaryWriter< Scalar >::getName (  )  const

Definition at line 756 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