LibreOffice Module ucb (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
http_dav_ucp::ContentProperties Class Reference

#include <ContentProperties.hxx>

Public Member Functions

 ContentProperties ()
 
 ContentProperties (const DAVResource &rResource)
 
 ContentProperties (const OUString &rTitle, bool bFolder)
 
 ContentProperties (const OUString &rTitle)
 
 ContentProperties (const ContentProperties &rOther)
 
bool contains (const OUString &rName) const
 
const css::uno::Any & getValue (const OUString &rName) const
 
bool containsAllNames (const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &rNamesNotContained) const
 
void addProperties (const std::vector< OUString > &rProps, const ContentProperties &rContentProps)
 
void addProperty (const OUString &rName, const css::uno::Any &rValue, bool bIsCaseSensitive)
 
void addProperty (const DAVPropertyValue &rProp)
 
bool isTrailingSlash () const
 
const OUString & getEscapedTitle () const
 
const std::unique_ptr< PropertyValueMap > & getProperties () const
 

Static Public Member Functions

static void UCBNamesToDAVNames (const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &resources)
 
static void UCBNamesToHTTPNames (const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &resources)
 

Private Member Functions

ContentPropertiesoperator= (const ContentProperties &)
 
const PropertyValueget (const OUString &rName) const
 

Private Attributes

OUString m_aEscapedTitle
 
std::unique_ptr< PropertyValueMapm_xProps
 
bool m_bTrailingSlash
 

Static Private Attributes

static css::uno::Any m_aEmptyAny
 

Detailed Description

Definition at line 64 of file ContentProperties.hxx.

Constructor & Destructor Documentation

◆ ContentProperties() [1/5]

ContentProperties::ContentProperties ( )

Definition at line 134 of file ContentProperties.cxx.

References m_xProps.

◆ ContentProperties() [2/5]

ContentProperties::ContentProperties ( const DAVResource rResource)
explicit

◆ ContentProperties() [3/5]

ContentProperties::ContentProperties ( const OUString &  rTitle,
bool  bFolder 
)

Definition at line 111 of file ContentProperties.cxx.

References m_xProps.

◆ ContentProperties() [4/5]

ContentProperties::ContentProperties ( const OUString &  rTitle)
explicit

Definition at line 125 of file ContentProperties.cxx.

References m_xProps.

◆ ContentProperties() [5/5]

ContentProperties::ContentProperties ( const ContentProperties rOther)

Definition at line 141 of file ContentProperties.cxx.

References m_xProps.

Member Function Documentation

◆ addProperties()

void ContentProperties::addProperties ( const std::vector< OUString > &  rProps,
const ContentProperties rContentProps 
)

◆ addProperty() [1/2]

void ContentProperties::addProperty ( const DAVPropertyValue rProp)

◆ addProperty() [2/2]

void ContentProperties::addProperty ( const OUString &  rName,
const css::uno::Any &  rValue,
bool  bIsCaseSensitive 
)

◆ contains()

bool ContentProperties::contains ( const OUString &  rName) const

Definition at line 151 of file ContentProperties.cxx.

References get().

Referenced by addProperties(), and containsAllNames().

◆ containsAllNames()

bool ContentProperties::containsAllNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  rNamesNotContained 
) const

Definition at line 325 of file ContentProperties.cxx.

References contains(), n, and nCount.

Referenced by http_dav_ucp::CachableContentProperties::containsAllNames().

◆ get()

const PropertyValue * ContentProperties::get ( const OUString &  rName) const
private

Definition at line 171 of file ContentProperties.cxx.

References end, and m_xProps.

Referenced by addProperties(), contains(), and getValue().

◆ getEscapedTitle()

const OUString & http_dav_ucp::ContentProperties::getEscapedTitle ( ) const
inline

Definition at line 126 of file ContentProperties.hxx.

References m_aEscapedTitle.

◆ getProperties()

const std::unique_ptr< PropertyValueMap > & http_dav_ucp::ContentProperties::getProperties ( ) const
inline

Definition at line 130 of file ContentProperties.hxx.

References m_xProps.

Referenced by http_dav_ucp::CachableContentProperties::addProperties().

◆ getValue()

const uno::Any & ContentProperties::getValue ( const OUString &  rName) const

◆ isTrailingSlash()

bool http_dav_ucp::ContentProperties::isTrailingSlash ( ) const
inline

Definition at line 124 of file ContentProperties.hxx.

References m_bTrailingSlash.

◆ operator=()

ContentProperties & http_dav_ucp::ContentProperties::operator= ( const ContentProperties )
private

◆ UCBNamesToDAVNames()

void ContentProperties::UCBNamesToDAVNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  resources 
)
static

◆ UCBNamesToHTTPNames()

void ContentProperties::UCBNamesToHTTPNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  resources 
)
static

Definition at line 286 of file ContentProperties.cxx.

References n, and nCount.

Member Data Documentation

◆ m_aEmptyAny

uno::Any ContentProperties::m_aEmptyAny
staticprivate

Definition at line 138 of file ContentProperties.hxx.

Referenced by getValue().

◆ m_aEscapedTitle

OUString http_dav_ucp::ContentProperties::m_aEscapedTitle
private

Definition at line 134 of file ContentProperties.hxx.

Referenced by ContentProperties(), and getEscapedTitle().

◆ m_bTrailingSlash

bool http_dav_ucp::ContentProperties::m_bTrailingSlash
private

Definition at line 136 of file ContentProperties.hxx.

Referenced by ContentProperties(), and isTrailingSlash().

◆ m_xProps

std::unique_ptr< PropertyValueMap > http_dav_ucp::ContentProperties::m_xProps
private

Definition at line 135 of file ContentProperties.hxx.

Referenced by get(), and getProperties().


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