24 #include "cheetah/exporters/SpCclFileStreamer.h" 32 template<
typename NumericalRep>
33 SpCclFileStreamer<NumericalRep>::SpCclFileStreamer(SpCclFileStreamerConfig
const& config)
36 this->extension(config.extension());
39 template<
typename NumericalRep>
40 SpCclFileStreamer<NumericalRep>::~SpCclFileStreamer()
44 template<
typename NumericalRep>
45 boost::filesystem::path SpCclFileStreamer<NumericalRep>::next_filename(data::SpCcl<NumericalRep>
const& data)
47 if(data.tf_blocks().size() ==0 )
48 return BaseT::next_filename(data);
49 std::time_t ttp = std::chrono::system_clock::to_time_t(data.tf_blocks()[0]->start_time());
51 std::strftime(stem,
sizeof(stem),
"%Y_%m_%d_%H:%M:%S", std::gmtime(&ttp));
52 boost::filesystem::path file = boost::filesystem::path(this->_prefix + stem + this->_extension);
Some limits and constants for FLDO.