AlterOffice
AlterOffice 3.4 SDK C/C++ API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
unourl.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 
3 
4 #ifndef INCLUDED_CPPUHELPER_UNOURL_HXX
5 #define INCLUDED_CPPUHELPER_UNOURL_HXX
6 
7 #include "sal/config.h"
8 
10 
11 namespace rtl
12 {
13 class OUString;
14 }
15 
16 namespace cppu
17 {
26 {
27 public:
28  class Impl;
29 
38  explicit UnoUrlDescriptor(rtl::OUString const& rDescriptor);
39 
40  UnoUrlDescriptor(UnoUrlDescriptor const& rOther);
41 
43 
44  UnoUrlDescriptor& operator=(UnoUrlDescriptor const& rOther);
45 
53  rtl::OUString const& getDescriptor() const;
54 
61  rtl::OUString const& getName() const;
62 
71  bool hasParameter(rtl::OUString const& rKey) const;
72 
82  rtl::OUString getParameter(rtl::OUString const& rKey) const;
83 
84 private:
85  Impl* m_pImpl;
86 };
87 
117 {
118 public:
127  explicit UnoUrl(rtl::OUString const& rUrl);
128 
129  UnoUrl(UnoUrl const& rOther);
130 
131  ~UnoUrl();
132 
133  UnoUrl& operator=(UnoUrl const& rOther);
134 
141  UnoUrlDescriptor const& getConnection() const;
142 
149  UnoUrlDescriptor const& getProtocol() const;
150 
157  rtl::OUString const& getObjectName() const;
158 
159 private:
160  class Impl;
161 
162  Impl* m_pImpl;
163 };
164 }
165 
166 #endif // INCLUDED_RTL_UNOURL_HXX
167 
168 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
A descriptor as part of a UNO URL (connection descriptor or protocol descriptor). ...
Definition: unourl.hxx:25
This String class provides base functionality for C++ like Unicode character array handling...
Definition: ustring.hxx:182
#define SAL_WARN_UNUSED
Annotate classes where a compiler should warn if an instance is unused.
Definition: types.h:567
#define CPPUHELPER_DLLPUBLIC
Definition: cppuhelperdllapi.h:12
Parse UNO URLs into their components.
Definition: unourl.hxx:116