LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
22 #ifndef ASTSHIM_SLAMAP_H
23 #define ASTSHIM_SLAMAP_H
67 :
Mapping(reinterpret_cast<AstMapping *>(astSlaMap(0,
"%s", options.c_str()))) {
182 return copyImpl<SlaMap, AstSlaMap>();
186 explicit SlaMap(AstSlaMap *rawptr) :
Mapping(reinterpret_cast<AstMapping *>(rawptr)) {
189 os <<
"this is a " <<
getClassName() <<
", which is not a SlaMap";
SlaMap(AstSlaMap *rawptr)
Construct a SlaMap from a raw AST pointer.
SlaMap(std::string const &options="")
Construct a SlaMap.
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.
SlaMap & operator=(SlaMap &&)=default
Abstract base class for all AST objects.
SlaMap is a specialised form of Mapping which can be used to represent a sequence of conversions betw...
void add(std::string const &cvt, std::vector< double > const &args=std::vector< double >())
Add one of the standard celestial coordinate system conversions provided by the SLALIB Positional Ast...
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
std::string getClassName() const
Get Class: the name of the class (e.g.
SlaMap(SlaMap &&)=default
SlaMap(SlaMap const &)=default
Copy constructor: make a deep copy.
std::shared_ptr< SlaMap > copy() const
Return a deep copy of this object.
AST wrapper classes and functions.
SlaMap & operator=(SlaMap const &)=delete
AstObject const * getRawPtr() const
Get the raw AST pointer.