LibreOffice Module forms (master) 1
|
helper class for implementing property accessors through public member functions More...
#include <propertysetbase.hxx>
Public Types | |
typedef WRITER | Writer |
typedef READER | Reader |
Public Member Functions | |
GenericPropertyAccessor (CLASS *pInstance, Writer pWriter, Reader pReader) | |
virtual bool | approveValue (const css::uno::Any &rValue) const override |
virtual void | setValue (const css::uno::Any &rValue) override |
virtual void | getValue (css::uno::Any &rValue) const override |
virtual bool | isWriteable () const override |
virtual bool | approveValue (const css::uno::Any &rValue) const =0 |
virtual void | setValue (const css::uno::Any &rValue)=0 |
virtual void | getValue (css::uno::Any &rValue) const =0 |
virtual bool | isWriteable () const =0 |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
CLASS * | m_pInstance |
Writer | m_pWriter |
Reader | m_pReader |
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 Member Functions inherited from PropertyAccessorBase | |
PropertyAccessorBase () | |
virtual | ~PropertyAccessorBase () override |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
helper class for implementing property accessors through public member functions
Definition at line 57 of file propertysetbase.hxx.
typedef READER GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::Reader |
Definition at line 61 of file propertysetbase.hxx.
Definition at line 60 of file propertysetbase.hxx.
|
inline |
Definition at line 69 of file propertysetbase.hxx.
|
inlineoverridevirtual |
Implements PropertyAccessorBase.
Definition at line 76 of file propertysetbase.hxx.
References VALUE.
|
inlineoverridevirtual |
Implements PropertyAccessorBase.
Definition at line 89 of file propertysetbase.hxx.
References GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::m_pInstance, and GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::m_pReader.
|
inlineoverridevirtual |
Implements PropertyAccessorBase.
Definition at line 94 of file propertysetbase.hxx.
References GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::m_pWriter.
|
inlineoverridevirtual |
Implements PropertyAccessorBase.
Definition at line 82 of file propertysetbase.hxx.
References GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::m_pInstance, GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::m_pWriter, and VALUE.
|
private |
Definition at line 64 of file propertysetbase.hxx.
Referenced by GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::getValue(), and GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::setValue().
|
private |
Definition at line 66 of file propertysetbase.hxx.
Referenced by GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::getValue().
|
private |
Definition at line 65 of file propertysetbase.hxx.
Referenced by GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::isWriteable(), and GenericPropertyAccessor< CLASS, VALUE, WRITER, READER >::setValue().