#include <unointerfacetouniqueidentifiermapper.hxx>
Public Member Functions | |
| UnoInterfaceToUniqueIdentifierMapper () | |
| const rtl::OUString & | registerReference (const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > &rInterface) |
| returns a unique identifier for the given uno object. | |
| bool | registerReference (const rtl::OUString &rIdentifier, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > &rInterface) |
| registers the given uno object with the given identifier. | |
| const rtl::OUString & | getIdentifier (const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > &rInterface) const |
| const ::com::sun::star::uno::Reference < ::com::sun::star::uno::XInterface > & | getReference (const rtl::OUString &rIdentifier) const |
Private Member Functions | |
| bool | findReference (const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > &rInterface, IdMap_t::const_iterator &rIter) const |
| bool | findIdentifier (const rtl::OUString &rIdentifier, IdMap_t::const_iterator &rIter) const |
Private Attributes | |
| IdMap_t | maEntries |
| sal_Int32 | mnNextId |
Definition at line 13 of file unointerfacetouniqueidentifiermapper.hxx.
| comphelper::UnoInterfaceToUniqueIdentifierMapper::UnoInterfaceToUniqueIdentifierMapper | ( | ) |
Definition at line 40 of file unointerfacetouniqueidentifiermapper.cxx.
| const rtl::OUString& comphelper::UnoInterfaceToUniqueIdentifierMapper::registerReference | ( | const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & | rInterface | ) |
returns a unique identifier for the given uno object.
IF a uno object is registered more than once, the returned identifier is always the same.
Referenced by xmloff::AnimationNodeContext::init_node(), xmloff::AnimationsExporterImpl::prepareNode(), xmloff::AnimationsExporterImpl::prepareTransitionNode(), xmloff::AnimationsExporterImpl::prepareValue(), and XMLParaContext::~XMLParaContext().
| bool comphelper::UnoInterfaceToUniqueIdentifierMapper::registerReference | ( | const rtl::OUString & | rIdentifier, | |
| const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & | rInterface | |||
| ) |
registers the given uno object with the given identifier.
| const rtl::OUString& comphelper::UnoInterfaceToUniqueIdentifierMapper::getIdentifier | ( | const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & | rInterface | ) | const |
Referenced by SdXMLExport::_ExportContent(), xmloff::AnimationsExporterImpl::convertTarget(), XMLAnimationsExporter::exportAnimations(), and xmloff::AnimationsExporterImpl::exportNode().
| const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& comphelper::UnoInterfaceToUniqueIdentifierMapper::getReference | ( | const rtl::OUString & | rIdentifier | ) | const |
Referenced by xmloff::AnimationsImportHelperImpl::convertTarget(), xmloff::AnimationsImportHelperImpl::convertTiming(), and XMLShapeImportHelper::restoreConnections().
| bool comphelper::UnoInterfaceToUniqueIdentifierMapper::findReference | ( | const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > & | rInterface, | |
| IdMap_t::const_iterator & | rIter | |||
| ) | const [private] |
| bool comphelper::UnoInterfaceToUniqueIdentifierMapper::findIdentifier | ( | const rtl::OUString & | rIdentifier, | |
| IdMap_t::const_iterator & | rIter | |||
| ) | const [private] |
Definition at line 46 of file unointerfacetouniqueidentifiermapper.hxx.
sal_Int32 comphelper::UnoInterfaceToUniqueIdentifierMapper::mnNextId [private] |
Definition at line 47 of file unointerfacetouniqueidentifiermapper.hxx.
1.5.6