libnebular::MgrForPicHandler< CurrPictureHandler > Class Template Reference
[Plugin API]

Implementation of PicHandlerMgr for CurrPictureHandler to be parametrized and inherited in each plugin implementation file. More...

#include <libnebular-plugin-base.hpp>

Inherits libnebular::PicHandlerMgr.

Collaboration diagram for libnebular::MgrForPicHandler< CurrPictureHandler >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MgrForPicHandler ()
 Only for getNewMgrForPicHandler().
virtual ~MgrForPicHandler ()
virtual bool isHandleableByFileExt (Picture &pictureFile) const
 By check of file extension.
virtual bool isHandleableByContentMagic (Picture &pictureFile) const
 By check of file content magic.
virtual bool isWriteable (Picture &picture) const
 Whether we can write such file (actually there will be check of "opt/file/mimetype" field).
boost::shared_ptr< PictureHandlercreatePictureHandler () const

Detailed Description

template<typename CurrPictureHandler>
class libnebular::MgrForPicHandler< CurrPictureHandler >

Implementation of PicHandlerMgr for CurrPictureHandler to be parametrized and inherited in each plugin implementation file.

But it doesn't very much: only defines createPictureHandler() for CurrPictureHandler to create latter objects.

Definition at line 49 of file libnebular-plugin-base.hpp.


Constructor & Destructor Documentation

template<typename CurrPictureHandler >
libnebular::MgrForPicHandler< CurrPictureHandler >::MgrForPicHandler (  )  [inline]

Only for getNewMgrForPicHandler().

Definition at line 52 of file libnebular-plugin-base.hpp.

template<typename CurrPictureHandler >
virtual libnebular::MgrForPicHandler< CurrPictureHandler >::~MgrForPicHandler (  )  [inline, virtual]

Definition at line 54 of file libnebular-plugin-base.hpp.


Member Function Documentation

template<typename CurrPictureHandler >
boost::shared_ptr<PictureHandler> libnebular::MgrForPicHandler< CurrPictureHandler >::createPictureHandler (  )  const [inline, virtual]

Implements libnebular::PicHandlerMgr.

Definition at line 64 of file libnebular-plugin-base.hpp.

bool libnebular::CurrPicHandlerMgr::isHandleableByContentMagic ( Picture pictureFile  )  const [inline, virtual]

By check of file content magic.

Put file URL to "opt/file/url" property.

Implements libnebular::PicHandlerMgr.

Definition at line 732 of file libnebular-plugin-bmp.cpp.

bool libnebular::CurrPicHandlerMgr::isHandleableByFileExt ( Picture pictureFile  )  const [inline, virtual]

By check of file extension.

Put file URL to "opt/file/url" property.

Implements libnebular::PicHandlerMgr.

Definition at line 720 of file libnebular-plugin-bmp.cpp.

bool libnebular::CurrPicHandlerMgr::isWriteable ( Picture picture  )  const [inline, virtual]

Whether we can write such file (actually there will be check of "opt/file/mimetype" field).

Put desired output "mimetype" to "opt/file/mimetype" property.

Implements libnebular::PicHandlerMgr.

Definition at line 746 of file libnebular-plugin-bmp.cpp.


The documentation for this class was generated from the following files:
Generated on Sun May 29 18:23:56 2011 for libnebular by  doxygen 1.6.3