// This file is generated by WOK (CPPExt). // Please do not edit this file; modify original file instead. // The copyright and license terms as defined for the original file apply to // this header file considered to be the "object code" form of the original source. #ifndef _ImageUtility_XPR_HeaderFile #define _ImageUtility_XPR_HeaderFile #ifndef _Standard_HeaderFile #include #endif #ifndef _Standard_Macro_HeaderFile #include #endif #ifndef _Handle_Image_Image_HeaderFile #include #endif #ifndef _Standard_CString_HeaderFile #include #endif #ifndef _Handle_AlienImage_AlienUserImage_HeaderFile #include #endif #ifndef _Handle_AlienImage_XAlienImage_HeaderFile #include #endif class Standard_TypeMismatch; class Image_Image; class AlienImage_AlienUserImage; class AlienImage_XAlienImage; class OSD_File; //! Performs a "xpr" with a XAlienImage build
//! from any Image , any AlienImage .
class ImageUtility_XPR { public: void* operator new(size_t,void* anAddress) { return anAddress; } void* operator new(size_t size) { return Standard::Allocate(size); } void operator delete(void *anAddress) { if (anAddress) Standard::Free((Standard_Address&)anAddress); } //! Write content of a Image object to aTmpFile and
//! execute a Spawn "xpr xprOptions aTmpFile | lpr &" .
Standard_EXPORT static void XPR(const Handle(Image_Image)& aImage,const Standard_CString aName,const Standard_CString xprOptions = "") ; //! Write content of a AlienImage object to aTmpFile and
//! execute a Spawn "xpr xprOptions aTmpFile| lpr &" .
Standard_EXPORT static void XPR(const Handle(AlienImage_AlienUserImage)& aAlienUserImage,const Standard_CString aName,const Standard_CString xprOptions = "") ; //! Write content of a XAlienImage object to aTmpFile and
//! execute a Spawn "xpr xprOptions aTmpFile| lpr &" .
Standard_EXPORT static void XPR(const Handle(AlienImage_XAlienImage)& aXAlienImage,const Standard_CString xprOptions = "") ; //! execute a Spawn
//! "xpr xprOptions /aFile.SystemName()/ | lpr &" .
Standard_EXPORT static void XPR(const OSD_File& aFile,const Standard_CString xprOptions = "") ; //! execute a Spawn "xpr xprOptions aFileName | lpr &" .
Standard_EXPORT static void XPR(const Standard_CString aFileName,const Standard_CString xprOptions = "") ; protected: private: }; // other Inline functions and methods (like "C++: function call" methods) #endif