示例#1
0
 AbstractFileIO::AbstractFileIO(const std::string &baseDataType,
                                const CustomMimeType &mimeType,
                                const std::string &description)
   : AbstractFileIOReader(mimeType, description),
     AbstractFileIOWriter(baseDataType, CustomMimeType(mimeType.GetName()), description)
 {
 }
示例#2
0
 void AbstractFileIO::SetMimeType(const CustomMimeType &mimeType)
 {
   this->AbstractFileReader::SetMimeType(mimeType);
   this->AbstractFileWriter::SetMimeType(CustomMimeType(mimeType.GetName()));
 }