-rw-r--r-- | include/opkele/types.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/opkele/types.h b/include/opkele/types.h index 64f165c..bf50e2b 100644 --- a/include/opkele/types.h +++ b/include/opkele/types.h | |||
@@ -107,33 +107,32 @@ namespace opkele { | |||
107 | */ | 107 | */ |
108 | virtual bool stateless() const = 0; | 108 | virtual bool stateless() const = 0; |
109 | /** | 109 | /** |
110 | * check whether the association is expired. | 110 | * check whether the association is expired. |
111 | * @return true if expired | 111 | * @return true if expired |
112 | */ | 112 | */ |
113 | virtual bool is_expired() const = 0; | 113 | virtual bool is_expired() const = 0; |
114 | }; | 114 | }; |
115 | 115 | ||
116 | /** | 116 | /** |
117 | * the shared_ptr<> for association_t object type | 117 | * the shared_ptr<> for association_t object type |
118 | */ | 118 | */ |
119 | typedef tr1mem::shared_ptr<association_t> assoc_t; | 119 | typedef tr1mem::shared_ptr<association_t> assoc_t; |
120 | 120 | ||
121 | class basic_message { | 121 | class basic_message { |
122 | public: | 122 | public: |
123 | typedef list<string> fields_t; | ||
124 | typedef util::forward_iterator_proxy< | 123 | typedef util::forward_iterator_proxy< |
125 | string,const string&,const string* | 124 | string,const string&,const string* |
126 | > fields_iterator; | 125 | > fields_iterator; |
127 | 126 | ||
128 | basic_message() { } | 127 | basic_message() { } |
129 | virtual ~basic_message() { } | 128 | virtual ~basic_message() { } |
130 | basic_message(const basic_message& x); | 129 | basic_message(const basic_message& x); |
131 | void copy_to(basic_message& x) const; | 130 | void copy_to(basic_message& x) const; |
132 | void append_to(basic_message& x) const; | 131 | void append_to(basic_message& x) const; |
133 | 132 | ||
134 | virtual bool has_field(const string& n) const = 0; | 133 | virtual bool has_field(const string& n) const = 0; |
135 | virtual const string& get_field(const string& n) const = 0; | 134 | virtual const string& get_field(const string& n) const = 0; |
136 | 135 | ||
137 | virtual fields_iterator fields_begin() const = 0; | 136 | virtual fields_iterator fields_begin() const = 0; |
138 | virtual fields_iterator fields_end() const = 0; | 137 | virtual fields_iterator fields_end() const = 0; |
139 | 138 | ||