#include <documentSpec.h>
Private Types | |
enum | RequestMode { RM_any, RM_equal, RM_newer, RM_equal_or_newer } |
enum | CacheControl { CC_allow_cache, CC_revalidate, CC_no_cache } |
enum | Flags { F_has_tag = 0x0001, F_has_date = 0x0002 } |
Private Member Functions | |
INLINE | DocumentSpec (const string &url) |
INLINE | DocumentSpec (const URLSpec &url) |
INLINE | DocumentSpec (const DocumentSpec ©) |
INLINE void | operator= (const DocumentSpec ©) |
INLINE bool | operator== (const DocumentSpec &other) const |
INLINE bool | operator!= (const DocumentSpec &other) const |
INLINE bool | operator< (const DocumentSpec &other) const |
int | compare_to (const DocumentSpec &other) const |
INLINE void | set_url (const URLSpec &url) |
INLINE const URLSpec & | get_url () const |
INLINE void | set_tag (const HTTPEntityTag &tag) |
INLINE bool | has_tag () const |
INLINE const HTTPEntityTag & | get_tag () const |
INLINE void | clear_tag () |
INLINE void | set_date (const HTTPDate &date) |
INLINE bool | has_date () const |
INLINE const HTTPDate & | get_date () const |
INLINE void | clear_date () |
INLINE void | set_request_mode (RequestMode request_mode) |
INLINE RequestMode | get_request_mode () const |
INLINE void | set_cache_control (CacheControl cache_control) |
INLINE CacheControl | get_cache_control () const |
bool | input (istream &in) |
void | output (ostream &out) const |
void | write (ostream &out, int indent_level=0) const |
Private Attributes | |
PUBLISHED | __pad0__: INLINE DocumentSpec() |
URLSpec | _url |
HTTPEntityTag | _tag |
HTTPDate | _date |
RequestMode | _request_mode |
CacheControl | _cache_control |
int | _flags |
|
Definition at line 73 of file documentSpec.h. |
|
Definition at line 93 of file documentSpec.h. |
|
Definition at line 63 of file documentSpec.h. |
|
Referenced by input(). |
|
|
|
|
|
|
|
|
|
Definition at line 29 of file documentSpec.cxx. References _date, _flags, _tag, _url, c, HTTPDate::compare_to(), HTTPEntityTag::compare_to(), URLSpec::compare_to(), has_date(), and has_tag(). |
|
|
|
|
|
|
|
|
|
|
|
Referenced by compare_to(), output(), and write(). |
|
Referenced by compare_to(), output(), and write(). |
|
Definition at line 64 of file documentSpec.cxx. References _url, DocumentSpec(), get_date(), HTTPDate::is_valid(), set_date(), and set_tag(). |
|
|
|
|
|
|
|
|
|
Definition at line 114 of file documentSpec.cxx. References get_date(), get_tag(), get_url(), has_date(), and has_tag(). |
|
|
|
Referenced by input(). |
|
|
|
Referenced by input(). |
|
|
|
Definition at line 131 of file documentSpec.cxx. References get_date(), get_tag(), get_url(), has_date(), has_tag(), and indent(). |
|
Definition at line 39 of file documentSpec.h. |
|
Definition at line 91 of file documentSpec.h. |
|
Definition at line 89 of file documentSpec.h. Referenced by compare_to(). |
|
Definition at line 97 of file documentSpec.h. Referenced by compare_to(). |
|
Definition at line 90 of file documentSpec.h. |
|
Definition at line 88 of file documentSpec.h. Referenced by compare_to(). |
|
Definition at line 87 of file documentSpec.h. Referenced by compare_to(), and input(). |