bioformats  5.1.3
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ome::common::xml::EntityResolver::AutoRegisterEntity Class Reference

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).
 
AutoRegisterEntityoperator= (const AutoRegisterEntity &)
 Assignment operator (deleted).
 

Private Attributes

std::string id
 XML system ID.
 

Detailed Description

Automatically register and unregister an entity with the entity resolver.

Constructor & Destructor Documentation

ome::common::xml::EntityResolver::AutoRegisterEntity::AutoRegisterEntity ( const std::string &  id,
const std::string &  data 
)

Register in-memory text data with the entity resolver.

Parameters
idthe XML system ID of the entity.
datathe 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.

Parameters
idthe XML system ID of the entity.
filethe 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().


The documentation for this class was generated from the following files: