12 #ifndef ECL_CONTAINERS_ARRAY_FORMATTERS_HPP_ 13 #define ECL_CONTAINERS_ARRAY_FORMATTERS_HPP_ 24 #include "../common/formatters.hpp" 25 #include "../array.hpp" 63 template<
typename Type,
size_t N>
106 template<
typename Byte,
size_t N>
128 begin_iterator = array.
begin();
129 end_iterator = array.
end();
130 ready_to_format =
true;
142 begin_iterator = stencil.begin();
143 end_iterator = stencil.end();
144 ready_to_format =
true;
163 begin_iterator = begin_iter;
164 end_iterator = end_iter;
165 ready_to_format =
true;
181 template <
typename OutputStream,
typename CharType,
size_t M>
194 template <
typename OutputStream,
typename CharType,
size_t M>
195 OutputStream& operator <<(OutputStream& ostream, const ByteArrayFormatter<CharType, M> &formatter)
199 "either there is no data available, or you have tried to use the " 200 "formatter more than once in a single streaming operation. " 201 "C++ produces unspecified results when functors are used multiply " 202 "in the same stream sequence, so this is not permitted here.") );
207 for ( iter = formatter.begin_iterator; iter != formatter.end_iterator; ++iter )
209 ostream << format(*iter) <<
" ";
Fixed size container with a few bells and whistles.
const Type * const_iterator
Embedded control libraries.
#define ecl_assert_throw(expression, exception)
#define ecl_assert_throw_decl(exception)
A safe windowing class that opens onto array-like containers.