Go to the documentation of this file.
29 #ifndef CASA_AXESSPECIFIER_H
30 #define CASA_AXESSPECIFIER_H
34 #include <casacore/casa/aips.h>
35 #include <casacore/casa/Arrays/IPosition.h>
36 #include <casacore/casa/Arrays/AxesMapping.h>
AxesSpecifier(Bool keepDegenerate)
Tell if no or all degenerate axes have to be removed.
AxesSpecifier(const AxesSpecifier &other)
Copy constructor (copy semantics).
AxesSpecifier(const IPosition &keepAxes, const IPosition &axisPath)
The argument keepAxes tells which degenerate axes have to be kept.
AxesSpecifier()
The default constructor keeps all axes.
Bool keep() const
Are we keeping all degenerate axes ?
AxesMapping apply(const IPosition &shape) const
Apply the specification to a shape.
AxesSpecifier(const IPosition &keepAxes)
Tell which (degenerate) axes have to be kept.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
AxesSpecifier & operator=(const AxesSpecifier &other)
Assignment (copy semantics).
this file contains all the compiler specific defines
AxesSpecifier(Bool keepDegenerate, const IPosition &axisPath)
Tell if no or all degenerate axes have to be removed.
bool Bool
Define the standard types used by Casacore.