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 addProperties (const ContentProperties &rProps)
 
void addProperties (const std::vector< DAVPropertyValue > &rProps)
 
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, bool bIncludeUnmatched=true)
 
static void UCBNamesToHTTPNames (const css::uno::Sequence< css::beans::Property > &rProps, std::vector< OUString > &resources, bool bIncludeUnmatched=true)
 

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 63 of file ContentProperties.hxx.

Constructor & Destructor Documentation

ContentProperties::ContentProperties ( )

Definition at line 135 of file ContentProperties.cxx.

ContentProperties::ContentProperties ( const DAVResource rResource)
explicit
ContentProperties::ContentProperties ( const OUString &  rTitle,
bool  bFolder 
)

Definition at line 112 of file ContentProperties.cxx.

ContentProperties::ContentProperties ( const OUString &  rTitle)
explicit

Definition at line 126 of file ContentProperties.cxx.

ContentProperties::ContentProperties ( const ContentProperties rOther)

Definition at line 142 of file ContentProperties.cxx.

References get().

Member Function Documentation

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

Definition at line 374 of file ContentProperties.cxx.

References addProperty(), and m_xProps.

void ContentProperties::addProperties ( const std::vector< DAVPropertyValue > &  rProps)

Definition at line 384 of file ContentProperties.cxx.

References addProperty().

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

Definition at line 152 of file ContentProperties.cxx.

Referenced by addProperties().

bool http_dav_ucp::ContentProperties::containsAllNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  rNamesNotContained 
) const
const PropertyValue * ContentProperties::get ( const OUString &  rName) const
private

Definition at line 172 of file ContentProperties.cxx.

References end, and m_xProps.

Referenced by addProperties().

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

Definition at line 137 of file ContentProperties.hxx.

References m_xProps.

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

const uno::Any & ContentProperties::getValue ( const OUString &  rName) const
bool http_dav_ucp::ContentProperties::isTrailingSlash ( ) const
inline
ContentProperties& http_dav_ucp::ContentProperties::operator= ( const ContentProperties )
private
static void http_dav_ucp::ContentProperties::UCBNamesToDAVNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  resources,
bool  bIncludeUnmatched = true 
)
static
static void http_dav_ucp::ContentProperties::UCBNamesToHTTPNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  resources,
bool  bIncludeUnmatched = true 
)
static

Member Data Documentation

uno::Any ContentProperties::m_aEmptyAny
staticprivate

Definition at line 145 of file ContentProperties.hxx.

Referenced by getValue().

OUString http_dav_ucp::ContentProperties::m_aEscapedTitle
private

Definition at line 141 of file ContentProperties.hxx.

Referenced by ContentProperties(), and getEscapedTitle().

bool http_dav_ucp::ContentProperties::m_bTrailingSlash
private

Definition at line 143 of file ContentProperties.hxx.

Referenced by ContentProperties(), and isTrailingSlash().

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

Definition at line 142 of file ContentProperties.hxx.

Referenced by addProperties(), get(), and getProperties().


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