soma-io  5.1.2
soma::DefaultAsciiItemWriter< T > Class Template Reference

#include <soma-io/writer/itemwriter.h>

Inheritance diagram for soma::DefaultAsciiItemWriter< T >:
Collaboration diagram for soma::DefaultAsciiItemWriter< T >:

Public Member Functions

 DefaultAsciiItemWriter ()
 
virtual ~DefaultAsciiItemWriter ()
 
virtual long write (DataSource &ds, const T *pitem, size_t n) const
 
long write (DataSource &, const Void *, size_t n) const
 
- Public Member Functions inherited from soma::DefaultItemWriter< T >
 DefaultItemWriter ()
 
virtual ~DefaultItemWriter ()
 
virtual ItemWriter< T > * writer (bool binary=true, bool bswap=false) const
 Factory function. More...
 
long write (DataSource &, const Void *, size_t n) const
 
- Public Member Functions inherited from soma::ItemWriter< T >
virtual ~ItemWriter ()
 
bool write (DataSource &ds, const T &item) const
 

Detailed Description

template<typename T>
class soma::DefaultAsciiItemWriter< T >

Definition at line 84 of file itemwriter.h.

Constructor & Destructor Documentation

◆ DefaultAsciiItemWriter()

template<typename T >
soma::DefaultAsciiItemWriter< T >::DefaultAsciiItemWriter ( )
inline

Definition at line 87 of file itemwriter.h.

◆ ~DefaultAsciiItemWriter()

template<typename T >
virtual soma::DefaultAsciiItemWriter< T >::~DefaultAsciiItemWriter ( )
inlinevirtual

Definition at line 88 of file itemwriter.h.

Member Function Documentation

◆ write() [1/2]

long soma::DefaultAsciiItemWriter< Void >::write ( DataSource ,
const Void ,
size_t  n 
) const
inline

Definition at line 164 of file itemwriter.h.

◆ write() [2/2]

template<typename T >
long soma::DefaultAsciiItemWriter< T >::write ( DataSource ds,
const T *  pitem,
size_t  n 
) const
inlinevirtual

Reimplemented from soma::DefaultItemWriter< T >.

Definition at line 127 of file itemwriter.h.

References soma::DataSource::isOpen().


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