29 #ifndef BOOST_FILESYSTEM_VERSION
30 #define BOOST_FILESYSTEM_VERSION 2
32 #include <boost/filesystem.hpp>
33 #include <boost/shared_ptr.hpp>
35 #include "../../common/datastructures/WDendrogram.h"
36 #include "../../common/WAssert.h"
37 #include "../../common/WIOTools.h"
38 #include "../exceptions/WDHIOFailure.h"
39 #include "WWriterDendrogram.h"
42 :
WWriter( path.file_string(), overwrite )
48 std::ofstream file(
m_fname.c_str() );
49 file << dendrogram->toString();