LibreOffice Module reportdesign (master)  1
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
reportdesign::OFunction Class Reference

implementation of a More...

#include <Function.hxx>

Inheritance diagram for reportdesign::OFunction:
[legend]
Collaboration diagram for reportdesign::OFunction:
[legend]

Public Member Functions

 OFunction (css::uno::Reference< css::uno::XComponentContext > const &_xContext)
 
virtual sal_Bool SAL_CALL supportsService (const OUString &ServiceName) override
 
virtual OUString SAL_CALL getImplementationName () override
 
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames () override
 
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo () 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
 
virtual sal_Bool SAL_CALL getPreEvaluated () override
 
virtual void SAL_CALL setPreEvaluated (sal_Bool the_value) override
 
virtual sal_Bool SAL_CALL getDeepTraversing () override
 
virtual void SAL_CALL setDeepTraversing (sal_Bool the_value) override
 
virtual OUString SAL_CALL getName () override
 
virtual void SAL_CALL setName (const OUString &the_value) override
 
virtual OUString SAL_CALL getFormula () override
 
virtual void SAL_CALL setFormula (const OUString &the_value) override
 
virtual css::beans::Optional< OUString > SAL_CALL getInitialFormula () override
 
virtual void SAL_CALL setInitialFormula (const css::beans::Optional< OUString > &the_value) override
 
virtual void SAL_CALL dispose () override
 
virtual void SAL_CALL addEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual void SAL_CALL removeEventListener (const css::uno::Reference< css::lang::XEventListener > &aListener) override
 
virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent () override
 
virtual void SAL_CALL setParent (const css::uno::Reference< css::uno::XInterface > &Parent) override
 

Protected Member Functions

virtual ~OFunction () override
 
- Protected Member Functions inherited from cppu::PropertySetMixin< class >
 PropertySetMixin (css::uno::Reference< css::uno::XComponentContext > const &context, Implements implements, css::uno::Sequence< rtl::OUString > const &absentOptional)
 
 ~PropertySetMixin ()
 
- Protected Member Functions inherited from cppu::PropertySetMixinImpl
void prepareSet (rtl::OUString const &propertyName, css::uno::Any const &oldValue, css::uno::Any const &newValue, BoundListeners *boundListeners)
 
void dispose ()
 
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &type) SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValue (rtl::OUString const &propertyName, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getPropertyValue (rtl::OUString const &propertyName) SAL_OVERRIDE
 
virtual void SAL_CALL addPropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removePropertyChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XPropertyChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL addVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL removeVetoableChangeListener (rtl::OUString const &propertyName, css::uno::Reference< css::beans::XVetoableChangeListener > const &listener) SAL_OVERRIDE
 
virtual void SAL_CALL setFastPropertyValue (sal_Int32 handle, css::uno::Any const &value) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL getFastPropertyValue (sal_Int32 handle) SAL_OVERRIDE
 
virtual css::uno::Sequence< css::beans::PropertyValue > SAL_CALL getPropertyValues () SAL_OVERRIDE
 
virtual void SAL_CALL setPropertyValues (css::uno::Sequence< css::beans::PropertyValue > const &props) SAL_OVERRIDE
 

Private Member Functions

 OFunction (const OFunction &)=delete
 
OFunctionoperator= (const OFunction &)=delete
 
template<typename T >
void set (const OUString &_sProperty, const T &Value, T &_member)
 
void set (const OUString &_sProperty, bool Value, bool &_member)
 

Private Attributes

css::beans::Optional< OUString > m_sInitialFormula
 
css::uno::WeakReference< css::report::XFunctions > m_xParent
 
OUString m_sName
 
OUString m_sFormula
 
bool m_bPreEvaluated
 
bool m_bDeepTraversing
 

Additional Inherited Members

- Protected Types inherited from cppu::PropertySetMixinImpl
enum  Implements
 
- Protected Attributes inherited from cppu::BaseMutex
mutable::osl::Mutex m_aMutex
 
- Protected Attributes inherited from cppu::PropertySetMixinImpl
 IMPLEMENTS_PROPERTY_SET
 
 IMPLEMENTS_FAST_PROPERTY_SET
 
 IMPLEMENTS_PROPERTY_ACCESS
 

Detailed Description

implementation of a

Definition at line 40 of file Function.hxx.

Constructor & Destructor Documentation

reportdesign::OFunction::OFunction ( const OFunction )
privatedelete
reportdesign::OFunction::~OFunction ( )
overrideprotectedvirtual

Definition at line 38 of file Function.cxx.

reportdesign::OFunction::OFunction ( css::uno::Reference< css::uno::XComponentContext > const &  _xContext)
explicit

Member Function Documentation

virtual void SAL_CALL reportdesign::OFunction::addEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 112 of file Function.hxx.

void SAL_CALL reportdesign::OFunction::addPropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  xListener 
)
overridevirtual
void SAL_CALL reportdesign::OFunction::addVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL reportdesign::OFunction::dispose ( void  )
overridevirtual

Definition at line 44 of file Function.cxx.

References cppu::PropertySetMixinImpl::dispose().

sal_Bool SAL_CALL reportdesign::OFunction::getDeepTraversing ( )
overridevirtual

Definition at line 113 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, and m_bDeepTraversing.

OUString SAL_CALL reportdesign::OFunction::getFormula ( )
overridevirtual

Definition at line 138 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, and m_sFormula.

OUString SAL_CALL reportdesign::OFunction::getImplementationName ( )
overridevirtual

Definition at line 50 of file Function.cxx.

beans::Optional< OUString > SAL_CALL reportdesign::OFunction::getInitialFormula ( )
overridevirtual

Definition at line 149 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, and m_sInitialFormula.

OUString SAL_CALL reportdesign::OFunction::getName ( )
overridevirtual

Definition at line 126 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, and m_sName.

uno::Reference< uno::XInterface > SAL_CALL reportdesign::OFunction::getParent ( )
overridevirtual

Definition at line 161 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, and m_xParent.

sal_Bool SAL_CALL reportdesign::OFunction::getPreEvaluated ( )
overridevirtual

Definition at line 101 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, and m_bPreEvaluated.

uno::Reference< beans::XPropertySetInfo > SAL_CALL reportdesign::OFunction::getPropertySetInfo ( )
overridevirtual

Reimplemented from cppu::PropertySetMixinImpl.

Definition at line 65 of file Function.cxx.

References cppu::PropertySetMixinImpl::getPropertySetInfo().

uno::Any SAL_CALL reportdesign::OFunction::getPropertyValue ( const OUString &  PropertyName)
overridevirtual

Definition at line 75 of file Function.cxx.

References cppu::PropertySetMixinImpl::getPropertyValue().

uno::Sequence< OUString > SAL_CALL reportdesign::OFunction::getSupportedServiceNames ( )
overridevirtual

Definition at line 55 of file Function.cxx.

References SERVICE_FUNCTION.

OFunction& reportdesign::OFunction::operator= ( const OFunction )
privatedelete
virtual void SAL_CALL reportdesign::OFunction::removeEventListener ( const css::uno::Reference< css::lang::XEventListener > &  aListener)
inlineoverridevirtual

Definition at line 116 of file Function.hxx.

void SAL_CALL reportdesign::OFunction::removePropertyChangeListener ( const OUString &  aPropertyName,
const css::uno::Reference< css::beans::XPropertyChangeListener > &  aListener 
)
overridevirtual
void SAL_CALL reportdesign::OFunction::removeVetoableChangeListener ( const OUString &  PropertyName,
const css::uno::Reference< css::beans::XVetoableChangeListener > &  aListener 
)
overridevirtual
template<typename T >
void reportdesign::OFunction::set ( const OUString &  _sProperty,
const T &  Value,
T &  _member 
)
inlineprivate
void reportdesign::OFunction::set ( const OUString &  _sProperty,
bool  Value,
bool &  _member 
)
inlineprivate
void SAL_CALL reportdesign::OFunction::setDeepTraversing ( sal_Bool  the_value)
overridevirtual

Definition at line 120 of file Function.cxx.

References m_bDeepTraversing, PROPERTY_DEEPTRAVERSING, and set().

void SAL_CALL reportdesign::OFunction::setFormula ( const OUString &  the_value)
overridevirtual

Definition at line 144 of file Function.cxx.

References m_sFormula, PROPERTY_FORMULA, and set().

void SAL_CALL reportdesign::OFunction::setInitialFormula ( const css::beans::Optional< OUString > &  the_value)
overridevirtual

Definition at line 155 of file Function.cxx.

References m_sInitialFormula, PROPERTY_INITIALFORMULA, and set().

void SAL_CALL reportdesign::OFunction::setName ( const OUString &  the_value)
overridevirtual

Definition at line 133 of file Function.cxx.

References m_sName, PROPERTY_NAME, and set().

void SAL_CALL reportdesign::OFunction::setParent ( const css::uno::Reference< css::uno::XInterface > &  Parent)
overridevirtual

Definition at line 167 of file Function.cxx.

References cppu::BaseMutex::m_aMutex, and m_xParent.

void SAL_CALL reportdesign::OFunction::setPreEvaluated ( sal_Bool  the_value)
overridevirtual

Definition at line 108 of file Function.cxx.

References m_bPreEvaluated, PROPERTY_PREEVALUATED, and set().

void SAL_CALL reportdesign::OFunction::setPropertyValue ( const OUString &  aPropertyName,
const css::uno::Any &  aValue 
)
overridevirtual

Definition at line 70 of file Function.cxx.

References cppu::PropertySetMixinImpl::setPropertyValue().

sal_Bool SAL_CALL reportdesign::OFunction::supportsService ( const OUString &  ServiceName)
overridevirtual

Definition at line 60 of file Function.cxx.

References cppu::supportsService().

Member Data Documentation

bool reportdesign::OFunction::m_bDeepTraversing
private

Definition at line 49 of file Function.hxx.

Referenced by getDeepTraversing(), and setDeepTraversing().

bool reportdesign::OFunction::m_bPreEvaluated
private

Definition at line 48 of file Function.hxx.

Referenced by getPreEvaluated(), and setPreEvaluated().

OUString reportdesign::OFunction::m_sFormula
private

Definition at line 47 of file Function.hxx.

Referenced by getFormula(), and setFormula().

css::beans::Optional< OUString> reportdesign::OFunction::m_sInitialFormula
private

Definition at line 44 of file Function.hxx.

Referenced by getInitialFormula(), and setInitialFormula().

OUString reportdesign::OFunction::m_sName
private

Definition at line 46 of file Function.hxx.

Referenced by getName(), and setName().

css::uno::WeakReference< css::report::XFunctions > reportdesign::OFunction::m_xParent
private

Definition at line 45 of file Function.hxx.

Referenced by getParent(), and setParent().


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