LibreOffice Module ucb (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
webdav_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 &)=delete
 
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 72 of file neon/ContentProperties.hxx.

Constructor & Destructor Documentation

ContentProperties::ContentProperties ( )

Definition at line 148 of file neon/ContentProperties.cxx.

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

Definition at line 125 of file neon/ContentProperties.cxx.

ContentProperties::ContentProperties ( const OUString &  rTitle)
explicit

Definition at line 139 of file neon/ContentProperties.cxx.

ContentProperties::ContentProperties ( const ContentProperties rOther)

Definition at line 154 of file neon/ContentProperties.cxx.

Member Function Documentation

void ContentProperties::addProperties ( const std::vector< OUString > &  rProps,
const ContentProperties rContentProps 
)
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 162 of file neon/ContentProperties.cxx.

Referenced by addProperties().

bool webdav_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 179 of file neon/ContentProperties.cxx.

References end, and m_xProps.

Referenced by addProperties().

const OUString& webdav_ucp::ContentProperties::getEscapedTitle ( ) const
inline
const std::unique_ptr< PropertyValueMap >& webdav_ucp::ContentProperties::getProperties ( ) const
inline
const uno::Any & ContentProperties::getValue ( const OUString &  rName) const
bool webdav_ucp::ContentProperties::isTrailingSlash ( ) const
inline
ContentProperties& webdav_ucp::ContentProperties::operator= ( const ContentProperties )
privatedelete
static void webdav_ucp::ContentProperties::UCBNamesToDAVNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  resources 
)
static
static void webdav_ucp::ContentProperties::UCBNamesToHTTPNames ( const css::uno::Sequence< css::beans::Property > &  rProps,
std::vector< OUString > &  resources 
)
static

Member Data Documentation

uno::Any ContentProperties::m_aEmptyAny
staticprivate

Definition at line 147 of file neon/ContentProperties.hxx.

Referenced by getValue().

OUString webdav_ucp::ContentProperties::m_aEscapedTitle
private

Definition at line 143 of file neon/ContentProperties.hxx.

Referenced by ContentProperties(), and getEscapedTitle().

bool webdav_ucp::ContentProperties::m_bTrailingSlash
private

Definition at line 145 of file neon/ContentProperties.hxx.

Referenced by ContentProperties(), and isTrailingSlash().

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

Definition at line 144 of file neon/ContentProperties.hxx.

Referenced by get(), and getProperties().


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