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>
182 friend OutputStream& operator << (OutputStream& ostream, const ByteArrayFormatter<CharType,M> &formatter);
194 template <
typename OutputStream,
typename CharType,
size_t M>
195 OutputStream& operator <<(OutputStream& ostream, const ByteArrayFormatter<CharType, M> &formatter)
198 "either there is no data available, or you have tried to use the " 199 "formatter more than once in a single streaming operation. " 200 "C++ produces unspecified results when functors are used multiply " 201 "in the same stream sequence, so this is not permitted here.") );
206 for ( iter = formatter.begin_iterator; iter != formatter.end_iterator; ++iter )
208 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)
A safe windowing class that opens onto array-like containers.