"git@git.astron.nl:astron-sdc/ldv-specification.git" did not exist on "48ab13fd9af8d38c10ea25fbf6c895f28e3aaa40"
-
Alexander van Amesfoort authoredAlexander van Amesfoort authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
MSWriterFile.h 1.43 KiB
//# MSMriterFile.h: raw file writer implementation of MSWriter
//# Copyright (C) 2009-2013 ASTRON (Netherlands Institute for Radio Astronomy)
//# P.O. Box 2, 7990 AA Dwingeloo, The Netherlands
//#
//# This file is part of the LOFAR software suite.
//# The LOFAR software suite is free software: you can redistribute it and/or
//# modify it under the terms of the GNU General Public License as published
//# by the Free Software Foundation, either version 3 of the License, or
//# (at your option) any later version.
//#
//# The LOFAR software suite is distributed in the hope that it will be useful,
//# but WITHOUT ANY WARRANTY; without even the implied warranty of
//# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
//# GNU General Public License for more details.
//#
//# You should have received a copy of the GNU General Public License along
//# with the LOFAR software suite. If not, see <http://www.gnu.org/licenses/>.
//#
//# $Id$
#ifndef LOFAR_STORAGE_MSWRITERFILE_H
#define LOFAR_STORAGE_MSWRITERFILE_H
#include <string>
#include <CoInterface/StreamableData.h>
#include "MSWriter.h"
#include "FastFileStream.h"
namespace LOFAR
{
namespace Cobalt
{
class MSWriterFile : public MSWriter
{
public:
MSWriterFile(const std::string &msName);
~MSWriterFile();
virtual void write(StreamableData *data);
virtual size_t getDataSize();
protected:
FastFileStream itsFile;
};
}
}
#endif