proxygen
|
#include <HPACKHeaderName.h>
Public Member Functions | |
HPACKHeaderName () | |
HPACKHeaderName (folly::StringPiece name) | |
HPACKHeaderName (const HPACKHeaderName &headerName) | |
HPACKHeaderName (HPACKHeaderName &&goner) noexcept | |
HPACKHeaderName & | operator= (folly::StringPiece name) |
HPACKHeaderName & | operator= (const HPACKHeaderName &headerName) |
HPACKHeaderName & | operator= (HPACKHeaderName &&goner) noexcept |
~HPACKHeaderName () | |
bool | operator== (const HPACKHeaderName &headerName) const |
bool | operator!= (const HPACKHeaderName &headerName) const |
bool | operator> (const HPACKHeaderName &headerName) const |
bool | operator< (const HPACKHeaderName &headerName) const |
bool | operator>= (const HPACKHeaderName &headerName) const |
bool | operator<= (const HPACKHeaderName &headerName) const |
const std::string & | get () const |
HTTPHeaderCode | getHeaderCode () const |
bool | isCommonHeader () const |
uint32_t | size () const |
const char * | c_str () const |
Private Member Functions | |
void | storeAddress (folly::StringPiece name) |
void | copyAddress (const HPACKHeaderName &headerName) |
void | moveAddress (HPACKHeaderName &goner) |
void | resetAddress () |
bool | isAllocated () const |
Private Attributes | |
const std::string * | address_ = nullptr |
Definition at line 29 of file HPACKHeaderName.h.
|
inline |
Definition at line 31 of file HPACKHeaderName.h.
|
inlineexplicit |
Definition at line 33 of file HPACKHeaderName.h.
References storeAddress().
|
inline |
Definition at line 36 of file HPACKHeaderName.h.
References copyAddress().
|
inlinenoexcept |
Definition at line 39 of file HPACKHeaderName.h.
References moveAddress().
|
inline |
|
inline |
|
inlineprivate |
Definition at line 157 of file HPACKHeaderName.h.
References address_, get(), isAllocated(), and string.
Referenced by HPACKHeaderName(), and operator=().
|
inline |
Definition at line 107 of file HPACKHeaderName.h.
References address_.
Referenced by copyAddress(), proxygen::HPACKDecoderBase::emit(), proxygen::HPACKEncoder::encodeLiteral(), proxygen::QPACKEncoder::encodeLiteralQHelper(), std::hash< proxygen::HPACKHeaderName >::operator()(), proxygen::operator<<(), TEST_F(), and TEST_P().
|
inline |
Definition at line 114 of file HPACKHeaderName.h.
References address_, proxygen::HTTPCommonHeaders::getHeaderCodeFromTableCommonHeaderName(), and proxygen::TABLE_LOWERCASE.
Referenced by proxygen::HPACKContext::getIndex(), proxygen::NoPathIndexingStrategy::indexHeader(), proxygen::HeaderIndexingStrategy::indexHeader(), and TEST_F().
|
inlineprivate |
Definition at line 187 of file HPACKHeaderName.h.
References address_, proxygen::HTTPCommonHeaders::isHeaderNameFromTable(), and proxygen::TABLE_LOWERCASE.
Referenced by copyAddress(), operator<(), operator>(), and resetAddress().
|
inline |
Definition at line 122 of file HPACKHeaderName.h.
References address_, proxygen::HTTPCommonHeaders::isHeaderNameFromTable(), and proxygen::TABLE_LOWERCASE.
Referenced by proxygen::HPACKContext::getIndex(), and TEST_F().
|
inlineprivate |
Definition at line 168 of file HPACKHeaderName.h.
References address_.
Referenced by HPACKHeaderName(), and operator=().
|
inline |
Definition at line 73 of file HPACKHeaderName.h.
|
inline |
|
inline |
Definition at line 99 of file HPACKHeaderName.h.
|
inline |
Definition at line 42 of file HPACKHeaderName.h.
References resetAddress(), and storeAddress().
|
inline |
Definition at line 47 of file HPACKHeaderName.h.
References copyAddress(), and resetAddress().
|
inlinenoexcept |
Definition at line 54 of file HPACKHeaderName.h.
References moveAddress(), and resetAddress().
|
inline |
|
inline |
|
inline |
Definition at line 95 of file HPACKHeaderName.h.
|
inlineprivate |
Definition at line 176 of file HPACKHeaderName.h.
References address_, and isAllocated().
Referenced by operator=(), and ~HPACKHeaderName().
|
inline |
Definition at line 129 of file HPACKHeaderName.h.
References address_, and uint32_t.
Referenced by proxygen::HPACKHeader::bytes(), and TEST_F().
|
inlineprivate |
Definition at line 140 of file HPACKHeaderName.h.
References address_, folly::Range< Iter >::begin(), folly::Range< Iter >::data(), folly::Range< Iter >::end(), proxygen::HTTPCommonHeaders::getPointerToHeaderName(), proxygen::HTTPCommonHeaders::hash(), proxygen::HTTP_HEADER_NONE, proxygen::HTTP_HEADER_OTHER, folly::Range< Iter >::size(), string, proxygen::TABLE_LOWERCASE, and folly::pushmi::operators::transform.
Referenced by HPACKHeaderName(), and operator=().
|
private |
Definition at line 200 of file HPACKHeaderName.h.
Referenced by c_str(), copyAddress(), get(), getHeaderCode(), isAllocated(), isCommonHeader(), moveAddress(), operator<(), operator==(), operator>(), resetAddress(), size(), and storeAddress().