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

helper class for implementing non-UNO accessors to a boolean property More...

#include <propertysetbase.hxx>

Inheritance diagram for BooleanPropertyAccessor< CLASS >:
[legend]
Collaboration diagram for BooleanPropertyAccessor< CLASS >:
[legend]

Public Member Functions

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

Additional Inherited Members

- Public Types inherited from GenericPropertyAccessor< CLASS, bool, void(CLASS::*)(bool), bool(CLASS::*)() const >
typedef void(CLASS::*)(bool) Writer
 
typedef bool(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>
class BooleanPropertyAccessor< CLASS >

helper class for implementing non-UNO accessors to a boolean property

Definition at line 123 of file propertysetbase.hxx.

Member Typedef Documentation

◆ Reader

template<typename CLASS >
typedef bool(CLASS::* BooleanPropertyAccessor< CLASS >::Reader) () const
protected

Definition at line 132 of file propertysetbase.hxx.

◆ Writer

template<typename CLASS >
typedef void(CLASS::* BooleanPropertyAccessor< CLASS >::Writer) (bool)
protected

Definition at line 131 of file propertysetbase.hxx.

Constructor & Destructor Documentation

◆ BooleanPropertyAccessor()

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

Definition at line 134 of file propertysetbase.hxx.

References CLASS.


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