26#ifndef IMAGES_REGIONHANDLERMEMORY_H
27#define IMAGES_REGIONHANDLERMEMORY_H
31#include <casacore/casa/aips.h>
32#include <casacore/images/Regions/RegionHandler.h>
33#include <casacore/casa/BasicSL/String.h>
virtual RegionHandlerMemory * clone() const
Make a copy of the object.
Int findRegionGroup(const String ®ionName, RegionHandler::GroupType=Any, Bool throwIfUnknown=True) const
RegionHandlerMemory & operator=(const RegionHandlerMemory &)
RegionHandlerMemory(const RegionHandlerMemory &)
virtual void setDefaultMask(const String &maskName)
Set the default mask to the mask with the given name.
virtual ImageRegion * findRegion(const String &name, RegionHandler::GroupType=Any, Bool throwIfUnknown=True) const
virtual ImageRegion makeMask(const LatticeBase &lattice, const String &name)
Make a mask for a lattice (e.g.
virtual String getDefaultMask() const
Get the name of the default mask.
virtual ~RegionHandlerMemory()
virtual Bool canDefineRegion() const
Can the class indeed define and handle regions?
virtual Bool renameRegion(const String &newName, const String &oldName, RegionHandler::GroupType=Any, Bool overwrite=False)
Rename a region.
std::map< String, void * > itsMaps[2]
virtual Bool defineRegion(const String &name, const ImageRegion ®ion, RegionHandler::GroupType, Bool overwrite=False)
Define a region belonging to the table.
virtual ImageRegion * getRegion(const String &name, RegionHandler::GroupType=Any, Bool throwIfUnknown=True) const
Get a region belonging to the table.
virtual Bool removeRegion(const String &name, RegionHandler::GroupType=Any, Bool throwIfUnknown=True)
Remove a region belonging to the table.
virtual Vector< String > regionNames(RegionHandler::GroupType=Any) const
Get the names of all regions/masks.
virtual Bool hasRegion(const String &name, RegionHandler::GroupType=RegionHandler::Any) const
Does the table have a region with the given name?
GroupType
Define the possible group types (regions or masks).
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
String name() const
Return the name of the field.
bool Bool
Define the standard types used by Casacore.