casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FlagReport.h
Go to the documentation of this file.
1 //# FlagReport.h: This file contains the interface definition of the FlagReport class.
2 //#
3 //# CASA - Common Astronomy Software Applications (http://casa.nrao.edu/)
4 //# Copyright (C) Associated Universities, Inc. Washington DC, USA 2011, All rights reserved.
5 //# Copyright (C) European Southern Observatory, 2011, All rights reserved.
6 //#
7 //# This library is free software; you can redistribute it and/or
8 //# modify it under the terms of the GNU Lesser General Public
9 //# License as published by the Free software Foundation; either
10 //# version 2.1 of the License, or (at your option) any later version.
11 //#
12 //# This library is distributed in the hope that it will be useful,
13 //# but WITHOUT ANY WARRANTY, without even the implied warranty of
14 //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 //# Lesser General Public License for more details.
16 //#
17 //# You should have received a copy of the GNU Lesser General Public
18 //# License along with this library; if not, write to the Free Software
19 //# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
20 //# MA 02111-1307 USA
21 //# $Id: $
22 
23 #ifndef FLAGREPORT_H_
24 #define FLAGREPORT_H_
25 
26 // .casarc interface
28 
29 // Records interface
30 #include <casa/Containers/Record.h>
31 
32 // System utilities (for profiling macros)
33 #include <casa/OS/HostInfo.h>
34 #include <sys/time.h>
35 
36 namespace casa { //# NAMESPACE CASA - BEGIN
37 
38 // Everything going into the FlagReport is by value
39 // Everything going out of it is by reference
41 {
42  public:
46  // TODO : By value. Change to by-reference
48  FlagReport(const casacore::Record &other);
49  ~FlagReport();
50 
51  // Add, query and access reports from a "list" type FlagReport
55 
56  // Add and query data to plot, for FlagReports of type "plotraster","plotline","plotscatter"
58  //casacore::Bool addData(casacore::Vector<casacore::Float> xdata,casacore::Vector<casacore::Float> ydata, casacore::String label);
61 
63  // Check validity of FlagReport.
65 
66  protected:
67 
68  private:
70 };
71 
72 
73 
74 
75 } //# NAMESPACE CASA - END
76 
77 #endif /* FLAGDATAHANDLER_H_ */
int Int
Definition: aipstype.h:50
casacore::Bool addData(casacore::Array< casacore::Float > data)
Add and query data to plot, for FlagReports of type &quot;plotraster&quot;,&quot;plotline&quot;,&quot;plotscatter&quot;.
FlagReport(casacore::String type=casacore::String("none"), casacore::String name=casacore::String(""), casacore::String title=casacore::String(""), casacore::String xlabel=casacore::String(""), casacore::String ylabel=casacore::String(""))
casacore::Bool accessReport(casacore::Int index, FlagReport &outReport)
virtual DataType type(Int whichField) const
Get the data type of this field.
casacore::Int nReport()
ostream-like interface to creating log messages.
Definition: LogIO.h:167
casacore::LogIO logger_p
Definition: FlagReport.h:69
casacore::Int nData()
casacore::String reportType()
Everything going into the FlagReport is by value Everything going out of it is by reference...
Definition: FlagReport.h:40
ABSTRACT CLASSES Deliberately vague to be general enough to allow for many different types of data
Definition: PlotData.h:48
casacore::Bool verifyFields()
Check validity of FlagReport.
A hierarchical collection of named fields of various types.
Definition: Record.h:180
bool Bool
Define the standard types used by Casacore.
Definition: aipstype.h:42
casacore::Bool addReport(FlagReport inpReport)
Add, query and access reports from a &quot;list&quot; type FlagReport.
String: the storage and methods of handling collections of characters.
Definition: String.h:223
String name(const RecordFieldId &) const
Get the name of this field.