24 #ifndef PSS_ASTROTYPES_SIGPROC_FILEWRITER_H
25 #define PSS_ASTROTYPES_SIGPROC_FILEWRITER_H
32 namespace astrotypes {
40 template<
typename Dim1,
typename Dim2>
41 class FileWriter<Dim1, Dim2> :
public OStream<HeaderType, Dim1, Dim2>
46 FileWriter(std::string
const& file_name);
47 FileWriter(std::string
const& file_name, HeaderT
const& header);
53 void open(std::string
const& file_name);
58 template<
typename DataType>
59 typename std::enable_if<has_dimensions<DataType, units::Time, units::Frequency>::value,
FileReader>::type &
64 std::string _file_name;
67 using template<HeaderT> FilterBank FileWriter<HeaderType, units::Time, units::Frequency>;
68 using template<HeaderT> TimeSeries FileWriter<HeaderType, units::Frequency, units::Time>;
76 #endif // PSS_ASTROTYPES_SIGPROC_FILEWRITER_H
Header::InfoSentry< Stream > operator<<(Stream &os, Header::Info const &adapter)