NCBI C++ ToolKit
Typedefs | Functions
cgi_serial.cpp File Reference
#include <ncbi_pch.hpp>
#include <corelib/ncbienv.hpp>
#include <corelib/ncbimisc.hpp>
#include <cgi/cgi_serial.hpp>
#include <cgi/ncbicgi.hpp>
+ Include dependency graph for cgi_serial.cpp:

Go to the source code of this file.

Go to the SVN repository for this file.

Typedefs

typedef map< string, stringTVars
 

Functions

CNcbiOstreamWriteCgiCookies (CNcbiOstream &os, const CCgiCookies &cont)
 Write cgi cookeis to a stream. More...
 
CNcbiIstreamReadCgiCookies (CNcbiIstream &is, CCgiCookies &cont)
 Read cgi cookeis from a stream. More...
 
CNcbiOstreamWriteEnvironment (CNcbiOstream &os, const CNcbiEnvironment &cont)
 Write an environment to a stream. More...
 
CNcbiIstreamReadEnvironment (CNcbiIstream &is, CNcbiEnvironment &cont)
 Write an environment from a stream. More...
 

Typedef Documentation

◆ TVars

typedef map<string,string> TVars

Definition at line 97 of file cgi_serial.cpp.

Function Documentation

◆ ReadCgiCookies()

CNcbiIstream& ReadCgiCookies ( CNcbiIstream is,
CCgiCookies cont 
)

Read cgi cookeis from a stream.

Definition at line 87 of file cgi_serial.cpp.

References CCgiCookies::Add(), CCgiCookies::Clear(), ReadStringFromStream(), and str().

Referenced by CCgiRequest::Deserialize().

◆ ReadEnvironment()

CNcbiIstream& ReadEnvironment ( CNcbiIstream is,
CNcbiEnvironment cont 
)

Write an environment from a stream.

Definition at line 111 of file cgi_serial.cpp.

References map_checker< Container >::empty(), env, ITERATE, NULL, ReadMap(), CNcbiEnvironment::Reset(), map_checker< Container >::size(), and strings.

Referenced by CCgiRequest::Deserialize().

◆ WriteCgiCookies()

CNcbiOstream& WriteCgiCookies ( CNcbiOstream os,
const CCgiCookies cont 
)

Write cgi cookeis to a stream.

Definition at line 79 of file cgi_serial.cpp.

References CCgiCookie::eHTTPRequest, COStreamHelper::flush(), and CCgiCookies::Write().

Referenced by CCgiRequest::Serialize().

◆ WriteEnvironment()

CNcbiOstream& WriteEnvironment ( CNcbiOstream os,
const CNcbiEnvironment cont 
)

Write an environment to a stream.

Definition at line 98 of file cgi_serial.cpp.

References CNcbiEnvironment::Enumerate(), CNcbiEnvironment::Get(), ITERATE, names, and WriteMap().

Referenced by CCgiRequest::Serialize().

Modified on Thu Feb 22 17:11:39 2024 by modify_doxy.py rev. 669887