LibreOffice Module ucbhelper (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
ucbhelper::PropertySetInfo Class Reference

This class provides a propertyset info ( the complete implementation of the interface XPropertySetInfo ) for an object derived from class ucb::ContentImplHelper. More...

#include <contentinfo.hxx>

Inheritance diagram for ucbhelper::PropertySetInfo:
[legend]
Collaboration diagram for ucbhelper::PropertySetInfo:
[legend]

Public Member Functions

 PropertySetInfo (css::uno::Reference< css::ucb::XCommandEnvironment > xEnv, ContentImplHelper *pContent)
 
virtual ~PropertySetInfo () override
 
virtual css::uno::Sequence< css::beans::Property > SAL_CALL getProperties () override
 
virtual css::beans::Property SAL_CALL getPropertyByName (const OUString &aName) override
 
virtual sal_Bool SAL_CALL hasPropertyByName (const OUString &Name) override
 
void reset ()
 

Private Member Functions

bool queryProperty (std::u16string_view rName, css::beans::Property &rProp)
 
const css::uno::Sequence< css::beans::Property > & getPropertiesImpl ()
 

Private Attributes

css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv
 
std::optional< css::uno::Sequence< css::beans::Property > > m_xProps
 
std::mutex m_aMutex
 
ContentImplHelperm_pContent
 

Detailed Description

This class provides a propertyset info ( the complete implementation of the interface XPropertySetInfo ) for an object derived from class ucb::ContentImplHelper.

The implementation takes care about Additional Core Properties that may have been added to the content.

Definition at line 45 of file contentinfo.hxx.

Constructor & Destructor Documentation

◆ PropertySetInfo()

ucbhelper::PropertySetInfo::PropertySetInfo ( css::uno::Reference< css::ucb::XCommandEnvironment >  xEnv,
ContentImplHelper pContent 
)

◆ ~PropertySetInfo()

ucbhelper::PropertySetInfo::~PropertySetInfo ( )
overridevirtual

Definition at line 47 of file contentinfo.cxx.

Member Function Documentation

◆ getProperties()

uno::Sequence< beans::Property > SAL_CALL ucbhelper::PropertySetInfo::getProperties ( )
overridevirtual

Definition at line 56 of file contentinfo.cxx.

References m_aMutex.

◆ getPropertiesImpl()

const uno::Sequence< beans::Property > & ucbhelper::PropertySetInfo::getPropertiesImpl ( )
private

Definition at line 62 of file contentinfo.cxx.

References m_xProps, and nPos.

◆ getPropertyByName()

beans::Property SAL_CALL ucbhelper::PropertySetInfo::getPropertyByName ( const OUString &  aName)
overridevirtual

Definition at line 112 of file contentinfo.cxx.

References aName.

◆ hasPropertyByName()

sal_Bool SAL_CALL ucbhelper::PropertySetInfo::hasPropertyByName ( const OUString &  Name)
overridevirtual

Definition at line 124 of file contentinfo.cxx.

References Name.

◆ queryProperty()

bool ucbhelper_impl::PropertySetInfo::queryProperty ( std::u16string_view  rName,
css::beans::Property &  rProp 
)
private

Definition at line 142 of file contentinfo.cxx.

References m_aMutex, m_xProps, n, and nCount.

◆ reset()

void ucbhelper::PropertySetInfo::reset ( )

Definition at line 135 of file contentinfo.cxx.

References m_aMutex, and m_xProps.

Member Data Documentation

◆ m_aMutex

std::mutex ucbhelper::PropertySetInfo::m_aMutex
private

Definition at line 52 of file contentinfo.hxx.

◆ m_pContent

ContentImplHelper* ucbhelper::PropertySetInfo::m_pContent
private

Definition at line 53 of file contentinfo.hxx.

◆ m_xEnv

css::uno::Reference< css::ucb::XCommandEnvironment > ucbhelper::PropertySetInfo::m_xEnv
private

Definition at line 49 of file contentinfo.hxx.

◆ m_xProps

std::optional<css::uno::Sequence< css::beans::Property > > ucbhelper::PropertySetInfo::m_xProps
private

Definition at line 51 of file contentinfo.hxx.


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