28 #ifndef MSVIS_VBREMAPPER_H
29 #define MSVIS_VBREMAPPER_H
74 std::map<casacore::Int, casacore::Int> >& inToOutMaps);
85 const std::map<VisBufferComponents::EnumType, std::map<casacore::Int, casacore::Int> >&
getMaps()
const
106 std::map<VisBufferComponents::EnumType, std::map<casacore::Int, casacore::Int> >
inToOutMaps_p;
VBRemappers remap VisBuffers.
casacore::Bool remapScalar(casacore::Int &colref, const std::map< casacore::Int, casacore::Int > &mapper) const
Remaps col using mapper.
Destructor *virtual ~VBRemapper()
VBRemapper()
Defaults to no remapping.
void setMaps(const std::map< VisBufferComponents::EnumType, std::map< casacore::Int, casacore::Int > > &maps)
casacore::Bool remapVector(casacore::Vector< casacore::Int > &col, const std::map< casacore::Int, casacore::Int > &mapper) const
bool Bool
Define the standard types used by Casacore.
std::map< VisBufferComponents::EnumType, std::map< casacore::Int, casacore::Int > > inToOutMaps_p
Set of maps from input ID to output ID, keyed by VisBufferComponent.
VisBuffers encapsulate one chunk of visibility data for processing.
casacore::Bool remap(VisBuffer &vb, const casacore::Bool squawk=true) const
Remaps vb and returns its success value.
*const std::map< VisBufferComponents::EnumType, std::map< casacore::Int, casacore::Int > > & getMaps() const