00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #pragma once
00022
00023 #include <Inventor/sys/port.h>
00024 #include <RemoteViz/Rendering/LibHelper.h>
00025
00026 #include <string>
00027 #include <memory>
00028
00029
00030 namespace RemoteViz
00031 {
00032 namespace Rendering
00033 {
00034
00035 class ConnectionParametersImpl;
00036
00049 class RENDERSERVICE_API ConnectionParameters {
00050
00052 friend class ConnectionImpl;
00055 public:
00061 unsigned int getNumParameters() const;
00069 const std::string& getValue(int index) const;
00077 const std::string& getValue(const std::string& key) const;
00085 const std::string& getKey(int index) const;
00091 int getIndex(const std::string& key) const;
00092
00093 private:
00095 std::shared_ptr<ConnectionParametersImpl> getImpl() const;
00098 private:
00100 std::shared_ptr<ConnectionParametersImpl> pImpl;
00101
00103 ConnectionParameters(const std::string& url);
00104 };
00105
00106 }
00107 }
00108