24 #include <unordered_map>
26 #include <rtl/ustring.hxx>
27 #include <com/sun/star/uno/Any.hxx>
28 #include <com/sun/star/uno/Sequence.hxx>
49 : m_bIsCaseSensitive( true ) {}
52 bool bIsCaseSensitive )
54 m_bIsCaseSensitive( bIsCaseSensitive ) {}
78 bool contains(
const OUString & rName )
const;
80 const css::uno::Any&
getValue(
const OUString & rName )
const;
89 static void UCBNamesToDAVNames(
const css::uno::Sequence< css::beans::Property > & rProps,
90 std::vector< OUString > & resources );
100 std::vector< OUString > & resources );
106 const css::uno::Sequence< css::beans::Property >& rProps,
107 std::vector< OUString > & rNamesNotContained )
const;
117 const css::uno::Any & rValue,
118 bool bIsCaseSensitive );
157 void addProperties(
const std::vector< DAVPropertyValue > & rProps );
160 const css::uno::Sequence< css::beans::Property >& rProps,
161 std::vector< OUString > & rNamesNotContained )
const
164 const css::uno::Any &
166 {
return m_aProps.
getValue( rName ); }
CachableContentProperties(const CachableContentProperties &)
bool isCaseSensitive() const
void addProperties(const ContentProperties &rProps)
void addProperty(const OUString &rName, const css::uno::Any &rValue, bool bIsCaseSensitive)
bool containsAllNames(const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &rNamesNotContained) const
std::unordered_map< OUString, PropertyValue > PropertyValueMap
void addProperties(const std::vector< OUString > &rProps, const ContentProperties &rContentProps)
static void UCBNamesToDAVNames(const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &resources)
std::unique_ptr< PropertyValueMap > m_xProps
const css::uno::Any & getValue(const OUString &rName) const
static void UCBNamesToHTTPNames(const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &resources)
bool isTrailingSlash() const
const OUString & getEscapedTitle() const
ContentProperties & operator=(const ContentProperties &)
ContentProperties m_aProps
static css::uno::Any m_aEmptyAny
bool containsAllNames(const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &rNamesNotContained) const
const css::uno::Any & getValue(const OUString &rName) const
CachableContentProperties & operator=(const CachableContentProperties &)
const std::unique_ptr< PropertyValueMap > & getProperties() const
PropertyValue(const css::uno::Any &rValue, bool bIsCaseSensitive)
bool contains(const OUString &rName) const
const css::uno::Any & value() const