LibreOffice Module forms (master) 1
Public Member Functions | Protected Types | List of all members
DirectPropertyAccessor< CLASS, VALUE > Class Template Reference

helper class for implementing property accessors via non-UNO methods More...

#include <propertysetbase.hxx>

Inheritance diagram for DirectPropertyAccessor< CLASS, VALUE >:
[legend]
Collaboration diagram for DirectPropertyAccessor< CLASS, VALUE >:
[legend]

Public Member Functions

 DirectPropertyAccessor (CLASS *pInstance, Writer pWriter, Reader pReader)
 
- Public Member Functions inherited from GenericPropertyAccessor< CLASS, VALUE, void(CLASS::*)(const VALUE &), VALUE(CLASS::*)() const >
 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 ()
 

Protected Types

typedef void(CLASS::* Writer) (const VALUE &)
 
typedef VALUE(CLASS::* Reader) () const
 

Additional Inherited Members

- Public Types inherited from GenericPropertyAccessor< CLASS, VALUE, void(CLASS::*)(const VALUE &), VALUE(CLASS::*)() const >
typedef void(CLASS::*)(const VALUE &) Writer
 
typedef VALUE(CLASS::*)() const Reader
 
- 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
 

Detailed Description

template<typename CLASS, typename VALUE>
class DirectPropertyAccessor< CLASS, VALUE >

helper class for implementing property accessors via non-UNO methods

Definition at line 103 of file propertysetbase.hxx.

Member Typedef Documentation

◆ Reader

template<typename CLASS , typename VALUE >
typedef VALUE(CLASS::* DirectPropertyAccessor< CLASS, VALUE >::Reader) () const
protected

Definition at line 112 of file propertysetbase.hxx.

◆ Writer

template<typename CLASS , typename VALUE >
typedef void(CLASS::* DirectPropertyAccessor< CLASS, VALUE >::Writer) (const VALUE &)
protected

Definition at line 111 of file propertysetbase.hxx.

Constructor & Destructor Documentation

◆ DirectPropertyAccessor()

template<typename CLASS , typename VALUE >
DirectPropertyAccessor< CLASS, VALUE >::DirectPropertyAccessor ( CLASS pInstance,
Writer  pWriter,
Reader  pReader 
)
inline

Definition at line 114 of file propertysetbase.hxx.

References CLASS, and VALUE.


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