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

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< AutoRegisterEntityregistration
 Automatic registration.
 

Detailed Description

Register an entity with the entity resolver.

Constructor & Destructor Documentation

ome::common::xml::EntityResolver::RegisterEntity::RegisterEntity ( 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::RegisterEntity::RegisterEntity ( 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.

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