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 #if defined( _WIN32 ) || defined( __WIN32__ )
00024 #if !defined( RemoteVizServices_EXPORTS )
00025 #if _DEBUG
00026 #pragma comment(lib,"RemoteVizServicesD")
00027 #else
00028 #pragma comment(lib,"RemoteVizServices")
00029 #endif
00030 #endif
00031 #endif
00032
00033 #include <Inventor/sys/port.h>
00034
00035 #include <string>
00036 #include <memory>
00037
00038
00039 namespace RemoteViz
00040 {
00041 namespace Rendering
00042 {
00043
00044 class ConnectionParametersImpl;
00045
00058 class RENDERSERVICE_API ConnectionParameters {
00059
00061 friend class ConnectionImpl;
00064 public:
00070 unsigned int getNumParameters() const;
00078 const std::string& getValue(int index) const;
00086 const std::string& getValue(const std::string& key) const;
00094 const std::string& getKey(int index) const;
00100 int getIndex(const std::string& key) const;
00101
00102 private:
00104 std::shared_ptr<ConnectionParametersImpl> getImpl() const;
00107 private:
00109 std::shared_ptr<ConnectionParametersImpl> pImpl;
00110
00112 ConnectionParameters(const std::string& url);
00113 };
00114
00115 }
00116 }
00117