Files
boost_beast/doc/concept/FieldSequence.qbk
T

61 lines
1.5 KiB
Plaintext
Raw Normal View History

2016-05-11 08:36:29 -04:00
[/
2017-02-06 20:07:03 -05:00
Copyright (c) 2013-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
2016-05-11 08:36:29 -04:00
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
]
2017-06-04 17:25:55 -07:00
[section:FieldSequence FieldSequence]
2016-05-11 08:36:29 -04:00
2016-10-09 20:27:24 -04:00
A [*FieldSequence] is an iterable container whose value type meets
2017-06-04 17:25:55 -07:00
the requirements of [link beast.concept.Field [*Field]]. Objects that meet
2016-10-09 20:27:24 -04:00
these requirements become serializable by the implementation.
2016-05-11 08:36:29 -04:00
In this table:
2016-10-09 20:27:24 -04:00
* `X` denotes a type that meets the requirements of [*FieldSequence].
2016-05-11 08:36:29 -04:00
* `c` is a value of type `X const`.
2016-05-11 08:36:29 -04:00
[table FieldSequence requirements
2017-05-28 09:05:29 -07:00
[[expression][type][semantics, pre/post-conditions]]
2016-05-11 08:36:29 -04:00
[
[`X::value_type`]
[]
[
2017-06-04 17:25:55 -07:00
A type that meets the requirements of
[link beast.concept.Field [*Field]].
2016-05-11 08:36:29 -04:00
]
]
[
[`X::const_iterator`]
[]
[
An iterator type whose `reference` type meets the
2017-06-04 17:25:55 -07:00
requirements of [link beast.concept.Field [*Field]], and which
satisfies all the requirements of [*ForwardIterator],
except that:
[ordered_list
[there is no requirement that `operator->` is provided, and]
[there is no requirement that `reference` be a reference type.]
]
2016-05-11 08:36:29 -04:00
]
]
[
[`c.begin()`]
2016-05-11 08:36:29 -04:00
[`X::const_iterator`]
[
Returns an iterator to the beginning of the field sequence.
]
]
[
[`c.end()`]
2016-05-11 08:36:29 -04:00
[`X::const_iterator`]
[
Returns an iterator to the end of the field sequence.
]
]
]
[endsect]