Open Inventor
Release 2024.2.1
Loading...
Searching...
No Matches
HTTPHeaders.h
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>
24
#include <RemoteViz/Rendering/LibHelper.h>
25
26
#include <memory>
27
#include <string>
28
29
namespace
RemoteViz
30
{
31
namespace
Rendering
32
{
33
class
HTTPHeadersImpl;
34
48
class
RENDERSERVICE_API
HTTPHeaders
49
{
50
public
:
51
55
HTTPHeaders
();
56
60
HTTPHeaders
(
const
HTTPHeaders
& obj);
61
65
HTTPHeaders
&
operator=
(
const
HTTPHeaders
& obj);
66
70
~HTTPHeaders
();
71
80
void
add
(
const
std::string& name,
const
std::string& value);
81
87
void
remove
(
const
std::string& name);
88
92
void
clear
();
93
99
size_t
count
()
const
;
100
108
bool
exists
(
const
std::string& name)
const
;
109
117
const
std::string&
getValue
(
const
std::string& name)
const
;
118
126
const
std::string&
getNameAt
(
size_t
index)
const
;
127
128
private
:
131
std::shared_ptr<HTTPHeadersImpl> getImpl()
const
;
134
private
:
136
std::shared_ptr<HTTPHeadersImpl> pImpl;
137
};
138
139
}
140
}
RemoteViz::Rendering::HTTPHeaders
<a href="IconLegend.html"><img src="extRV.gif" alt="RemoteViz" border="0"></a>
Definition
HTTPHeaders.h:49
RemoteViz::Rendering::HTTPHeaders::count
size_t count() const
Gets the number of HTTP headers.
RemoteViz::Rendering::HTTPHeaders::remove
void remove(const std::string &name)
Removes the header value under the given name.
RemoteViz::Rendering::HTTPHeaders::HTTPHeaders
HTTPHeaders(const HTTPHeaders &obj)
Copy constructor.
RemoteViz::Rendering::HTTPHeaders::exists
bool exists(const std::string &name) const
Determines if the headers collection contains a header of the specified name, with any value.
RemoteViz::Rendering::HTTPHeaders::clear
void clear()
Removes all headers.
RemoteViz::Rendering::HTTPHeaders::~HTTPHeaders
~HTTPHeaders()
Destructor.
RemoteViz::Rendering::HTTPHeaders::add
void add(const std::string &name, const std::string &value)
Adds the given header value under the given name.
RemoteViz::Rendering::HTTPHeaders::HTTPHeaders
HTTPHeaders()
Creates an empty object.
RemoteViz::Rendering::HTTPHeaders::getNameAt
const std::string & getNameAt(size_t index) const
Retrieves the header name from a collection index.
RemoteViz::Rendering::HTTPHeaders::getValue
const std::string & getValue(const std::string &name) const
Retrieves the value of a given header.
RemoteViz::Rendering::HTTPHeaders::operator=
HTTPHeaders & operator=(const HTTPHeaders &obj)
Copy assignment operator.
RemoteViz
Definition
Client.h:31
RemoteViz
Rendering
HTTPHeaders.h
Generated by
1.9.8