Sundance::FieldWriterFactory Class Reference

Inheritance diagram for Sundance::FieldWriterFactory:

Playa::Handle< FieldWriterFactoryBase >

List of all members.

Public Member Functions

 FieldWriterFactory ()
 FieldWriterFactory (Handleable< FieldWriterFactoryBase > *rawPtr)
 FieldWriterFactory (const RefCountPtr< FieldWriterFactoryBase > &smartPtr)
FieldWriter createWriter (const string &filename) const


Detailed Description

In some contexts the user can't construct a writer directly; for example, during timestepping the writer might be constructed by the step controller. FieldWriterFactory provides a way for a user to specify what kind of writer should be created.

Definition at line 47 of file SundanceFieldWriterFactory.hpp.


Constructor & Destructor Documentation

Sundance::FieldWriterFactory::FieldWriterFactory (  )  [inline]

Empty ctor

Definition at line 51 of file SundanceFieldWriterFactory.hpp.

Sundance::FieldWriterFactory::FieldWriterFactory ( Handleable< FieldWriterFactoryBase > *  rawPtr  )  [inline]

Construct a FieldWriterFactory with a raw pointer to a FieldWriterFactoryBase

Definition at line 51 of file SundanceFieldWriterFactory.hpp.

Sundance::FieldWriterFactory::FieldWriterFactory ( const RefCountPtr< FieldWriterFactoryBase > &  smartPtr  )  [inline]

Construct a FieldWriterFactory with a smart pointer to a FieldWriterFactoryBase

Definition at line 51 of file SundanceFieldWriterFactory.hpp.


Member Function Documentation

FieldWriter Sundance::FieldWriterFactory::createWriter ( const string &  filename  )  const

Create a writer with the specified filename

Definition at line 38 of file SundanceFieldWriterFactory.cpp.

References Playa::Handle< FieldWriterFactoryBase >::ptr().

Referenced by Sundance::DoublingStepController::write().

Site Contact