LibreOffice Module forms (master) 1
|
#include <datatyperepository.hxx>
Public Member Functions | |
ODataTypeRepository () | |
Protected Member Functions | |
virtual | ~ODataTypeRepository () override |
virtual css::uno::Reference< css::xsd::XDataType > SAL_CALL | getBasicDataType (sal_Int16 dataTypeClass) override |
virtual css::uno::Reference< css::xsd::XDataType > SAL_CALL | cloneDataType (const OUString &sourceName, const OUString &newName) override |
virtual void SAL_CALL | revokeDataType (const OUString &typeName) override |
virtual css::uno::Reference< css::xsd::XDataType > SAL_CALL | getDataType (const OUString &typeName) override |
virtual css::uno::Reference< css::container::XEnumeration > SAL_CALL | createEnumeration () override |
virtual css::uno::Any SAL_CALL | getByName (const OUString &aName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getElementNames () override |
virtual sal_Bool SAL_CALL | hasByName (const OUString &aName) override |
virtual css::uno::Type SAL_CALL | getElementType () override |
virtual sal_Bool SAL_CALL | hasElements () override |
Private Types | |
typedef ::rtl::Reference< OXSDDataType > | DataType |
typedef ::std::map< OUString, DataType > | Repository |
Private Member Functions | |
ODataTypeRepository (const ODataTypeRepository &)=delete | |
ODataTypeRepository & | operator= (const ODataTypeRepository &)=delete |
Repository::iterator | implLocate (const OUString &_rName, bool _bAllowMiss=false) |
locates the type with the given name in our repository, or throws an exception if there is no such type More... | |
Private Attributes | |
::osl::Mutex | m_aMutex |
Repository | m_aRepository |
Definition at line 36 of file datatyperepository.hxx.
|
private |
Definition at line 39 of file datatyperepository.hxx.
|
private |
Definition at line 40 of file datatyperepository.hxx.
xforms::ODataTypeRepository::ODataTypeRepository | ( | ) |
Definition at line 47 of file datatyperepository.cxx.
References frm::ResourceManager::loadString(), m_aRepository, and sName.
|
overrideprotectedvirtual |
Definition at line 89 of file datatyperepository.cxx.
|
privatedelete |
|
overrideprotectedvirtual |
Definition at line 124 of file datatyperepository.cxx.
References implLocate(), m_aMutex, m_aRepository, and newName().
|
overrideprotectedvirtual |
Definition at line 160 of file datatyperepository.cxx.
|
overrideprotectedvirtual |
Definition at line 104 of file datatyperepository.cxx.
References m_aRepository.
|
overrideprotectedvirtual |
Definition at line 166 of file datatyperepository.cxx.
References aName, Any, and getDataType().
|
overrideprotectedvirtual |
Definition at line 153 of file datatyperepository.cxx.
References implLocate(), m_aMutex, and typeName.
Referenced by getByName().
|
overrideprotectedvirtual |
Definition at line 172 of file datatyperepository.cxx.
References m_aMutex, m_aRepository, and comphelper::mapKeysToSequence().
|
overrideprotectedvirtual |
Definition at line 187 of file datatyperepository.cxx.
References cppu::UnoType< typename T >::get().
|
overrideprotectedvirtual |
Definition at line 180 of file datatyperepository.cxx.
References aName, m_aMutex, and m_aRepository.
|
overrideprotectedvirtual |
Definition at line 193 of file datatyperepository.cxx.
References m_aRepository.
|
private |
locates the type with the given name in our repository, or throws an exception if there is no such type
Definition at line 94 of file datatyperepository.cxx.
References m_aRepository.
Referenced by cloneDataType(), getDataType(), and revokeDataType().
|
privatedelete |
|
overrideprotectedvirtual |
Definition at line 140 of file datatyperepository.cxx.
References implLocate(), frm::ResourceManager::loadString(), m_aMutex, m_aRepository, and typeName.
|
private |
Definition at line 42 of file datatyperepository.hxx.
Referenced by cloneDataType(), getDataType(), getElementNames(), hasByName(), and revokeDataType().
|
private |
Definition at line 43 of file datatyperepository.hxx.
Referenced by cloneDataType(), getBasicDataType(), getElementNames(), hasByName(), hasElements(), implLocate(), ODataTypeRepository(), and revokeDataType().