|
bioformats
5.1.1
|
Automatically register and unregister an entity with the entity resolver. More...
Collaboration diagram for ome::common::xml::EntityResolver::AutoRegisterEntity:Public Member Functions | |
| AutoRegisterEntity (const std::string &id, const std::string &data) | |
| Register in-memory text data with the entity resolver. More... | |
| AutoRegisterEntity (const std::string &id, const boost::filesystem::path &file) | |
| Register a file with the entity resolver. More... | |
| ~AutoRegisterEntity () | |
| Destructor. More... | |
Private Member Functions | |
| AutoRegisterEntity (const AutoRegisterEntity &) | |
| Copy constructor (deleted). | |
| AutoRegisterEntity & | operator= (const AutoRegisterEntity &) |
| Assignment operator (deleted). | |
Private Attributes | |
| std::string | id |
| XML system ID. | |
Automatically register and unregister an entity with the entity resolver.
| ome::common::xml::EntityResolver::AutoRegisterEntity::AutoRegisterEntity | ( | 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::AutoRegisterEntity::AutoRegisterEntity | ( | 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. |
References ome::common::xml::EntityResolver::entities().
| ome::common::xml::EntityResolver::AutoRegisterEntity::~AutoRegisterEntity | ( | ) |
Destructor.
The entity will be unregistered with the entity resolver.
References ome::common::xml::EntityResolver::entities().
1.8.9.1