MCPcopy Create free account
hub / github.com/MITK/MITK / GetServiceProperties

Method GetServiceProperties

Modules/Core/src/IO/mitkAbstractFileWriter.cpp:225–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

223 }
224
225 us::ServiceProperties AbstractFileWriter::GetServiceProperties() const
226 {
227 us::ServiceProperties result;
228 result[IFileWriter::PROP_DESCRIPTION()] = this->GetDescription();
229 result[IFileWriter::PROP_MIMETYPE()] = this->GetMimeType()->GetName();
230 result[IFileWriter::PROP_BASEDATA_TYPE()] = d->m_BaseDataType;
231 result[us::ServiceConstants::SERVICE_RANKING()] = this->GetRanking();
232
233 // for (IFileWriter::OptionList::const_iterator it = d->m_Options.begin(); it != d->m_Options.end(); ++it)
234 // {
235 // result[it->first] = std::string("true");
236 // }
237 return result;
238 }
239
240 const CustomMimeType *AbstractFileWriter::GetMimeType() const { return d->GetMimeType(); }
241 void AbstractFileWriter::SetMimeTypePrefix(const std::string &prefix) { d->SetMimeTypePrefix(prefix); }

Callers 1

RegisterServiceMethod · 0.95

Calls 4

GetDescriptionMethod · 0.95
GetMimeTypeMethod · 0.95
GetRankingMethod · 0.95
GetNameMethod · 0.45

Tested by

no test coverage detected