LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef ASTSHIM_RATEMAP_H
23 #define ASTSHIM_RATEMAP_H
72 :
Mapping(reinterpret_cast<AstMapping *>(astRateMap(const_cast<AstObject *>(map.
getRawPtr()), ax1,
73 ax2,
"%s", options.c_str()))) {
90 return copyImpl<RateMap, AstRateMap>();
94 explicit RateMap(AstRateMap *rawptr) :
Mapping(reinterpret_cast<AstMapping *>(rawptr)) {
97 os <<
"this is a " <<
getClassName() <<
", which is not a RateMap";
RateMap(Mapping const &map, int ax1, int ax2, std::string const &options="")
Construct a RateMap.
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
void assertOK(AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
Throw std::runtime_error if AST's state is bad.
An abstract base class for objects which transform one set of coordinates to another.
Abstract base class for all AST objects.
RateMap(RateMap &&)=default
RateMap & operator=(RateMap const &)=delete
std::string getClassName() const
Get Class: the name of the class (e.g.
RateMap(AstRateMap *rawptr)
Construct a RateMap from a raw AST pointer.
RateMap(RateMap const &)=default
Copy constructor: make a deep copy.
RateMap & operator=(RateMap &&)=default
AST wrapper classes and functions.
RateMap is a Mapping which represents a single element of the Jacobian matrix of another Mapping.
std::shared_ptr< RateMap > copy() const
Return a deep copy of this object.
AstObject const * getRawPtr() const
Get the raw AST pointer.