LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef ASTSHIM_PERMMAP_H
23 #define ASTSHIM_PERMMAP_H
79 :
Mapping(
reinterpret_cast<AstMapping *
>(makeRawMap(inperm, outperm, constant, options))) {}
94 return copyImpl<PermMap, AstPermMap>();
98 explicit PermMap(AstPermMap *rawptr) :
Mapping(reinterpret_cast<AstMapping *>(rawptr)) {
101 os <<
"this is a " <<
getClassName() <<
", which is not a PermMap";
PermMap & operator=(PermMap const &)=delete
std::shared_ptr< PermMap > copy() const
Return a deep copy of this object.
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
An abstract base class for objects which transform one set of coordinates to another.
Abstract base class for all AST objects.
A Mapping which permutes the order of coordinates, and possibly also changes the number of coordinate...
Mapping(Mapping const &)=default
Copy constructor: make a deep copy.
std::string getClassName() const
Get Class: the name of the class (e.g.
PermMap & operator=(PermMap &&)=default
PermMap(PermMap &&)=default
AST wrapper classes and functions.
PermMap(PermMap const &)=default
Copy constructor: make a deep copy.
AstObject const * getRawPtr() const
Get the raw AST pointer.
PermMap(AstPermMap *rawptr)
Construct a PermMap from a raw AST pointer.
PermMap(std::vector< int > const &inperm, std::vector< int > const &outperm, std::vector< double > const &constant={}, std::string const &options="")
Construct a PermMap.