LibreOffice Module stoc (master) 1
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
stoc::uriproc::UriReference Class Reference

#include <UriReference.hxx>

Public Member Functions

 UriReference (OUString scheme, bool hasAuthority, OUString const &authority, OUString path, bool hasQuery, OUString const &query)
 
 ~UriReference ()
 
OUString getUriReference ()
 
bool isAbsolute () const
 
const OUString & getScheme () const
 
OUString getSchemeSpecificPart ()
 
bool isHierarchical ()
 
bool hasAuthority () const
 
const OUString & getAuthority () const
 
OUString getPath ()
 
bool hasRelativePath ()
 
sal_Int32 getPathSegmentCount ()
 
OUString getPathSegment (sal_Int32 index)
 
bool hasQuery () const
 
const OUString & getQuery () const
 
bool hasFragment ()
 
OUString getFragment ()
 
void setFragment (OUString const &fragment)
 
void clearFragment ()
 

Public Attributes

std::mutex m_mutex
 
OUString m_path
 

Private Member Functions

 UriReference (UriReference const &)=delete
 
void operator= (UriReference const &)=delete
 
void appendSchemeSpecificPart (OUStringBuffer &buffer) const
 

Private Attributes

OUString m_scheme
 
OUString m_authority
 
OUString m_query
 
OUString m_fragment
 
bool m_hasAuthority
 
bool m_hasQuery
 
bool m_hasFragment
 

Detailed Description

Definition at line 30 of file UriReference.hxx.

Constructor & Destructor Documentation

◆ UriReference() [1/2]

UriReference::UriReference ( OUString  scheme,
bool  hasAuthority,
OUString const &  authority,
OUString  path,
bool  hasQuery,
OUString const &  query 
)

Definition at line 33 of file UriReference.cxx.

References query().

◆ ~UriReference()

UriReference::~UriReference ( )

Definition at line 49 of file UriReference.cxx.

◆ UriReference() [2/2]

stoc::uriproc::UriReference::UriReference ( UriReference const &  )
privatedelete

Member Function Documentation

◆ appendSchemeSpecificPart()

void UriReference::appendSchemeSpecificPart ( OUStringBuffer &  buffer) const
private

Definition at line 169 of file UriReference.cxx.

References m_authority, m_hasAuthority, m_hasQuery, m_path, and m_query.

Referenced by getSchemeSpecificPart(), and getUriReference().

◆ clearFragment()

void UriReference::clearFragment ( )
Exceptions
css::uno::RuntimeException

Definition at line 163 of file UriReference.cxx.

References m_fragment, m_hasFragment, and m_mutex.

◆ getAuthority()

const OUString & UriReference::getAuthority ( ) const
Exceptions
css::uno::RuntimeException

Definition at line 87 of file UriReference.cxx.

References m_authority.

◆ getFragment()

OUString UriReference::getFragment ( )
Exceptions
css::uno::RuntimeException

Definition at line 151 of file UriReference.cxx.

References m_fragment, and m_mutex.

◆ getPath()

OUString UriReference::getPath ( )
Exceptions
css::uno::RuntimeException

Definition at line 91 of file UriReference.cxx.

References m_mutex, and m_path.

◆ getPathSegment()

OUString UriReference::getPathSegment ( sal_Int32  index)
Exceptions
css::uno::RuntimeException

Definition at line 120 of file UriReference.cxx.

References i, index, m_mutex, and m_path.

◆ getPathSegmentCount()

sal_Int32 UriReference::getPathSegmentCount ( )
Exceptions
css::uno::RuntimeException

Definition at line 102 of file UriReference.cxx.

References i, m_mutex, m_path, and n.

◆ getQuery()

const OUString & UriReference::getQuery ( ) const
Exceptions
css::uno::RuntimeException

Definition at line 142 of file UriReference.cxx.

References m_query.

◆ getScheme()

const OUString & stoc::uriproc::UriReference::getScheme ( ) const
inline
Exceptions
css::uno::RuntimeException

Definition at line 46 of file UriReference.hxx.

References m_scheme.

◆ getSchemeSpecificPart()

OUString UriReference::getSchemeSpecificPart ( )
Exceptions
css::uno::RuntimeException

Definition at line 70 of file UriReference.cxx.

References appendSchemeSpecificPart(), and m_mutex.

◆ getUriReference()

OUString UriReference::getUriReference ( )
Exceptions
css::uno::RuntimeException

Definition at line 51 of file UriReference.cxx.

References appendSchemeSpecificPart(), m_fragment, m_hasFragment, m_mutex, and m_scheme.

◆ hasAuthority()

bool UriReference::hasAuthority ( ) const
Exceptions
css::uno::RuntimeException

Definition at line 83 of file UriReference.cxx.

References m_hasAuthority.

◆ hasFragment()

bool UriReference::hasFragment ( )
Exceptions
css::uno::RuntimeException

Definition at line 146 of file UriReference.cxx.

References m_hasFragment, and m_mutex.

◆ hasQuery()

bool UriReference::hasQuery ( ) const
Exceptions
css::uno::RuntimeException

Definition at line 138 of file UriReference.cxx.

References m_hasQuery.

◆ hasRelativePath()

bool UriReference::hasRelativePath ( )
Exceptions
css::uno::RuntimeException

Definition at line 96 of file UriReference.cxx.

References m_hasAuthority, m_mutex, and m_path.

◆ isAbsolute()

bool UriReference::isAbsolute ( ) const
Exceptions
css::uno::RuntimeException

Definition at line 65 of file UriReference.cxx.

References m_scheme.

◆ isHierarchical()

bool UriReference::isHierarchical ( )
Exceptions
css::uno::RuntimeException

Definition at line 78 of file UriReference.cxx.

References m_hasAuthority, m_mutex, m_path, and m_scheme.

◆ operator=()

void stoc::uriproc::UriReference::operator= ( UriReference const &  )
privatedelete

◆ setFragment()

void UriReference::setFragment ( OUString const &  fragment)
Exceptions
css::uno::RuntimeException

Definition at line 156 of file UriReference.cxx.

References fragment, m_fragment, m_hasFragment, and m_mutex.

Member Data Documentation

◆ m_authority

OUString stoc::uriproc::UriReference::m_authority
private

Definition at line 100 of file UriReference.hxx.

Referenced by appendSchemeSpecificPart(), and getAuthority().

◆ m_fragment

OUString stoc::uriproc::UriReference::m_fragment
private

Definition at line 102 of file UriReference.hxx.

Referenced by clearFragment(), getFragment(), getUriReference(), and setFragment().

◆ m_hasAuthority

bool stoc::uriproc::UriReference::m_hasAuthority
private

◆ m_hasFragment

bool stoc::uriproc::UriReference::m_hasFragment
private

Definition at line 105 of file UriReference.hxx.

Referenced by clearFragment(), getUriReference(), hasFragment(), and setFragment().

◆ m_hasQuery

bool stoc::uriproc::UriReference::m_hasQuery
private

Definition at line 104 of file UriReference.hxx.

Referenced by appendSchemeSpecificPart(), and hasQuery().

◆ m_mutex

std::mutex stoc::uriproc::UriReference::m_mutex

◆ m_path

OUString stoc::uriproc::UriReference::m_path

◆ m_query

OUString stoc::uriproc::UriReference::m_query
private

Definition at line 101 of file UriReference.hxx.

Referenced by appendSchemeSpecificPart(), and getQuery().

◆ m_scheme

OUString stoc::uriproc::UriReference::m_scheme
private

Definition at line 99 of file UriReference.hxx.

Referenced by getScheme(), getUriReference(), isAbsolute(), and isHierarchical().


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