LibreOffice Module ucb (master) 1
|
#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 |
Definition at line 32 of file tdoc_uri.hxx.
|
private |
Enumerator | |
---|---|
UNKNOWN | |
INVALID | |
VALID |
Definition at line 34 of file tdoc_uri.hxx.
|
inlineexplicit |
Definition at line 48 of file tdoc_uri.hxx.
|
inline |
Definition at line 74 of file tdoc_uri.hxx.
References init(), and m_aDecodedName.
Referenced by tdoc_ucp::Content::copyData(), tdoc_ucp::Content::hasData(), tdoc_ucp::Content::loadData(), tdoc_ucp::StorageElementFactory::queryStorage(), tdoc_ucp::ContentProvider::queryStorageClone(), tdoc_ucp::ContentProvider::queryStorageTitle(), tdoc_ucp::StorageElementFactory::queryStream(), and tdoc_ucp::Content::removeData().
|
inline |
Definition at line 68 of file tdoc_uri.hxx.
References init(), and m_aDocId.
Referenced by tdoc_ucp::ContentProvider::notifyDocumentClosed(), tdoc_ucp::ContentProvider::queryDocumentModel(), tdoc_ucp::StorageElementFactory::queryStorage(), and tdoc_ucp::ContentProvider::queryStorageTitle().
|
inline |
Definition at line 71 of file tdoc_uri.hxx.
|
inline |
Definition at line 65 of file tdoc_uri.hxx.
References init(), and m_aParentUri.
Referenced by tdoc_ucp::Content::copyData(), tdoc_ucp::Content::getParentURL(), tdoc_ucp::Content::hasData(), tdoc_ucp::Content::loadData(), tdoc_ucp::Content::makeNewIdentifier(), tdoc_ucp::StorageElementFactory::queryParentStorage(), tdoc_ucp::ContentProvider::queryStorageClone(), and tdoc_ucp::Content::removeData().
|
inline |
Definition at line 60 of file tdoc_uri.hxx.
References init(), and m_aUri.
Referenced by tdoc_ucp::Content::copyData(), tdoc_ucp::Content::getStream(), tdoc_ucp::Content::getTruncatedOutputStream(), tdoc_ucp::Content::hasData(), and tdoc_ucp::Content::loadData().
|
private |
Definition at line 37 of file tdoc_uri.cxx.
References ucb_impl::urihelper::decodeSegment(), INVALID, m_aDecodedName, m_aDocId, m_aName, m_aParentUri, m_aPath, m_aUri, m_eState, TDOC_URL_SCHEME, TDOC_URL_SCHEME_LENGTH, UNKNOWN, and VALID.
Referenced by getDecodedName(), getDocumentId(), getName(), getParentUri(), getUri(), isDocument(), isRoot(), isValid(), and operator==().
|
inline |
Definition at line 99 of file tdoc_uri.hxx.
References init(), m_aDocId, and m_aPath.
Referenced by tdoc_ucp::StorageElementFactory::createStorage(), tdoc_ucp::Content::hasData(), tdoc_ucp::Content::loadData(), tdoc_ucp::ContentProvider::notifyDocumentClosed(), tdoc_ucp::ParentStorageHolder::ParentStorageHolder(), tdoc_ucp::ContentProvider::queryStorageTitle(), and tdoc_ucp::StorageElementFactory::queryStream().
|
inline |
Definition at line 93 of file tdoc_uri.hxx.
References init(), and m_aPath.
Referenced by tdoc_ucp::StorageElementFactory::createStorage(), tdoc_ucp::Content::hasData(), tdoc_ucp::Content::loadData(), tdoc_ucp::ContentProvider::notifyDocumentClosed(), tdoc_ucp::ContentProvider::notifyDocumentOpened(), tdoc_ucp::ContentProvider::queryNamesOfChildren(), tdoc_ucp::StorageElementFactory::queryParentStorage(), tdoc_ucp::ContentProvider::queryStorageTitle(), and tdoc_ucp::StorageElementFactory::queryStream().
|
inline |
Definition at line 57 of file tdoc_uri.hxx.
References init(), m_eState, and VALID.
Referenced by tdoc_ucp::ContentProvider::notifyDocumentClosed(), and tdoc_ucp::ContentProvider::notifyDocumentOpened().
|
inline |
Definition at line 54 of file tdoc_uri.hxx.
References operator==().
|
inline |
Definition at line 51 of file tdoc_uri.hxx.
References init(), and m_aUri.
Referenced by operator!=().
|
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.
|
mutableprivate |
Definition at line 41 of file tdoc_uri.hxx.
Referenced by getDecodedName(), init(), and setUri().
|
mutableprivate |
Definition at line 39 of file tdoc_uri.hxx.
Referenced by getDocumentId(), init(), isDocument(), and setUri().
|
mutableprivate |
Definition at line 40 of file tdoc_uri.hxx.
|
mutableprivate |
Definition at line 37 of file tdoc_uri.hxx.
Referenced by getParentUri(), init(), and setUri().
|
mutableprivate |
Definition at line 38 of file tdoc_uri.hxx.
Referenced by init(), isDocument(), isRoot(), and setUri().
|
mutableprivate |
Definition at line 36 of file tdoc_uri.hxx.
Referenced by getUri(), init(), operator==(), and setUri().
|
mutableprivate |
Definition at line 42 of file tdoc_uri.hxx.