LibreOffice Module chart2 (master) 1
|
This sequence object does store actual values within, hence "cached". More...
#include <CachedDataSequence.hxx>
Public Member Functions | |
CachedDataSequence () | |
constructs an empty sequence More... | |
CachedDataSequence (const css::uno::Reference< css::uno::XComponentContext > &xContext) | |
CachedDataSequence (const OUString &rSingleText) | |
creates a sequence and initializes it with the given string. More... | |
CachedDataSequence (const CachedDataSequence &rSource) | |
Copy CTOR. More... | |
virtual | ~CachedDataSequence () override |
virtual OUString SAL_CALL | getImplementationName () override |
declare XServiceInfo methods More... | |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
Public Member Functions inherited from comphelper::OMutexAndBroadcastHelper | |
OMutexAndBroadcastHelper () | |
::osl::Mutex & | GetMutex () |
::cppu::OBroadcastHelper & | GetBroadcastHelper () |
const ::cppu::OBroadcastHelper & | GetBroadcastHelper () const |
Public Member Functions inherited from comphelper::OPropertyContainer | |
virtual | ~OPropertyContainer () |
Public Member Functions inherited from comphelper::OPropertyArrayUsageHelper< CachedDataSequence > | |
OPropertyArrayUsageHelper () | |
virtual | ~OPropertyArrayUsageHelper () |
::cppu::IPropertyArrayHelper * | getArrayHelper () |
Private Types | |
enum | DataType { NUMERICAL , TEXTUAL , MIXED } |
Private Member Functions | |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
merge XInterface implementations More... | |
virtual ::cppu::IPropertyArrayHelper &SAL_CALL | getInfoHelper () override |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getData () override |
virtual OUString SAL_CALL | getSourceRangeRepresentation () override |
virtual css::uno::Sequence< OUString > SAL_CALL | generateLabel (css::chart2::data::LabelOrigin nLabelOrigin) override |
virtual ::sal_Int32 SAL_CALL | getNumberFormatKeyByIndex (::sal_Int32 nIndex) override |
virtual css::uno::Sequence< double > SAL_CALL | getNumericalData () override |
virtual css::uno::Sequence< OUString > SAL_CALL | getTextualData () override |
virtual css::uno::Reference< css::util::XCloneable > SAL_CALL | createClone () override |
virtual void SAL_CALL | addModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
virtual void SAL_CALL | removeModifyListener (const css::uno::Reference< css::util::XModifyListener > &aListener) override |
virtual void SAL_CALL | initialize (const css::uno::Sequence< css::uno::Any > &aArguments) override |
void | registerProperties () |
This method registers all properties. More... | |
css::uno::Sequence< double > | Impl_getNumericalData () const |
is used by interface method getNumericalData(). More... | |
css::uno::Sequence< OUString > | Impl_getTextualData () const |
is used by interface method getTextualData(). More... | |
css::uno::Sequence< css::uno::Any > | Impl_getMixedData () const |
is used by interface method getData(). More... | |
Private Attributes | |
sal_Int32 | m_nNumberFormatKey |
OUString | m_sRole |
enum DataType | m_eCurrentDataType |
css::uno::Sequence< double > | m_aNumericalSequence |
css::uno::Sequence< OUString > | m_aTextualSequence |
css::uno::Sequence< css::uno::Any > | m_aMixedSequence |
rtl::Reference< ModifyEventForwarder > | m_xModifyEventForwarder |
Additional Inherited Members | |
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 |
virtual ::cppu::IPropertyArrayHelper * | createArrayHelper () const =0 |
Static Protected Member Functions inherited from comphelper::OPropertyContainer | |
static css::uno::Sequence< css::uno::Type > | getBaseTypes () |
Static Protected Member Functions inherited from comphelper::OPropertyArrayUsageHelper< CachedDataSequence > | |
static std::mutex & | theMutex () |
Protected Attributes inherited from comphelper::OMutexAndBroadcastHelper | |
::osl::Mutex | m_aMutex |
::cppu::OBroadcastHelper | m_aBHelper |
Static Protected Attributes inherited from comphelper::OPropertyArrayUsageHelper< CachedDataSequence > | |
static sal_Int32 | s_nRefCount |
::cppu::IPropertyArrayHelper * | s_pProps |
This sequence object does store actual values within, hence "cached".
Definition at line 58 of file CachedDataSequence.hxx.
|
private |
Enumerator | |
---|---|
NUMERICAL | |
TEXTUAL | |
MIXED |
Definition at line 132 of file CachedDataSequence.hxx.
chart::CachedDataSequence::CachedDataSequence | ( | ) |
constructs an empty sequence
Definition at line 55 of file CachedDataSequence.cxx.
References registerProperties().
Referenced by createClone().
|
explicit |
References DECLARE_XINTERFACE.
|
explicit |
creates a sequence and initializes it with the given string.
This is especially useful for labels, which only have one element.
Definition at line 72 of file CachedDataSequence.cxx.
|
explicit |
Copy CTOR.
Definition at line 82 of file CachedDataSequence.cxx.
References m_aMixedSequence, m_aNumericalSequence, m_aTextualSequence, m_eCurrentDataType, MIXED, NUMERICAL, registerProperties(), and TEXTUAL.
|
overridevirtual |
Definition at line 106 of file CachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 311 of file CachedDataSequence.cxx.
References m_xModifyEventForwarder.
|
overrideprivatevirtual |
Implements comphelper::OPropertyArrayUsageHelper< CachedDataSequence >.
Definition at line 232 of file CachedDataSequence.cxx.
References comphelper::OPropertyContainerHelper::describeProperties().
|
overrideprivatevirtual |
Definition at line 306 of file CachedDataSequence.cxx.
References CachedDataSequence().
|
overrideprivatevirtual |
Definition at line 295 of file CachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 284 of file CachedDataSequence.cxx.
References comphelper::OMutexAndBroadcastHelper::GetMutex(), and Impl_getMixedData().
|
overridevirtual |
declare XServiceInfo methods
Definition at line 241 of file CachedDataSequence.cxx.
|
overrideprivate |
Definition at line 226 of file CachedDataSequence.cxx.
References comphelper::OPropertyArrayUsageHelper< CachedDataSequence >::getArrayHelper().
|
overrideprivate |
Definition at line 301 of file CachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 262 of file CachedDataSequence.cxx.
References comphelper::OMutexAndBroadcastHelper::GetMutex(), Impl_getNumericalData(), m_aNumericalSequence, m_eCurrentDataType, and NUMERICAL.
|
overrideprivatevirtual |
merge XInterface implementations
merge XTypeProvider implementations
Definition at line 220 of file CachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 290 of file CachedDataSequence.cxx.
References m_sRole.
|
overridevirtual |
Definition at line 251 of file CachedDataSequence.cxx.
|
overrideprivatevirtual |
Definition at line 273 of file CachedDataSequence.cxx.
References comphelper::OMutexAndBroadcastHelper::GetMutex(), Impl_getTextualData(), m_aTextualSequence, m_eCurrentDataType, and TEXTUAL.
|
private |
is used by interface method getData().
Definition at line 185 of file CachedDataSequence.cxx.
References Any, m_aMixedSequence, m_aNumericalSequence, m_aTextualSequence, m_eCurrentDataType, MIXED, NUMERICAL, and TEXTUAL.
Referenced by getData().
|
private |
is used by interface method getNumericalData().
Definition at line 124 of file CachedDataSequence.cxx.
References Any, m_aMixedSequence, m_aNumericalSequence, m_aTextualSequence, m_eCurrentDataType, MIXED, NUMERICAL, and TEXTUAL.
Referenced by getNumericalData().
|
private |
is used by interface method getTextualData().
Definition at line 154 of file CachedDataSequence.cxx.
References Any, m_aMixedSequence, m_aNumericalSequence, m_aTextualSequence, m_eCurrentDataType, MIXED, NUMERICAL, and TEXTUAL.
Referenced by getTextualData().
|
overrideprivatevirtual |
Definition at line 322 of file CachedDataSequence.cxx.
References aMap, m_aMixedSequence, m_aNumericalSequence, m_aTextualSequence, m_eCurrentDataType, MIXED, NUMERICAL, and TEXTUAL.
|
private |
This method registers all properties.
It should be called by all constructors.
Definition at line 109 of file CachedDataSequence.cxx.
References m_nNumberFormatKey, m_sRole, and comphelper::OPropertyContainerHelper::registerProperty().
Referenced by CachedDataSequence().
|
overrideprivatevirtual |
Definition at line 316 of file CachedDataSequence.cxx.
References m_xModifyEventForwarder.
|
overridevirtual |
Definition at line 246 of file CachedDataSequence.cxx.
References cppu::supportsService().
|
private |
Definition at line 158 of file CachedDataSequence.hxx.
Referenced by CachedDataSequence(), Impl_getMixedData(), Impl_getNumericalData(), Impl_getTextualData(), and initialize().
|
private |
Definition at line 156 of file CachedDataSequence.hxx.
Referenced by CachedDataSequence(), getNumericalData(), Impl_getMixedData(), Impl_getNumericalData(), Impl_getTextualData(), and initialize().
|
private |
Definition at line 157 of file CachedDataSequence.hxx.
Referenced by CachedDataSequence(), getTextualData(), Impl_getMixedData(), Impl_getNumericalData(), Impl_getTextualData(), and initialize().
|
private |
Definition at line 154 of file CachedDataSequence.hxx.
Referenced by CachedDataSequence(), getNumericalData(), getTextualData(), Impl_getMixedData(), Impl_getNumericalData(), Impl_getTextualData(), and initialize().
|
private |
Definition at line 128 of file CachedDataSequence.hxx.
Referenced by registerProperties().
|
private |
Definition at line 129 of file CachedDataSequence.hxx.
Referenced by getSourceRangeRepresentation(), and registerProperties().
|
private |
Definition at line 159 of file CachedDataSequence.hxx.
Referenced by addModifyListener(), and removeModifyListener().