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 (const css::uno::Reference< css::ucb::XCommandEnvironment > &rxEnv, 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)
 

Private Attributes

css::uno::Reference< css::ucb::XCommandEnvironment > m_xEnv
 
std::unique_ptr< css::uno::Sequence< css::beans::Property > > m_pProps
 
osl::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 46 of file contentinfo.hxx.

Constructor & Destructor Documentation

ucbhelper::PropertySetInfo::PropertySetInfo ( const css::uno::Reference< css::ucb::XCommandEnvironment > &  rxEnv,
ContentImplHelper pContent 
)
ucbhelper::PropertySetInfo::~PropertySetInfo ( )
overridevirtual

Definition at line 54 of file contentinfo.cxx.

Member Function Documentation

uno::Sequence< beans::Property > SAL_CALL ucbhelper::PropertySetInfo::getProperties ( )
overridevirtual
beans::Property SAL_CALL ucbhelper::PropertySetInfo::getPropertyByName ( const OUString &  aName)
overridevirtual

Definition at line 123 of file contentinfo.cxx.

References queryProperty().

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

Definition at line 135 of file contentinfo.cxx.

References queryProperty().

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

Definition at line 153 of file contentinfo.cxx.

References getProperties(), m_aMutex, m_pProps, n, and nCount.

Referenced by getPropertyByName(), and hasPropertyByName().

void ucbhelper::PropertySetInfo::reset ( )

Definition at line 146 of file contentinfo.cxx.

References m_aMutex, and m_pProps.

Member Data Documentation

osl::Mutex ucbhelper::PropertySetInfo::m_aMutex
private

Definition at line 53 of file contentinfo.hxx.

Referenced by getProperties(), queryProperty(), and reset().

ContentImplHelper* ucbhelper::PropertySetInfo::m_pContent
private

Definition at line 54 of file contentinfo.hxx.

Referenced by getProperties().

std::unique_ptr<css::uno::Sequence< css::beans::Property > > ucbhelper::PropertySetInfo::m_pProps
private

Definition at line 52 of file contentinfo.hxx.

Referenced by getProperties(), queryProperty(), and reset().

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

Definition at line 50 of file contentinfo.hxx.

Referenced by getProperties().


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