lsst.astshim
19.0.0-3-ge74d124
|
Go to the documentation of this file.
22 #ifndef ASTSHIM_UNITNORMMAP_H
23 #define ASTSHIM_UNITNORMMAP_H
66 explicit UnitNormMap(std::vector<double>
const ¢re, std::string
const &options =
"")
67 :
Mapping(reinterpret_cast<AstMapping *>(
68 astUnitNormMap(centre.size(), centre.data(),
"%s", options.c_str()))) {
81 std::shared_ptr<UnitNormMap>
copy()
const {
87 return copyImpl<UnitNormMap, AstUnitNormMap>();
93 std::ostringstream os;
94 os <<
"this is a " <<
getClassName() <<
", which is not a UnitNormMap";
95 throw std::invalid_argument(os.str());
UnitNormMap(UnitNormMap const &)=default
Copy constructor: make a deep copy.
void assertOK(AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
Definition: base.cc:49
std::string getClassName() const
Definition: Object.h:139
UnitNormMap & operator=(UnitNormMap &&)=default
AstObject const * getRawPtr() const
Definition: Object.h:292
UnitNormMap & operator=(UnitNormMap const &)=delete
virtual ~UnitNormMap()
Definition: UnitNormMap.h:72
AST wrapper classes and functions.
Definition: attributes_channel.dox:1
UnitNormMap(AstUnitNormMap *rawptr)
Construct a UnitNormMap from a raw AST pointer.
Definition: UnitNormMap.h:91
UnitNormMap(UnitNormMap &&)=default
std::shared_ptr< UnitNormMap > copy() const
Return a deep copy of this object.
Definition: UnitNormMap.h:81
UnitNormMap(std::vector< double > const ¢re, std::string const &options="")
Definition: UnitNormMap.h:66
Definition: UnitNormMap.h:53
virtual std::shared_ptr< Object > copyPolymorphic() const override
Definition: UnitNormMap.h:86