coderinfo.h

来自「下载来的一个看图软件的源代码」· C头文件 代码 · 共 77 行

H
77
字号
// This may look like C code, but it is really -*- C++ -*-//// Copyright Bob Friesenhahn, 2001, 2002, 2003//// CoderInfo Definition//// Container for image format support information.//#if !defined (Magick_CoderInfo_header)#define Magick_CoderInfo_header#include "Magick++/Include.h"#include <string>namespace Magick{  class MagickDLLDecl CoderInfo  {  public:    enum MatchType {      AnyMatch,		// match any coder      TrueMatch,	// match coder if true      FalseMatch	// match coder if false    };    CoderInfo ( const std::string &name_ );    ~CoderInfo ( void );    // Format name    std::string name( void ) const;    // Format description    std::string description( void ) const;    // Format is readable    bool isReadable( void ) const;    // Format is writeable    bool isWritable( void ) const;    // Format supports multiple frames    bool isMultiFrame( void ) const;    //    // Implemementation methods    //    CoderInfo ( const MagickLib::MagickInfo *magickInfo_ );  private:    // Default constructor (not supported)    CoderInfo ( void );    // Copy constructor (not supported)    //    CoderInfo ( const CoderInfo &coder_ );    // Assignment operator (not supported)    CoderInfo& operator= (const CoderInfo &coder_ );    std::string		_name;    std::string		_description;    bool		_isReadable;    bool		_isWritable;    bool		_isMultiFrame;      };} // namespace Magick//// Inlines//#endif // Magick_CoderInfo_header

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?