bioformats
5.1.8
|
OME-XML Data Model. More...
Namespaces | |
meta | |
Metadata storage and retrieval. | |
model | |
Model objects. | |
Classes | |
class | OMEEntityResolver |
Entity resolver for the OME schemas. More... | |
Functions | |
ome::common::xml::dom::Document | createDocument (const boost::filesystem::path &file, const ome::common::xml::dom::ParseParameters ¶ms=ome::common::xml::dom::ParseParameters()) |
Construct a Document from the content of a file. More... | |
ome::common::xml::dom::Document | createDocument (const std::string &text, const ome::common::xml::dom::ParseParameters ¶ms=ome::common::xml::dom::ParseParameters(), const std::string &id="membuf") |
Construct a Document from the content of a string. More... | |
ome::common::xml::dom::Document | createDocument (std::istream &stream, const ome::common::xml::dom::ParseParameters ¶ms=ome::common::xml::dom::ParseParameters(), const std::string &id="streambuf") |
Construct a Document from the content of an input stream. More... | |
OME-XML Data Model.
ome::common::xml::dom::Document ome::xml::createDocument | ( | const boost::filesystem::path & | file, |
const ome::common::xml::dom::ParseParameters & | params = ome::common::xml::dom::ParseParameters() |
||
) |
Construct a Document from the content of a file.
This is the same as ome::common::xml::dom::createDocument(const boost::filesystem::path&, EntityResolver&, const ParseParameters&) but uses OMEEntityResolver to resolve all OME schemas from the local catalog.
file | the file to read. |
params | XML parser parameters. |
References ome::common::xml::dom::createDocument().
Referenced by ome::xml::model::XMLAnnotation::asXMLElementInternal(), ome::bioformats::createOMEXMLMetadata(), ome::bioformats::getModulo(), ome::bioformats::getOriginalMetadata(), and ome::bioformats::validateXML().
ome::common::xml::dom::Document ome::xml::createDocument | ( | const std::string & | text, |
const ome::common::xml::dom::ParseParameters & | params = ome::common::xml::dom::ParseParameters() , |
||
const std::string & | id = "membuf" |
||
) |
Construct a Document from the content of a string.
This is the same as ome::common::xml::dom::createDocument(const std::string&, EntityResolver&, const ParseParameters&, const std::string&) but uses OMEEntityResolver to resolve all OME schemas from the local catalog.
text | the string to use. |
params | XML parser parameters. |
id | document filename (for error reporting only). |
References ome::common::xml::dom::createDocument().
ome::common::xml::dom::Document ome::xml::createDocument | ( | std::istream & | stream, |
const ome::common::xml::dom::ParseParameters & | params = ome::common::xml::dom::ParseParameters() , |
||
const std::string & | id = "streambuf" |
||
) |
Construct a Document from the content of an input stream.
This is the same as ome::common::xml::dom::createDocument(std::istream&, EntityResolver&, const ParseParameters&, const std::string&) but uses OMEEntityResolver to resolve all OME schemas from the local catalog.
stream | the stream to read. |
params | XML parser parameters. |
id | document filename (for error reporting only). |
References ome::common::xml::dom::createDocument().