LibreOffice Module forms (master) 1
Protected Types | Protected Member Functions | List of all members
xforms::OValueLimitedType< VALUE_TYPE > Class Template Reference

#include <datatypes.hxx>

Inheritance diagram for xforms::OValueLimitedType< VALUE_TYPE >:
[legend]
Collaboration diagram for xforms::OValueLimitedType< VALUE_TYPE >:
[legend]

Protected Types

typedef VALUE_TYPE ValueType
 

Protected Member Functions

const css::uno::Type & getCppuType () const
 
 OValueLimitedType (const OUString &_rName, sal_Int16 _nTypeClass)
 
virtual void registerProperties () override
 
void registerProperties ()
 
void registerProperties ()
 
void registerProperties ()
 
void registerProperties ()
 
void registerProperties ()
 
- Protected Member Functions inherited from xforms::OValueLimitedType_Base
 OValueLimitedType_Base (const OUString &_rName, sal_Int16 _nTypeClass)
 
virtual void initializeClone (const OXSDDataType &_rCloneSource) override
 
void initializeTypedClone (const OValueLimitedType_Base &_rCloneSource)
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual bool _getValue (const OUString &value, double &fValue)
 
virtual TranslateId _validate (const OUString &value) override
 
virtual OUString _explainInvalid (TranslateId rReason) override
 
virtual OUString typedValueAsHumanReadableString (const css::uno::Any &_rValue) const =0
 translate a given value into a human-readable string More...
 
virtual void normalizeValue (const css::uno::Any &_rValue, double &_rDoubleValue) const =0
 translates a <member>ValueType</member> value into a double value More...
 
- Protected Member Functions inherited from xforms::OXSDDataType
sal_Int16 getTypeClass () const
 
 OXSDDataType (OUString _aName, sal_Int16 _nTypeClass)
 
virtual ~OXSDDataType () override
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &_rConvertedValue, css::uno::Any &_rOldValue, sal_Int32 _nHandle, const css::uno::Any &_rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual rtl::Reference< OXSDDataTypecreateClone (const OUString &_rName) const =0
 
virtual void initializeClone (const OXSDDataType &_rCloneSource)
 
virtual TranslateId _validate (const OUString &value)
 
virtual OUString _explainInvalid (TranslateId rReason)
 
virtual bool checkPropertySanity (sal_Int32 _nHandle, const css::uno::Any &_rNewValue, OUString &_rErrorMessage)
 
virtual void registerProperties ()
 
- Protected Member Functions inherited from comphelper::OPropertyContainer
 OPropertyContainer (::cppu::OBroadcastHelper &_rBHelper)
 
virtual sal_Bool SAL_CALL convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL setFastPropertyValue_NoBroadcast (sal_Int32 nHandle, const css::uno::Any &rValue) override
 
virtual void SAL_CALL getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const override
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 nHandle) override final
 
virtual void getFastPropertyValue (std::unique_lock< std::mutex > &rGuard, css::uno::Any &rValue, sal_Int32 nHandle) const =0
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue) override final
 
- Protected Member Functions inherited from comphelper::OPropertyContainerHelper
 OPropertyContainerHelper ()
 
 ~OPropertyContainerHelper ()
 
void registerProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, void *_pPointerToMember, const css::uno::Type &_rMemberType)
 
void registerMayBeVoidProperty (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, css::uno::Any *_pPointerToMember, const css::uno::Type &_rExpectedType)
 
void registerPropertyNoMember (const OUString &_rName, sal_Int32 _nHandle, sal_Int32 _nAttributes, const css::uno::Type &_rType, css::uno::Any const &_pInitialValue)
 
void revokeProperty (sal_Int32 _nHandle)
 
bool isRegisteredProperty (sal_Int32 _nHandle) const
 
bool isRegisteredProperty (const OUString &_rName) const
 
bool convertFastPropertyValue (css::uno::Any &rConvertedValue, css::uno::Any &rOldValue, sal_Int32 nHandle, const css::uno::Any &rValue)
 
void setFastPropertyValue (sal_Int32 nHandle, const css::uno::Any &rValue)
 
void getFastPropertyValue (css::uno::Any &rValue, sal_Int32 nHandle) const
 
void describeProperties (css::uno::Sequence< css::beans::Property > &_rProps) const
 
const css::beans::Property & getProperty (const OUString &_rName) const
 

Additional Inherited Members

- Public Member Functions inherited from xforms::OXSDDataType
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &aName) override
 
virtual OUString SAL_CALL getPattern () override
 
virtual void SAL_CALL setPattern (const OUString &_pattern) override
 
virtual sal_Int16 SAL_CALL getWhiteSpaceTreatment () override
 
virtual void SAL_CALL setWhiteSpaceTreatment (sal_Int16 _whitespacetreatment) override
 
virtual sal_Bool SAL_CALL getIsBasic () override
 
virtual sal_Int16 SAL_CALL getTypeClass () override
 
virtual sal_Bool SAL_CALL validate (const OUString &value) override
 
virtual OUString SAL_CALL explainInvalid (const OUString &value) override
 
virtual void SAL_CALL setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override
 
virtual css::uno::Any SAL_CALL getPropertyValue (const OUString &PropertyName) override
 
virtual void SAL_CALL addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override
 
virtual void SAL_CALL removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override
 
virtual void SAL_CALL addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
virtual void SAL_CALL removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override
 
rtl::Reference< OXSDDataTypeclone (const OUString &_rNewName) const
 
- Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper
 OMutexAndBroadcastHelper ()
 
::osl::Mutex & GetMutex ()
 
::cppu::OBroadcastHelperGetBroadcastHelper ()
 
const ::cppu::OBroadcastHelperGetBroadcastHelper () const
 
- Public Member Functions inherited from comphelper::OPropertyContainer
virtual ~OPropertyContainer ()
 
- Static Protected Member Functions inherited from comphelper::OPropertyContainer
static css::uno::Sequence< css::uno::Type > getBaseTypes ()
 
- Protected Attributes inherited from xforms::OValueLimitedType_Base
css::uno::Any m_aMaxInclusive
 
css::uno::Any m_aMaxExclusive
 
css::uno::Any m_aMinInclusive
 
css::uno::Any m_aMinExclusive
 
double m_fCachedMaxInclusive
 
double m_fCachedMaxExclusive
 
double m_fCachedMinInclusive
 
double m_fCachedMinExclusive
 
- Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper
::osl::Mutex m_aMutex
 
::cppu::OBroadcastHelper m_aBHelper
 

Detailed Description

template<typename VALUE_TYPE>
class xforms::OValueLimitedType< VALUE_TYPE >

Definition at line 189 of file datatypes.hxx.

Member Typedef Documentation

◆ ValueType

template<typename VALUE_TYPE >
typedef VALUE_TYPE xforms::OValueLimitedType< VALUE_TYPE >::ValueType
protected

Definition at line 192 of file datatypes.hxx.

Constructor & Destructor Documentation

◆ OValueLimitedType()

template<typename VALUE_TYPE >
xforms::OValueLimitedType< VALUE_TYPE >::OValueLimitedType ( const OUString &  _rName,
sal_Int16  _nTypeClass 
)
protected

Definition at line 1194 of file datatypes.cxx.

Member Function Documentation

◆ getCppuType()

template<typename VALUE_TYPE >
const css::uno::Type & xforms::OValueLimitedType< VALUE_TYPE >::getCppuType ( ) const
inlineprotected

Definition at line 194 of file datatypes.hxx.

References cppu::UnoType< typename T >::get().

◆ registerProperties() [1/6]

void xforms::OValueLimitedType< css::util::Date >::registerProperties ( )
protectedvirtual

◆ registerProperties() [2/6]

void xforms::OValueLimitedType< css::util::Time >::registerProperties ( )
protectedvirtual

◆ registerProperties() [3/6]

void xforms::OValueLimitedType< css::util::DateTime >::registerProperties ( )
protectedvirtual

◆ registerProperties() [4/6]

void xforms::OValueLimitedType< double >::registerProperties ( )
protectedvirtual

◆ registerProperties() [5/6]

void xforms::OValueLimitedType< sal_Int16 >::registerProperties ( )
protectedvirtual

◆ registerProperties() [6/6]

template<typename VALUE_TYPE >
virtual void xforms::OValueLimitedType< VALUE_TYPE >::registerProperties ( )
overrideprotectedvirtual

Reimplemented from xforms::OXSDDataType.


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