bioformats
5.1.2
|
Register an entity with the entity resolver. More...
#include <ome/common/xml/EntityResolver.h>
Public Member Functions | |
RegisterEntity (const std::string &id, const std::string &data) | |
Register in-memory text data with the entity resolver. More... | |
RegisterEntity (const std::string &id, const boost::filesystem::path &file) | |
Register a file with the entity resolver. More... | |
~RegisterEntity () | |
Destructor. | |
Private Attributes | |
ome::compat::shared_ptr < AutoRegisterEntity > | registration |
Automatic registration. | |
Register an entity with the entity resolver.
ome::common::xml::EntityResolver::RegisterEntity::RegisterEntity | ( | const std::string & | id, |
const std::string & | data | ||
) |
Register in-memory text data with the entity resolver.
id | the XML system ID of the entity. |
data | the text data of the entity. |
ome::common::xml::EntityResolver::RegisterEntity::RegisterEntity | ( | const std::string & | id, |
const boost::filesystem::path & | file | ||
) |
Register a file with the entity resolver.
id | the XML system ID of the entity. |
file | the filename of the entity. |