OpenWalnut  1.4.0
Public Member Functions
WWriterDendrogram Class Reference

Writes a Dendrogram file. More...

#include <WWriterDendrogram.h>

+ Inheritance diagram for WWriterDendrogram:

List of all members.

Public Member Functions

 WWriterDendrogram (const boost::filesystem::path &path, bool overwrite=false)
 Creates a writer object for Dendrogram file writing.
void write (boost::shared_ptr< const WDendrogram > dendrogram) const
 Writes finaly the given dendrogram to the previously specified file.

Detailed Description

Writes a Dendrogram file.

Definition at line 40 of file WWriterDendrogram.h.


Constructor & Destructor Documentation

WWriterDendrogram::WWriterDendrogram ( const boost::filesystem::path &  path,
bool  overwrite = false 
)

Creates a writer object for Dendrogram file writing.

Parameters:
pathto the target file where stuff will be written to
overwriteIf true existing files will be overwritten

Definition at line 37 of file WWriterDendrogram.cpp.


Member Function Documentation

void WWriterDendrogram::write ( boost::shared_ptr< const WDendrogram dendrogram) const

Writes finaly the given dendrogram to the previously specified file.

Parameters:
dendrogramThe dendrogram to save

Definition at line 42 of file WWriterDendrogram.cpp.

References WWriter::m_fname.


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