LibreOffice Module ucb (master) 1
cmis_url.hxx
Go to the documentation of this file.
1/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2/*
3 * This file is part of the LibreOffice project.
4 *
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 */
9#pragma once
10
11#include <rtl/ustring.hxx>
12
13namespace cmis
14{
15 class URL
16 {
17 private:
18 OUString m_sBindingUrl;
20 OUString m_sPath;
21 OUString m_sId;
22 OUString m_sUser;
23 OUString m_sPass;
24
25 public:
26 explicit URL( std::u16string_view urlStr );
27
28 const OUString& getObjectPath() const { return m_sPath; }
29 const OUString& getObjectId() const { return m_sId; }
30 const OUString& getBindingUrl() const { return m_sBindingUrl; }
31 const OUString& getRepositoryId() const { return m_sRepositoryId; }
32 const OUString& getUsername() const { return m_sUser; }
33 const OUString& getPassword() const { return m_sPass; }
34 void setObjectPath( const OUString& sPath );
35 void setObjectId( const OUString& sId );
36 void setUsername( const OUString& sUser );
37
38 OUString asString( ) const;
39 };
40}
41
42/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void setObjectId(const OUString &sId)
Definition: cmis_url.cxx:46
OUString m_sId
Definition: cmis_url.hxx:21
const OUString & getPassword() const
Definition: cmis_url.hxx:33
const OUString & getUsername() const
Definition: cmis_url.hxx:32
const OUString & getObjectId() const
Definition: cmis_url.hxx:29
const OUString & getRepositoryId() const
Definition: cmis_url.hxx:31
OUString m_sRepositoryId
Definition: cmis_url.hxx:19
void setObjectPath(const OUString &sPath)
Definition: cmis_url.cxx:41
const OUString & getObjectPath() const
Definition: cmis_url.hxx:28
const OUString & getBindingUrl() const
Definition: cmis_url.hxx:30
void setUsername(const OUString &sUser)
Definition: cmis_url.cxx:51
OUString asString() const
Definition: cmis_url.cxx:56
OUString m_sUser
Definition: cmis_url.hxx:22
OUString m_sPath
Definition: cmis_url.hxx:20
OUString m_sPass
Definition: cmis_url.hxx:23
OUString m_sBindingUrl
Definition: cmis_url.hxx:18
URL(std::u16string_view urlStr)
Definition: cmis_url.cxx:19