#include <session.hh>
Inheritance diagram for mpcl::net::cgi::TSession< TCookie >:

Public Types | |
| typedef TMap< TString, TString > | TSubSubCookieValueMap |
| Map for the subvalues of an structured cookie. | |
Public Methods | |
| TSession (void) | |
| Builds a new instance. | |
| TSession (const char *pkcSOURCE_STRING) | |
| TSession (const TString &rkySOURCE_STRING) | |
| TSession (std::basic_istream< char_type, traits_type > &rtSOURCE_ISTREAM) | |
| void | erase (const TString &rkyCOOKIE_NAME) throw (TVariableNotFoundException) |
| void | erase (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR) throw (TVariableNotFoundException) |
| void | erase (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR1, const TString &rkySUB_COOKIE_SELECTOR2) throw (TVariableNotFoundException) |
| void | erase (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR1, const TString &rkySUB_COOKIE_SELECTOR2, const TString &rkySUB_COOKIE_NAME) throw (TVariableNotFoundException) |
| void | keep (const TString &rkyCOOKIE_NAME, bool gKEEP=true) |
| void | set (const TCookie &rktCOOKIE) |
| void | set (const TString &rkyCOOKIE_NAME, const TString &rkyCOOKIE_VALUE) |
| void | set (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR, const TSubSubCookieValueMap &rktSUB_COOKIE_VALUE_MAP) |
| void | set (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR1, const TString &rkySUB_COOKIE_SELECTOR2, const TSubSubCookieValueMap &rktSUB_COOKIE_VALUE_MAP) |
| bool | isEmpty (void) const |
| TString | get (const TString &rkyCOOKIE_NAME) const throw (TVariableNotFoundException) |
| const TSubSubCookieValueMap & | get (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR) const throw (TVariableNotFoundException) |
| TSubSubCookieValueMap & | get (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR) throw (TVariableNotFoundException) |
| void | get (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR, TSubSubCookieValueMap &rtSUB_COOKIE_VALUES) const throw (TVariableNotFoundException) |
| const TSubSubCookieValueMap & | get (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR1, const TString &rkySUB_COOKIE_SELECTOR2) const throw (TVariableNotFoundException) |
| TSubSubCookieValueMap & | get (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR1, const TString &rkySUB_COOKIE_SELECTOR2) throw (TVariableNotFoundException) |
| void | get (const TString &rkyCOOKIE_NAME, const TString &rkySUB_COOKIE_SELECTOR1, const TString &rkySUB_COOKIE_SELECTOR2, TSubSubCookieValueMap &rtSUB_COOKIE_VALUES) const throw (TVariableNotFoundException) |
| bool | has (const TString &rkyCOOKIE_NAME) const |
Protected Methods | |
| void | read (std::basic_istream< char_type, traits_type > &rtSOURCE_ISTREAM) |
| void | write (std::basic_ostream< char_type, traits_type > &rtTARGET_OSTREAM) const |
Definition at line 57 of file session.hh.
|
||||||||||
|
Builds a new instance from a C-style string.
Definition at line 219 of file session.hh. References mpcl::net::cgi::TSession< TCookie >::read(). |
|
||||||||||
|
Builds a new instance from a string.
Definition at line 235 of file session.hh. References mpcl::net::cgi::TSession< TCookie >::read(), and mpcl::text::TString. |
|
||||||||||
|
Builds a new instance from a stream.
Definition at line 251 of file session.hh. References mpcl::net::cgi::TSession< TCookie >::read(). |
|
||||||||||||||||||||||||
|
Erases an structured sub-cookie from its name, its two selectors and its subname.
Definition at line 688 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||||||
|
Erases an structured sub-cookie from its name and its two selectors.
Definition at line 651 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||
|
Erases an structured subcookie from its name and its selector.
Definition at line 624 of file session.hh. References mpcl::text::TString. |
|
||||||||||
|
Erases a simple cookie from its name.
Definition at line 594 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||||||||||
|
Gets a structured subcookie from its name and its two selectors.
Definition at line 860 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||||||
|
Gets a structured subcookie from its name and its two selectors.
Definition at line 808 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||||||
|
Gets a structured subcookie from its name and its two selectors.
Definition at line 845 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||||||
|
Gets a structured subcookie from its name and its selector.
Definition at line 795 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||
|
Gets a structured subcookie from its name and its selector.
Definition at line 768 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||
|
Gets a structured subcookie from its name and its selector.
Definition at line 757 of file session.hh. References mpcl::text::TString. |
|
||||||||||
|
Gets a simple cookie from its name.
Definition at line 739 of file session.hh. |
|
||||||||||
|
Returns true if there is a cookie named rkyCOOKIE_NAME.
Definition at line 477 of file session.hh. References mpcl::text::TString. |
|
||||||||||
|
Returns true if there are no cookies.
Definition at line 389 of file session.hh. |
|
||||||||||||||||
|
Sets session transient status.
Definition at line 307 of file session.hh. References mpcl::text::TString. |
|
||||||||||
|
Reads an instance from stream rtSOURCE_ISTREAM.
Definition at line 874 of file session.hh. Referenced by mpcl::net::cgi::TSession< TCookie >::TSession(). |
|
||||||||||||||||||||||||
|
Sets a cookie from a name, two cookie selectors and a map of values.
Definition at line 1017 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||||||
|
Sets a cookie from a name, a cookie selector and a map of values.
Definition at line 985 of file session.hh. References mpcl::text::TString. |
|
||||||||||||||||
|
Sets a cookie from a name and a value.
Definition at line 332 of file session.hh. References mpcl::text::TString. |
|
||||||||||
|
Sets a cookie from a given one.
Definition at line 322 of file session.hh. |
|
||||||||||
|
Writes the instance onto stream rtTARGET_OSTREAM.
Definition at line 1081 of file session.hh. |
1.2.18