9 #define MAGICKCORE_IMPLEMENTATION 1
10 #define MAGICK_PLUSPLUS_IMPLEMENTATION 1
31 _description=coder_._description;
32 _mimeType=coder_._mimeType;
33 _isReadable=coder_._isReadable;
34 _isWritable=coder_._isWritable;
35 _isMultiFrame=coder_._isMultiFrame;
46 const Magick::MagickInfo
50 magickInfo=GetMagickInfo(name_.c_str(),exceptionInfo);
58 _name=std::string(magickInfo->name);
59 _description=std::string(magickInfo->description);
60 _mimeType=std::string(magickInfo->mime_type ? magickInfo->mime_type :
"");
61 _isReadable=((magickInfo->decoder == 0) ?
false :
true);
62 _isWritable=((magickInfo->encoder == 0) ?
false :
true);
63 _isMultiFrame=((magickInfo->adjoin == 0) ?
false :
true);
77 _description=coder_._description;
78 _mimeType=coder_._mimeType;
79 _isReadable=coder_._isReadable;
80 _isWritable=coder_._isWritable;
81 _isMultiFrame=coder_._isMultiFrame;
103 return(_isMultiFrame);
118 return(UnregisterMagickInfo(_name.c_str()) != MagickFalse);
122 : _name(
std::string(magickInfo_->name ? magickInfo_->name :
"")),
123 _description(
std::string(magickInfo_->description ? magickInfo_->description :
"")),
124 _mimeType(
std::string(magickInfo_->mime_type ? magickInfo_->mime_type :
"")),
125 _isReadable(magickInfo_->decoder ? true : false),
126 _isWritable(magickInfo_->encoder ? true : false),
127 _isMultiFrame(magickInfo_->adjoin ? true : false)
bool unregister(void) const
std::string name(void) const
CoderInfo & operator=(const CoderInfo &coder_)
std::string mimeType(void) const
bool isMultiFrame(void) const
std::string description(void) const
bool isReadable(void) const
MagickPPExport void throwExceptionExplicit(const MagickCore::ExceptionType severity_, const char *reason_, const char *description_=(char *) NULL)
#define ThrowPPException(quiet)
bool isWritable(void) const