Open Inventor Release 2024.1.0
 
Loading...
Searching...
No Matches
Uri.h
Go to the documentation of this file.
1/*=======================================================================
2*** THE CONTENT OF THIS WORK IS PROPRIETARY TO FEI S.A.S, (FEI S.A.S.), ***
3*** AND IS DISTRIBUTED UNDER A LICENSE AGREEMENT. ***
4*** ***
5*** REPRODUCTION, DISCLOSURE, OR USE, IN WHOLE OR IN PART, OTHER THAN AS ***
6*** SPECIFIED IN THE LICENSE ARE NOT TO BE UNDERTAKEN EXCEPT WITH PRIOR ***
7*** WRITTEN AUTHORIZATION OF FEI S.A.S. ***
8*** ***
9*** RESTRICTED RIGHTS LEGEND ***
10*** USE, DUPLICATION, OR DISCLOSURE BY THE GOVERNMENT OF THE CONTENT OF THIS ***
11*** WORK OR RELATED DOCUMENTATION IS SUBJECT TO RESTRICTIONS AS SET FORTH IN ***
12*** SUBPARAGRAPH (C)(1) OF THE COMMERCIAL COMPUTER SOFTWARE RESTRICTED RIGHT ***
13*** CLAUSE AT FAR 52.227-19 OR SUBPARAGRAPH (C)(1)(II) OF THE RIGHTS IN ***
14*** TECHNICAL DATA AND COMPUTER SOFTWARE CLAUSE AT DFARS 52.227-7013. ***
15*** ***
16*** COPYRIGHT (C) 1996-2020 BY FEI S.A.S, ***
17*** BORDEAUX, FRANCE ***
18*** ALL RIGHTS RESERVED ***
19**=======================================================================*/
20
21#pragma once
22
23#include <Inventor/sys/port.h>
25
26#include <memory>
27#include <string>
28
29namespace RemoteViz
30{
31 namespace Rendering
32 {
33 class UriImpl;
34
50 {
51 public:
52
56 Uri(const std::string& uri);
57
61 Uri(const Uri& obj);
62
66 Uri& operator=(const Uri& obj);
67
72
76 const std::string& getScheme() const;
77
81 const std::string& getAuthority() const;
82
86 const std::string& getPort() const;
87
91 const std::string& getPath() const;
92
96 const std::string& getQuery() const;
97
101 const std::string& getPathAndQuery() const;
102
106 bool isAbsolute() const;
107
108 private:
111 std::shared_ptr<UriImpl> getImpl() const;
114 private:
115
119 Uri() = delete;
120
122 std::shared_ptr<UriImpl> pImpl;
123 };
124
125 }
126}
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
Definition Uri.h:50
Uri(const Uri &obj)
Copy constructor.
const std::string & getPath() const
Returns the path of the URI.
const std::string & getQuery() const
Returns any query information included in the specified URI.
const std::string & getAuthority() const
Returns the Domain Name System (DNS) host name or IP address and the port number for a server.
const std::string & getScheme() const
Returns the scheme name for this URI.
const std::string & getPathAndQuery() const
Returns the Path and Query properties separated by a question mark (?).
const std::string & getPort() const
Returns the port number of this URI.
Uri(const std::string &uri)
Creates an Uri object.
bool isAbsolute() const
Returns whether the Uri instance is absolute.
Uri & operator=(const Uri &obj)
Copy assignment operator.
#define RENDERSERVICE_API
Definition port.h:378