LibreOffice Module ucb (master)
1
|
#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_aName |
OUString | m_aDecodedName |
State | m_eState |
Definition at line 31 of file tdoc_uri.hxx.
|
private |
Enumerator | |
---|---|
UNKNOWN | |
INVALID | |
VALID |
Definition at line 33 of file tdoc_uri.hxx.
|
inlineexplicit |
Definition at line 47 of file tdoc_uri.hxx.
|
inline |
Definition at line 73 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(), and tdoc_ucp::StorageElementFactory::queryStream().
|
inline |
Definition at line 67 of file tdoc_uri.hxx.
References init(), and m_aDocId.
Referenced by tdoc_ucp::ContentProvider::queryDocumentModel(), tdoc_ucp::StorageElementFactory::queryStorage(), and tdoc_ucp::ContentProvider::queryStorageTitle().
|
inline |
Definition at line 70 of file tdoc_uri.hxx.
|
inline |
Definition at line 64 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(), and tdoc_ucp::ContentProvider::queryStorageClone().
|
inline |
Definition at line 59 of file tdoc_uri.hxx.
References init(), and m_aUri.
Referenced by 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 98 of file tdoc_uri.hxx.
References init(), m_aDocId, m_aPath, and size.
Referenced by tdoc_ucp::StorageElementFactory::createStorage(), tdoc_ucp::Content::hasData(), tdoc_ucp::Content::loadData(), tdoc_ucp::ParentStorageHolder::ParentStorageHolder(), tdoc_ucp::ContentProvider::queryStorageTitle(), and tdoc_ucp::StorageElementFactory::queryStream().
|
inline |
Definition at line 92 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::queryNamesOfChildren(), tdoc_ucp::ContentProvider::queryStorageTitle(), and tdoc_ucp::StorageElementFactory::queryStream().
|
inline |
Definition at line 56 of file tdoc_uri.hxx.
|
inline |
Definition at line 53 of file tdoc_uri.hxx.
References operator==().
|
inline |
Definition at line 50 of file tdoc_uri.hxx.
References init(), and m_aUri.
Referenced by operator!=().
|
inline |
Definition at line 81 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 40 of file tdoc_uri.hxx.
Referenced by getDecodedName(), init(), and setUri().
|
mutableprivate |
Definition at line 38 of file tdoc_uri.hxx.
Referenced by getDocumentId(), init(), isDocument(), and setUri().
|
mutableprivate |
Definition at line 39 of file tdoc_uri.hxx.
|
mutableprivate |
Definition at line 36 of file tdoc_uri.hxx.
Referenced by getParentUri(), init(), and setUri().
|
mutableprivate |
Definition at line 37 of file tdoc_uri.hxx.
Referenced by init(), isDocument(), isRoot(), and setUri().
|
mutableprivate |
Definition at line 35 of file tdoc_uri.hxx.
Referenced by getUri(), init(), operator==(), and setUri().
|
mutableprivate |
Definition at line 41 of file tdoc_uri.hxx.