12 #ifndef GAUDIPROPERTYPARSERS_PARSERVALUETOSTREAM_H 13 #define GAUDIPROPERTYPARSERS_PARSERVALUETOSTREAM_H 1 27 #include <type_traits> 28 #include <unordered_set> 71 template <
class ITERATOR>
96 const int p =
s.precision();
104 const int p =
s.precision();
112 const int p =
s.precision();
123 template <
class KTYPE,
class VTYPE>
125 return toStream( obj.second,
toStream( obj.first,
s <<
"( " ) <<
" , " ) <<
" )";
134 template <
class TYPE,
class ALLOCATOR>
145 template <
class TYPE,
class ALLOCATOR>
156 template <
class TYPE,
class CMP,
class ALLOCATOR>
164 template <
class TYPE,
class HASH,
class CMP,
class ALLOCATOR>
176 template <
class KTYPE,
class VTYPE,
class CMP,
class ALLOCATOR>
194 template <
class KTYPE,
class VTYPE,
class CMP,
class ALLOCATOR>
212 template <
class KTYPE,
class VTYPE,
class MAP>
230 template <
class KTYPE,
class VTYPE,
class HASH,
class MAP>
240 template <
class TYPE,
unsigned int N>
242 return toStream( obj, obj +
N,
s,
"( ",
" )",
" , " );
249 template <
class TYPE, std::
size_t N>
258 template <
unsigned int N>
274 template <
class TYPE>
290 template <
class ITERATOR>
306 template <
class Tuple, std::
size_t N>
314 template <
class Tuple>
327 template <
typename... Args>
340 template <
class TYPE>
343 std::ios::fmtflags orig_flags =
s.flags();
344 s.setf( std::ios::showpoint );
346 s.flags( orig_flags );
A bit modified version of 'Loki::AssocVector' associative vector from Loki library by Andrei Alexandr...
Extension of the STL map.
std::ostream & toStream(ITERATOR first, ITERATOR last, std::ostream &s, const std::string &open, const std::string &close, const std::string &delim)
the helper function to print the sequence
static std::ostream & toStream(const Tuple &t, std::ostream &s)
AttribStringParser::Iterator end(const AttribStringParser &)
std::string toString(const TYPE &obj)
the generic implementation of the type conversion to the string
Provide serialization function (output only) for some common STL classes (vectors,...
Stream & ostream_joiner(Stream &os, Iterator first, Iterator last, Separator sep, OutputElement output=OutputElement{})
Common class providing an architecture-independent hash map.
static std::ostream & toStream(const Tuple &t, std::ostream &s)
AttribStringParser::Iterator begin(const AttribStringParser &parser)
T setprecision(T... args)
Header file for std:chrono::duration-based Counters.