00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef HTTPENTITYTAG_H
00020 #define HTTPENTITYTAG_H
00021
00022 #include "pandabase.h"
00023
00024
00025
00026
00027
00028
00029
00030
00031 class EXPCL_PANDAEXPRESS HTTPEntityTag {
00032 PUBLISHED:
00033 INLINE HTTPEntityTag();
00034 HTTPEntityTag(const string &text);
00035 INLINE HTTPEntityTag(bool weak, const string &tag);
00036 INLINE HTTPEntityTag(const HTTPEntityTag ©);
00037 INLINE void operator = (const HTTPEntityTag ©);
00038
00039 INLINE bool is_weak() const;
00040 INLINE const string &get_tag() const;
00041 string get_string() const;
00042
00043 INLINE bool strong_equiv(const HTTPEntityTag &other) const;
00044 INLINE bool weak_equiv(const HTTPEntityTag &other) const;
00045
00046 INLINE bool operator == (const HTTPEntityTag &other) const;
00047 INLINE bool operator != (const HTTPEntityTag &other) const;
00048 INLINE bool operator < (const HTTPEntityTag &other) const;
00049 INLINE int compare_to(const HTTPEntityTag &other) const;
00050
00051 INLINE void output(ostream &out) const;
00052
00053 private:
00054 bool _weak;
00055 string _tag;
00056 };
00057
00058 INLINE ostream &operator << (ostream &out, const HTTPEntityTag &url);
00059
00060 #include "httpEntityTag.I"
00061
00062 #endif