aims::DefaultItemWriter< T > Class Template Reference

Default low-levels writers. More...

#include <aims/io/defaultItemW.h>

Inheritance diagram for aims::DefaultItemWriter< T >:
Collaboration diagram for aims::DefaultItemWriter< T >:

Public Member Functions

 DefaultItemWriter ()
virtual ~DefaultItemWriter ()
virtual void write (std::ostream &os, const T &item) const
virtual void write (std::ostream &os, const T *pitem, size_t n) const
virtual ItemWriter< T > * writer (const std::string &openmode="binar", bool bswap=false) const
void write (std::ostream &, const Void *, size_t) const
- Public Member Functions inherited from aims::ItemWriter< T >
virtual ~ItemWriter ()

Detailed Description

template<class T>
class aims::DefaultItemWriter< T >

Default low-levels writers.

They are a default implementation of the writers for most common types, and can be specialized for other types if needed. We have aleady specialized AimsVector writers

See also

Definition at line 58 of file defaultItemW.h.

Constructor & Destructor Documentation

template<class T>
aims::DefaultItemWriter< T >::DefaultItemWriter ( )

Definition at line 61 of file defaultItemW.h.

template<class T>
virtual aims::DefaultItemWriter< T >::~DefaultItemWriter ( )

Definition at line 62 of file defaultItemW.h.

Member Function Documentation

template<class T >
void aims::DefaultItemWriter< T >::write ( std::ostream &  os,
const T *  pitem,
size_t  n 
) const
void aims::DefaultItemWriter< Void >::write ( std::ostream &  ,
const Void ,
) const

Definition at line 234 of file defaultItemW.h.

template<class T >
ItemWriter< T > * aims::DefaultItemWriter< T >::writer ( const std::string &  openmode = "binar",
bool  bswap = false 
) const

Implements aims::ItemWriter< T >.

Definition at line 139 of file defaultItemW.h.

Referenced by aims::BckMapWriter< T >::write(), and aims::TexWriter< T >::write().

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