SNode.C
Loading...
Searching...
No Matches
web::http::CookieOptions Class Reference

#include <CookieOptions.h>

Collaboration diagram for web::http::CookieOptions:

Public Member Functions

 CookieOptions (const std::string &value, const std::map< std::string, std::string > &options)
 
 CookieOptions (const std::string &value)
 
void setOption (const std::string &optionName, const std::string &optionValue)
 
const std::map< std::string, std::string > & getOptions () const
 
const std::string & getValue () const
 

Private Attributes

std::string value
 
std::map< std::string, std::string > options
 

Detailed Description

Definition at line 32 of file CookieOptions.h.

Constructor & Destructor Documentation

◆ CookieOptions() [1/2]

web::http::CookieOptions::CookieOptions ( const std::string & value,
const std::map< std::string, std::string > & options )
inline

Definition at line 34 of file CookieOptions.h.

35 : value(value)
36 , options(options) {
37 }
std::map< std::string, std::string > options

References CookieOptions().

Referenced by CookieOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CookieOptions() [2/2]

web::http::CookieOptions::CookieOptions ( const std::string & value)
inlineexplicit

Definition at line 39 of file CookieOptions.h.

40 : value(value) {
41 }

References CookieOptions().

Referenced by CookieOptions().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ getOptions()

const std::map< std::string, std::string > & web::http::CookieOptions::getOptions ( ) const
inline

Definition at line 47 of file CookieOptions.h.

47 {
48 return options;
49 }

◆ getValue()

const std::string & web::http::CookieOptions::getValue ( ) const
inline

Definition at line 51 of file CookieOptions.h.

51 {
52 return value;
53 }

◆ setOption()

void web::http::CookieOptions::setOption ( const std::string & optionName,
const std::string & optionValue )
inline

Definition at line 43 of file CookieOptions.h.

43 {
44 options[optionName] = optionValue;
45 }

Member Data Documentation

◆ options

std::map<std::string, std::string> web::http::CookieOptions::options
private

Definition at line 57 of file CookieOptions.h.

◆ value

std::string web::http::CookieOptions::value
private

Definition at line 56 of file CookieOptions.h.


The documentation for this class was generated from the following file: