casa  $Rev:20696$
image_private.h
Go to the documentation of this file.
00001 /* Private parts of image component */
00002 public:
00003 
00004 // Allow other components that return image tool to open an image
00005 bool open(const casa::ImageInterface<casa::Float>* inImage);
00006 
00007 private:
00008 
00009 
00010 std::auto_ptr<casa::LogIO> _log;
00011 std::auto_ptr<casa::ImageAnalysis> _image;
00012 
00013 static const casa::String _class;
00014 
00015 // Private ImageInterface constructor to make components on the fly
00016 image(const casa::ImageInterface<casa::Float>* inImage);
00017 
00018 image(casa::ImageInterface<casa::Float>* inImage, const bool cloneInputPointer);
00019 
00020 
00021 // Having private version of IS and IH means that they will
00022 // only recreate storage images if they have to
00023 
00024 // Prints an error message if the image DO is detached and returns True.
00025 bool detached() const;
00026 
00027 casac::record* recordFromQuantity(casa::Quantity q);
00028 casac::record* recordFromQuantity(const casa::Quantum<casa::Vector<casa::Double> >& q);
00029 casa::Quantity casaQuantityFromVar(const ::casac::variant& theVar);
00030 void _getRegion(
00031         casa::String& regionName, std::auto_ptr<casa::Record>& regionRecord,
00032         const variant& region
00033 ) const;
00034 
00035 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines