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 (const OUString &rUri)
 
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_aInternalPath
 
OUString m_aName
 
OUString m_aDecodedName
 
State m_eState
 

Detailed Description

Definition at line 32 of file tdoc_uri.hxx.

Member Enumeration Documentation

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

Definition at line 34 of file tdoc_uri.hxx.

Constructor & Destructor Documentation

tdoc_ucp::Uri::Uri ( const OUString &  rUri)
inlineexplicit

Definition at line 49 of file tdoc_uri.hxx.

Member Function Documentation

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

Definition at line 72 of file tdoc_uri.hxx.

References init(), and m_aName.

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

Definition at line 61 of file tdoc_uri.hxx.

References init(), and m_aUri.

Referenced by tdoc_ucp::Content::hasData(), and tdoc_ucp::Content::loadData().

void Uri::init ( ) const
private
bool tdoc_ucp::Uri::isDocument ( ) const
inline
bool tdoc_ucp::Uri::isRoot ( ) const
inline
bool tdoc_ucp::Uri::isValid ( ) const
inline

Definition at line 58 of file tdoc_uri.hxx.

References init(), and VALID.

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

Definition at line 55 of file tdoc_uri.hxx.

References operator==().

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

Definition at line 52 of file tdoc_uri.hxx.

References init(), and m_aUri.

Referenced by operator!=().

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

Member Data Documentation

OUString tdoc_ucp::Uri::m_aDecodedName
mutableprivate

Definition at line 42 of file tdoc_uri.hxx.

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

OUString tdoc_ucp::Uri::m_aDocId
mutableprivate

Definition at line 39 of file tdoc_uri.hxx.

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

OUString tdoc_ucp::Uri::m_aInternalPath
mutableprivate

Definition at line 40 of file tdoc_uri.hxx.

Referenced by init(), and setUri().

OUString tdoc_ucp::Uri::m_aName
mutableprivate

Definition at line 41 of file tdoc_uri.hxx.

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

OUString tdoc_ucp::Uri::m_aParentUri
mutableprivate

Definition at line 37 of file tdoc_uri.hxx.

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

OUString tdoc_ucp::Uri::m_aPath
mutableprivate

Definition at line 38 of file tdoc_uri.hxx.

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

OUString tdoc_ucp::Uri::m_aUri
mutableprivate

Definition at line 36 of file tdoc_uri.hxx.

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

State tdoc_ucp::Uri::m_eState
mutableprivate

Definition at line 43 of file tdoc_uri.hxx.

Referenced by init(), and setUri().


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