Source
//# FlagMSHandler.h: This file contains the interface definition of the FlagMSHandler class.
//#
//# CASA - Common Astronomy Software Applications (http://casa.nrao.edu/)
//# Copyright (C) Associated Universities, Inc. Washington DC, USA 2011, All rights reserved.
//# Copyright (C) European Southern Observatory, 2011, All rights reserved.
//#
//# This library is free software; you can redistribute it and/or
//# modify it under the terms of the GNU Lesser General Public
//# License as published by the Free software Foundation; either
//# version 2.1 of the License, or (at your option) any later version.
//#
//# This library 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
//# Lesser General Public License for more details.
//#
//# You should have received a copy of the GNU Lesser General Public
//# License along with this library; if not, write to the Free Software
//# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
//# MA 02111-1307 USA
//# $Id: $
namespace casa { //# NAMESPACE CASA - BEGIN
namespace vi {
class FrequencySelectionUsingChannels;
class VisIterImpl2LayerFactory;
}
// Flag casacore::Data Handler class definition
class FlagMSHandler: public FlagDataHandler
{
public:
// Default constructor
// NOTE: casacore::Time interval 0 groups all time steps together in one chunk.
FlagMSHandler(string msname, casacore::uShort iterationApproach = SUB_INTEGRATION, casacore::Double timeInterval = 0);
// Default destructor
~FlagMSHandler();
// Open Measurement Set
bool open();
// Close Measurement Set
bool close();
// Generate selected Measurement Set
bool selectData();
// Parse casacore::MSSelection expression
bool parseExpression(casacore::MSSelection &parser);
// Generate Visibility Iterator
bool generateIterator();
// Move to next chunk