_isReadable(false),
_isWritable(false),
_mimeType(),
+ _module(),
_name()
{
}
_isReadable(coder_._isReadable),
_isWritable(coder_._isWritable),
_mimeType(coder_._mimeType),
+ _module(coder_._module),
_name(coder_._name)
{
}
_isReadable(false),
_isWritable(false),
_mimeType(),
+ _module(),
_name()
{
const Magick::MagickInfo
{
_decoderThreadSupport=(GetMagickDecoderThreadSupport(magickInfo) ==
MagickTrue) ? true : false;
- _description=string(magickInfo->description);
+ _description=std::string(magickInfo->description);
_encoderThreadSupport=(GetMagickEncoderThreadSupport(magickInfo) ==
MagickTrue) ? true : false;
_isMultiFrame=(GetMagickAdjoin(magickInfo) == MagickTrue) ? true : false;
NULL) ? false : true);
_isWritable=((magickInfo->encoder == (MagickCore::EncodeImageHandler *)
NULL) ? false : true);
- _mimeType=string(magickInfo->mime_type ? magickInfo->mime_type : "");
- _name=string(magickInfo->name);
+ _mimeType=std::string(magickInfo->mime_type != (char *) NULL ?
+ magickInfo->mime_type : "");
+ _module=std::string(magickInfo->module);
+ _name=std::string(magickInfo->name);
}
}
_isReadable=coder_._isReadable;
_isWritable=coder_._isWritable;
_mimeType=coder_._mimeType;
+ _module=coder_._module;
_name=coder_._name;
}
return(*this);
return(_mimeType);
}
+std::string Magick::CoderInfo::module(void) const
+{
+ return(_module);
+}
+
std::string Magick::CoderInfo::name(void) const
{
return(_name);
// Format mime type
std::string mimeType(void) const;
+ // Name of the module
+ std::string module(void) const;
+
// Format name
std::string name(void) const;
bool unregister(void) const;
private:
- bool _decoderThreadSupport;
- std::string _description;
- bool _encoderThreadSupport;
- bool _isMultiFrame;
- bool _isReadable;
- bool _isWritable;
- std::string _mimeType;
- std::string _name;
+ bool _decoderThreadSupport;
+ std::string _description;
+ bool _encoderThreadSupport;
+ bool _isMultiFrame;
+ bool _isReadable;
+ bool _isWritable;
+ std::string _mimeType;
+ std::string _module;
+ std::string _name;
};
} // namespace Magick