Audacity 3.2.0
|
#include <CookiesList.h>
Public Types | |
using | CookiesIterator = CookiesStorageType::iterator |
using | CookiesConstIterator = CookiesStorageType::const_iterator |
Public Member Functions | |
void | setCookie (const Cookie &cookie) |
void | setCookie (const std::string &cookieName, std::string cookieValue) |
void | addCookie (Cookie cookie) |
void | addCookie (std::string cookieName, std::string cookieValue) |
bool | hasCookie (const std::string &cookieName) const noexcept |
std::string | getCookieValue (const std::string &cookieName) const |
const Cookie * | getCookie (size_t idx) const noexcept |
const Cookie * | getCookie (const std::string &name) const noexcept |
size_t | getCookiesCount () const noexcept |
std::string | getCookiesString () const |
CookiesIterator | begin () noexcept |
CookiesIterator | end () noexcept |
CookiesConstIterator | begin () const noexcept |
CookiesConstIterator | end () const noexcept |
Private Types | |
using | CookiesStorageType = std::vector< Cookie > |
Private Member Functions | |
Cookie * | getCookie (size_t idx) noexcept |
Cookie * | getCookie (const std::string &cookieName) noexcept |
Private Attributes | |
CookiesStorageType | mCookies |
Definition at line 41 of file CookiesList.h.
using audacity::network_manager::CookiesList::CookiesConstIterator = CookiesStorageType::const_iterator |
Definition at line 46 of file CookiesList.h.
using audacity::network_manager::CookiesList::CookiesIterator = CookiesStorageType::iterator |
Definition at line 45 of file CookiesList.h.
|
private |
Definition at line 43 of file CookiesList.h.
void CookiesList::addCookie | ( | Cookie | cookie | ) |
Definition at line 120 of file CookiesList.cpp.
References addCookie(), audacity::network_manager::Cookie::Name, and audacity::network_manager::Cookie::Value.
Referenced by addCookie().
void CookiesList::addCookie | ( | std::string | cookieName, |
std::string | cookieValue | ||
) |
Definition at line 125 of file CookiesList.cpp.
References mCookies.
|
noexcept |
Definition at line 185 of file CookiesList.cpp.
References mCookies.
|
noexcept |
Definition at line 175 of file CookiesList.cpp.
References mCookies.
|
noexcept |
Definition at line 190 of file CookiesList.cpp.
References mCookies.
|
noexcept |
Definition at line 180 of file CookiesList.cpp.
References mCookies.
|
privatenoexcept |
Definition at line 203 of file CookiesList.cpp.
|
noexcept |
Definition at line 150 of file CookiesList.cpp.
References name.
|
noexcept |
Definition at line 145 of file CookiesList.cpp.
Referenced by getCookieValue(), and setCookie().
|
privatenoexcept |
Definition at line 195 of file CookiesList.cpp.
|
noexcept |
Definition at line 155 of file CookiesList.cpp.
References mCookies.
std::string CookiesList::getCookiesString | ( | ) | const |
Definition at line 160 of file CookiesList.cpp.
References mCookies.
std::string CookiesList::getCookieValue | ( | const std::string & | cookieName | ) | const |
Definition at line 135 of file CookiesList.cpp.
References getCookie(), and audacity::network_manager::Cookie::Value.
Referenced by audacity::network_manager::Request::getCookie().
|
noexcept |
Definition at line 130 of file CookiesList.cpp.
void CookiesList::setCookie | ( | const Cookie & | cookie | ) |
Definition at line 105 of file CookiesList.cpp.
References audacity::network_manager::Cookie::Name, setCookie(), and audacity::network_manager::Cookie::Value.
Referenced by audacity::network_manager::Request::appendCookies(), setCookie(), and audacity::network_manager::Request::setCookie().
void CookiesList::setCookie | ( | const std::string & | cookieName, |
std::string | cookieValue | ||
) |
Definition at line 110 of file CookiesList.cpp.
References getCookie(), mCookies, and audacity::network_manager::Cookie::Value.
|
private |
Definition at line 74 of file CookiesList.h.
Referenced by addCookie(), begin(), end(), getCookiesCount(), getCookiesString(), and setCookie().