| LSSTApplications
    20.0.0
    LSSTDataManagementBasePackage | 
 
 
 
Go to the documentation of this file.
   22 #ifndef ASTSHIM_CMPFRAME_H 
   23 #define ASTSHIM_CMPFRAME_H 
   75             : 
Frame(reinterpret_cast<AstFrame *>(astCmpFrame(const_cast<AstObject *>(frame1.
getRawPtr()),
 
   76                                                              const_cast<AstObject *>(frame2.
getRawPtr()),
 
   77                                                              "%s", options.c_str()))) {
 
  102         return copyImpl<CmpFrame, AstCmpFrame>();
 
  107     explicit CmpFrame(AstCmpFrame *rawptr) : 
Frame(reinterpret_cast<AstFrame *>(rawptr)) {
 
  110             os << 
"this is a " << 
getClassName() << 
", which is not a CmpFrame";
 
  
CmpFrame & operator=(CmpFrame &&)=default
std::shared_ptr< Frame > operator[](int i) const
Return a shallow copy of one of the two component frames.
void assertOK(AstObject *rawPtr1=nullptr, AstObject *rawPtr2=nullptr)
Throw std::runtime_error if AST's state is bad.
virtual std::shared_ptr< Object > copyPolymorphic() const override
Return a deep copy of this object.
Abstract base class for all AST objects.
CmpFrame(Frame const &frame1, Frame const &frame2, std::string const &options="")
Construct a CmpFrame.
CmpFrame(CmpFrame const &)=default
Copy constructor: make a deep copy.
std::shared_ptr< CmpFrame > copy() const
Return a deep copy of this object.
std::string getClassName() const
Get Class: the name of the class (e.g.
Frame is used to represent a coordinate system.
CmpFrame(AstCmpFrame *rawptr)
Construct a CmpFrame from a raw AST pointer (protected instead of private so that SeriesMap and Paral...
CmpFrame & operator=(CmpFrame const &)=delete
AST wrapper classes and functions.
CmpFrame(CmpFrame &&)=default
AstObject const  * getRawPtr() const
Get the raw AST pointer.
A CmpFrame is a compound Frame which allows two component Frames (of any class) to be merged together...