A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://www.ncbi.nlm.nih.gov/IEB/ToolBox/CPP_DOC/doxyhtml/ncbi__cookies_8hpp_source.html below:

NCBI C++ ToolKit: include/corelib/ncbi_cookies.hpp Source File

1 #ifndef CORELIB___NCBI_COOKIES__HPP 2 #define CORELIB___NCBI_COOKIES__HPP 70  const string

& GetName(

void

)

const

;

72  const string

& GetValue(

void

)

const

;

74  const string

& GetDomain(

void

)

const

;

79  bool

GetHostOnly(

void

)

const

;

81  const string

& GetPath(

void

)

const

;

84  string

GetExpirationStr(

void

)

const

;

86  const CTime

& GetExpirationTime(

void

)

const

;

89  bool

GetSecure(

void

)

const

;

92  bool

GetHttpOnly(

void

)

const

;

95  const string

& GetExtension(

void

)

const

;

117  void

SetHostOnly(

bool

host_only);

124  void

SetExpirationTime(

const CTime

& exp_time);

127  void

SetSecure(

bool

secure);

130  void

SetHttpOnly(

bool

http_only);

137  bool

IsExpired(

void

)

const

;

140  bool

IsExpired(

const CTime

& now)

const

;

143  bool

Validate(

void

)

const

;

160  string

AsString(ECookieFormat

format

)

const

;

182  bool

Match(

const CUrl

& url)

const

;

190  bool

MatchDomain(

const string

& host)

const

;

194  bool

MatchPath(

const string

& path)

const

;

212  static bool

IsValidValue(

const string

&

value

,

214  string

* err_msg =

NULL

);

219  void

x_Validate(

const string

&

value

, EFieldType field)

const

;

281  size_t

Add(ECookieHeader header,

288  void

Cleanup(

size_t

max_count = 0);

305  bool operator()

(

const string

& s1,

const string

& s2)

const

{

320  const string

& name);

324  static string

sx_RevertDomain(

const string

& domain);

344  operator bool

(

void

)

const

;

360  bool

x_IsValid(

void

)

const

;

362  void

x_CheckState(

void

)

const

;

368  void

x_Settle(

void

);

397  virtual const char

* GetErrCodeString(

void

)

const override

;

536 inline

CHttpCookie_CI::operator

bool

(

void

)

const

CHttpCookieException –.

CTempString implements a light-weight string on top of a storage buffer whose lifetime management is ...

container_type::const_iterator const_iterator

bool operator<(const CEquivRange &A, const CEquivRange &B)

bool operator==(const CEquivRange &A, const CEquivRange &B)

static const char * str(char *buf, int n)

CVect2< NCBI_PROMOTE(int,U) > operator*(int v1, const CVect2< U > &v2)

void SetPath(const CTempString &path)

Set cookie's path.

bool GetSecure(void) const

Get secure flag.

void SetValue(const CTempString &value)

Set cookie's value.

const string & GetPath(void) const

Get path.

bool GetHostOnly(void) const

Get host-only flag.

CHttpCookies::TCookieList TCookieList

const_iterator end(void) const

Empty iterator.

map< string, TCookieList, SDomainLess > TCookieMap

EFieldType

Cookie field selector.

const string & GetDomain(void) const

Get domain.

const string & GetName(void) const

Get cookie's name. No encoding/decoding is performed.

const string & GetExtension(void) const

Get any unparsed attributes merged into a single line using semicolon separators.

void SetExpirationTime(const CTime &exp_time)

Set expiration time, must be a GMT one.

void SetSecure(bool secure)

Set secure flag.

const CTime & GetExpirationTime(void) const

The returned CTime may be empty if expiration date is not set.

bool IsExpired(void) const

Check if the cookie is currently expired.

bool operator()(const string &s1, const string &s2) const

void SetHttpOnly(bool http_only)

Set HTTP-only flag.

bool GetHttpOnly(void) const

Get HTTP-only flag.

friend class CHttpCookie_CI

const_iterator begin(void) const

Iterate all cookies.

CHttpCookie_CI const_iterator

Allow to use cookies with macros like ITERATE.

const string & GetValue(void) const

Get cookie's value. No encoding/decoding is performed.

void SetHostOnly(bool host_only)

Set host-only flag.

ECookieHeader

Cookie header type.

list< CHttpCookie > TCookieList

void SetName(const CTempString &name)

Set cookie's name.

const CHttpCookies * m_Cookies

void SetExtension(const CTempString &extension)

Any additional attributes (multiple attributes should be separated with semicolon).

bool operator!=(const CHttpCookie_CI &other) const

TCookieList::const_iterator TList_CI

void SetDomain(const CTempString &domain)

Set cookie's domain.

NCBI_EXCEPTION_DEFAULT(CHttpCookieException, CException)

ECookieFormat

Whether the cookie is sent as a part of HTTP request or HTTP response.

bool operator==(const CHttpCookie_CI &other) const

CHttpCookies::TCookieMap TCookieMap

TCookieMap::const_iterator TMap_CI

int x_Compare(const CHttpCookie_CI &other) const

#define END_NCBI_SCOPE

End previously defined NCBI scope.

#define BEGIN_NCBI_SCOPE

Define ncbi namespace.

bool operator!=(const CNCBI_IPAddr &lhs, unsigned int rhs)

static int CompareNocase(const CTempString s1, SIZE_TYPE pos, SIZE_TYPE n, const char *s2)

Case-insensitive compare of a substring with another string.

static string & ToLower(string &str)

Convert string to lower case – string& version.

@ eCurrent

Use current time. See also CCurrentTime.

@ eGmt

GMT (Greenwich Mean Time)

#define NCBI_XNCBI_EXPORT

The blob sat and sat key Both must be positive integers</td > n< td > Non empty string The interpretation of the blob id depends on a processor Cassandra n processor expects the following format

const GenericPointer< typename T::ValueType > T2 value


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4