Source
20
20
//# Internet email: aips2-request@nrao.edu.
21
21
//# Postal address: AIPS++ Project Office
22
22
//# National Radio Astronomy Observatory
23
23
//# 520 Edgemont Road
24
24
//# Charlottesville, VA 22903-2475 USA
25
25
//#
26
26
//# $Id: $
27
27
#ifndef PLOTMSINDEXER_H_
28
28
#define PLOTMSINDEXER_H_
29
29
#include <map>
30
+
#include <sstream>
30
31
31
32
#include <casa/aips.h>
32
33
#include <casa/Arrays.h>
33
34
#include <casa/Containers/Block.h>
34
35
#include <graphics/GenericPlotter/PlotData.h>
35
36
36
37
#include <plotms/PlotMS/PlotMSConstants.h>
37
38
#include <plotms/Data/PlotMSCacheBase.h>
38
39
39
40
133
134
casacore::Record locateInfo(const casacore::Vector<PlotRegion>& regions,
134
135
casacore::Bool showUnflagged, casacore::Bool showFlagged,
135
136
casacore::Bool selectAll = true);
136
137
PlotLogMessage* locateRange(const casacore::Vector<PlotRegion>& regions,
137
138
casacore::Bool showUnflagged, casacore::Bool showFlagged);
138
139
PlotLogMessage* flagRange(const PlotMSFlagging& flagging,
139
140
const casacore::Vector<PlotRegion>& regions, casacore::Bool flag = true);
140
141
141
142
142
143
// Report meta info for current value of currChunk_/irel_
143
-
void reportMeta(casacore::Double x, casacore::Double y, casacore::Bool masked, stringstream& ss);
144
+
void reportMeta(casacore::Double x, casacore::Double y, casacore::Bool masked, std::stringstream& ss);
144
145
145
146
// Set flags in the cache
146
147
void flagInCache(const PlotMSFlagging& flagging,casacore::Bool flag);
147
148
148
149
// Iteration label
149
150
casacore::String iterLabel();
150
151
casacore::String iterValue();
151
152
casacore::String fileLabel();
152
153
153
154
// Access to raw min/max data (no auto-global)
306
307
typedef casacore::CountedPtr<PlotMSIndexer> PlotMSIndexerPtr;
307
308
308
309
class PlotMSRaDecIndexer : public PlotMSIndexer {
309
310
310
311
public:
311
312
312
313
// Convenient access to class name.
313
314
static const casacore::String CLASS_NAME;
314
315
315
316
using RaDecData = casacore::PtrBlock<casacore::Vector<casacore::Double>*>;
316
-
using RaDecMap = map<DirectionAxisParams,RaDecData>;
317
+
using RaDecMap = std::map<DirectionAxisParams,RaDecData>;
317
318
318
319
static const RaDecData EMPTY_DATA;
319
320
320
321
// Empty Indexer
321
322
PlotMSRaDecIndexer();
322
323
323
324
// Constructor which takes parent PlotMSCache, x and y axes (non-iteration)
324
325
//PlotMSRaDecIndexer(PlotMSCacheBase* plotmscache, PMS::Axis xAxis,
325
326
//PMS::DataColumn xData, PMS::Axis yAxis, PMS::DataColumn yData, int index)
326
327
//: PlotMSIndexer(plotmscache, xAxis,xData,yAxis,yData,index) {}