LibreOffice Module extensions (master) 1
|
#include <xsddatatypes.hxx>
Public Member Functions | |
XSDDataType (const css::uno::Reference< css::xsd::XDataType > &_rxDataType) | |
const css::uno::Reference< css::xsd::XDataType > & | getUnoDataType () const |
retrieves the underlying UNO component More... | |
sal_Int16 | classify () const |
classifies the data typ More... | |
OUString | getName () const |
bool | isBasicType () const |
bool | hasFacet (const OUString &_rFacetName) const |
determines whether a given facet exists at the type More... | |
css::uno::Any | getFacet (const OUString &_rFacetName) |
retrieves a facet value More... | |
void | setFacet (const OUString &_rFacetName, const css::uno::Any &_rFacetValue) |
sets a facet value More... | |
void | copyFacetsFrom (const ::rtl::Reference< XSDDataType > &_pSourceType) |
copies as much facets (values, respectively) from a give data type instance More... | |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Protected Member Functions | |
virtual | ~XSDDataType () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
XSDDataType (const XSDDataType &)=delete | |
XSDDataType & | operator= (const XSDDataType &)=delete |
Private Attributes | |
css::uno::Reference< css::xsd::XDataType > | m_xDataType |
css::uno::Reference< css::beans::XPropertySetInfo > | m_xFacetInfo |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Definition at line 42 of file xsddatatypes.hxx.
|
explicit |
|
overrideprotectedvirtual |
Definition at line 62 of file xsddatatypes.cxx.
|
privatedelete |
sal_Int16 pcr::XSDDataType::classify | ( | ) | const |
classifies the data typ
Definition at line 67 of file xsddatatypes.cxx.
References Exception, and TOOLS_WARN_EXCEPTION.
void pcr::XSDDataType::copyFacetsFrom | ( | const ::rtl::Reference< XSDDataType > & | _pSourceType | ) |
copies as much facets (values, respectively) from a give data type instance
Definition at line 163 of file xsddatatypes.cxx.
References Exception, and TOOLS_WARN_EXCEPTION.
Any pcr::XSDDataType::getFacet | ( | const OUString & | _rFacetName | ) |
retrieves a facet value
Definition at line 122 of file xsddatatypes.cxx.
References Any, Exception, and TOOLS_WARN_EXCEPTION.
OUString pcr::XSDDataType::getName | ( | ) | const |
Definition at line 89 of file xsddatatypes.cxx.
References pcr::getSave().
|
inline |
retrieves the underlying UNO component
Definition at line 57 of file xsddatatypes.hxx.
References m_xDataType.
bool pcr::XSDDataType::hasFacet | ( | const OUString & | _rFacetName | ) | const |
determines whether a given facet exists at the type
Definition at line 108 of file xsddatatypes.cxx.
References Exception, and TOOLS_WARN_EXCEPTION.
bool pcr::XSDDataType::isBasicType | ( | ) | const |
Definition at line 83 of file xsddatatypes.cxx.
References pcr::getSave().
|
privatedelete |
void pcr::XSDDataType::setFacet | ( | const OUString & | _rFacetName, |
const css::uno::Any & | _rFacetValue | ||
) |
sets a facet value
Definition at line 95 of file xsddatatypes.cxx.
References Exception, and TOOLS_WARN_EXCEPTION.
|
private |
Definition at line 46 of file xsddatatypes.hxx.
Referenced by getUnoDataType().
|
private |
Definition at line 48 of file xsddatatypes.hxx.