17 #ifndef ANNOTATIONS_REGIONTEXTLIST_H
18 #define ANNOTATIONS_REGIONTEXTLIST_H
137 std::ostream&
print(std::ostream& os)
const;
147 std::vector<std::shared_ptr<const casacore::WCRegion> >
_regions;
154 mutable std::vector<std::shared_ptr<const casacore::WCDifference> >
_myDiff;
155 mutable std::shared_ptr<const casacore::WCRegion>
_composite;
159 return list.
print(os);
A Vector of integers, for indexing into Array<T> objects.
std::shared_ptr< const casacore::WCRegion > _composite
A 1-D Specialization of the Array class.
An ordered list of annotations and comments representing an ascii region file. <author>Dave Mehringer...
ostream & operator<<(ostream &os, const PageHeaderCache &cache)
std::vector< casacore::Bool > _union
if false, then the corresponding region is complementary to the result of the previous region operati...
void addLine(const AsciiAnnotationFileLine &line)
add a line to the end of the list
static const casacore::Int CURRENT_VERSION
casacore::Bool _canGetRegion
Referenced counted pointer for constant data.
std::ostream & print(std::ostream &os) const
casacore::Vector< AsciiAnnotationFileLine > _lines
std::vector< std::shared_ptr< const casacore::WCRegion > > _regions
casacore::CountedPtr< const casacore::WCRegion > getRegion() const
get the composite region.
A hierarchical collection of named fields of various types.
bool Bool
Define the standard types used by Casacore.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
const casacore::Vector< AsciiAnnotationFileLine > & getLines() const
get all lines in the list
RegionTextList()
create an empty list which can be appended to.
casacore::Record regionAsRecord() const
get the composite region as a region record.
casacore::uInt nLines() const
number of lines in the list
casacore::IPosition _shape
Represents a line in an ascii region file <author>Dave Mehringer</author>
String: the storage and methods of handling collections of characters.
casacore::CoordinateSystem _csys
std::vector< std::shared_ptr< const casacore::WCDifference > > _myDiff
Interconvert pixel and world coordinates.
AsciiAnnotationFileLine lineAt(const casacore::uInt i) const
get the line at the specified index
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.