LibreOffice Module ucb (master) 1
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
tdoc_ucp::Uri Class Reference

#include <tdoc_uri.hxx>

Public Member Functions

 Uri (OUString aUri)
 
bool operator== (const Uri &rOther) const
 
bool operator!= (const Uri &rOther) const
 
bool isValid () const
 
const OUString & getUri () const
 
void setUri (const OUString &rUri)
 
const OUString & getParentUri () const
 
const OUString & getDocumentId () const
 
const OUString & getName () const
 
const OUString & getDecodedName () const
 
bool isRoot () const
 
bool isDocument () const
 

Private Types

enum  State {
  UNKNOWN ,
  INVALID ,
  VALID
}
 

Private Member Functions

void init () const
 

Private Attributes

OUString m_aUri
 
OUString m_aParentUri
 
OUString m_aPath
 
OUString m_aDocId
 
OUString m_aName
 
OUString m_aDecodedName
 
State m_eState
 

Detailed Description

Definition at line 32 of file tdoc_uri.hxx.

Member Enumeration Documentation

◆ State

enum tdoc_ucp::Uri::State
private
Enumerator
UNKNOWN 
INVALID 
VALID 

Definition at line 34 of file tdoc_uri.hxx.

Constructor & Destructor Documentation

◆ Uri()

tdoc_ucp::Uri::Uri ( OUString  aUri)
inlineexplicit

Definition at line 48 of file tdoc_uri.hxx.

Member Function Documentation

◆ getDecodedName()

const OUString & tdoc_ucp::Uri::getDecodedName ( ) const
inline

◆ getDocumentId()

const OUString & tdoc_ucp::Uri::getDocumentId ( ) const
inline

◆ getName()

const OUString & tdoc_ucp::Uri::getName ( ) const
inline

Definition at line 71 of file tdoc_uri.hxx.

References init(), and m_aName.

◆ getParentUri()

const OUString & tdoc_ucp::Uri::getParentUri ( ) const
inline

◆ getUri()

const OUString & tdoc_ucp::Uri::getUri ( ) const
inline

◆ init()

void Uri::init ( ) const
private

◆ isDocument()

bool tdoc_ucp::Uri::isDocument ( ) const
inline

◆ isRoot()

bool tdoc_ucp::Uri::isRoot ( ) const
inline

◆ isValid()

bool tdoc_ucp::Uri::isValid ( ) const
inline

◆ operator!=()

bool tdoc_ucp::Uri::operator!= ( const Uri rOther) const
inline

Definition at line 54 of file tdoc_uri.hxx.

References operator==().

◆ operator==()

bool tdoc_ucp::Uri::operator== ( const Uri rOther) const
inline

Definition at line 51 of file tdoc_uri.hxx.

References init(), and m_aUri.

Referenced by operator!=().

◆ setUri()

void tdoc_ucp::Uri::setUri ( const OUString &  rUri)
inline

Definition at line 82 of file tdoc_uri.hxx.

References m_aDecodedName, m_aDocId, m_aName, m_aParentUri, m_aPath, m_aUri, m_eState, and UNKNOWN.

Member Data Documentation

◆ m_aDecodedName

OUString tdoc_ucp::Uri::m_aDecodedName
mutableprivate

Definition at line 41 of file tdoc_uri.hxx.

Referenced by getDecodedName(), init(), and setUri().

◆ m_aDocId

OUString tdoc_ucp::Uri::m_aDocId
mutableprivate

Definition at line 39 of file tdoc_uri.hxx.

Referenced by getDocumentId(), init(), isDocument(), and setUri().

◆ m_aName

OUString tdoc_ucp::Uri::m_aName
mutableprivate

Definition at line 40 of file tdoc_uri.hxx.

Referenced by getName(), init(), and setUri().

◆ m_aParentUri

OUString tdoc_ucp::Uri::m_aParentUri
mutableprivate

Definition at line 37 of file tdoc_uri.hxx.

Referenced by getParentUri(), init(), and setUri().

◆ m_aPath

OUString tdoc_ucp::Uri::m_aPath
mutableprivate

Definition at line 38 of file tdoc_uri.hxx.

Referenced by init(), isDocument(), isRoot(), and setUri().

◆ m_aUri

OUString tdoc_ucp::Uri::m_aUri
mutableprivate

Definition at line 36 of file tdoc_uri.hxx.

Referenced by getUri(), init(), operator==(), and setUri().

◆ m_eState

State tdoc_ucp::Uri::m_eState
mutableprivate

Definition at line 42 of file tdoc_uri.hxx.

Referenced by init(), isValid(), and setUri().


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