#include <document.h>
Public Methods | |
Document () | |
void | set_url (const char *url) |
const char * | url () const |
void | set_url_after_redirects (const char *url) |
const char * | url_after_redirects () const |
void | set_ip_addr (struct in_addr ip_addr) |
const struct in_addr & | ip_addr () const |
void | set_content_type (ContentType ct) |
ContentType | content_type () const |
void | set_content_len (uint32 len) |
uint32 | content_len () const |
void | set_language (Language lang) |
Language | language () const |
void | set_encoding (Encoding enc) |
Encoding | encoding () const |
void | Clear () |
Private Attributes | |
const char * | url_ |
const char * | url_after_redirects_ |
ContentType | content_type_ |
Language | language_ |
Encoding | encoding_ |
in_addr | ip_addr_ |
uint32 | content_len_ |
|
Definition at line 34 of file document.h. References Clear(). |
|
Definition at line 64 of file document.h. References CONTENT_GOOGLE_ERROR, content_type_, encoding_, ip_addr_, kDefaultEncoding, kDefaultLanguage, language_, NULL, url_, and url_after_redirects_. Referenced by Document(), and ParseElt::Process_Document(). |
|
Definition at line 55 of file document.h. References content_len_, and uint32. |
|
Definition at line 52 of file document.h. References content_type_, and ContentType. |
|
Definition at line 61 of file document.h. |
|
Definition at line 49 of file document.h. References ip_addr(). Referenced by ip_addr(), and set_ip_addr(). |
|
Definition at line 58 of file document.h. |
|
Definition at line 54 of file document.h. References content_len_, and uint32. Referenced by ParseElt::Process_Document(). |
|
Definition at line 51 of file document.h. References content_type_, and ContentType. Referenced by ParseElt::Process_Document(). |
|
Definition at line 60 of file document.h. References Encoding, and encoding_. Referenced by ParseElt::Process_Document(). |
|
Definition at line 46 of file document.h. References ip_addr(), and ip_addr_. Referenced by ParseElt::Process_Document(). |
|
Definition at line 57 of file document.h. References Language, and language_. Referenced by ParseElt::Process_Document(). |
|
Definition at line 36 of file document.h. Referenced by ParseElt::Process_Document(). |
|
Definition at line 41 of file document.h. References url(), and url_after_redirects_. Referenced by ParseElt::Process_Document(). |
|
Definition at line 37 of file document.h. References url_. Referenced by PreparseCatParseHandler::NewDocument(), GraphParseHandler::NewDocument(), CatURLParseHandler::NewDocument(), set_url(), and set_url_after_redirects(). |
|
Definition at line 44 of file document.h. References url_after_redirects_. Referenced by GraphParseHandler::NewDocument(). |
|
Definition at line 81 of file document.h. Referenced by content_len(), and set_content_len(). |
|
Definition at line 77 of file document.h. Referenced by Clear(), content_type(), and set_content_type(). |
|
Definition at line 79 of file document.h. Referenced by Clear(), encoding(), and set_encoding(). |
|
Definition at line 80 of file document.h. Referenced by Clear(), and set_ip_addr(). |
|
Definition at line 78 of file document.h. Referenced by Clear(), language(), and set_language(). |
|
Definition at line 74 of file document.h. |
|
Definition at line 76 of file document.h. Referenced by Clear(), set_url_after_redirects(), and url_after_redirects(). |