64 template <typename Up = Tp, enable_if_t<is_enabled<Up>::value,
char> = 0>
65 TIMEMORY_COLD
print(
const type& _obj, std::ostream& _os,
bool _endline =
false)
80 template <typename Up = Tp, enable_if_t<is_enabled<Up>::value,
char> = 0>
81 TIMEMORY_COLD
print(std::size_t N, std::size_t Ntot,
const type& _obj,
82 std::ostream& _os,
bool _endline)
96 else if(N + 1 == Ntot && _endline)
103 template <
typename Vp,
typename Statp,
typename Up = Tp,
106 int64_t _laps, int64_t _depth,
const Vp& _self,
139 std::vector<std::string> _empty_data(_labels.size(), _filler);
171 template <typename Up = Tp, enable_if_t<is_enabled<Up>::value,
char> = 0>
172 TIMEMORY_COLD
print(
const type* _obj, std::ostream& _os,
bool _endline =
false)
178 print(*_obj, _os, _endline);
181 template <typename Up = Tp, enable_if_t<is_enabled<Up>::value,
char> = 0>
182 TIMEMORY_COLD
print(std::size_t N, std::size_t Ntot,
const type* _obj,
183 std::ostream& _os,
bool _endline)
189 print(N, Ntot, *_obj, _os, _endline);
192 template <typename Up = Tp, enable_if_t<is_enabled<Up>::value,
char> = 0>
194 int64_t _laps, int64_t _depth,
const widths_t& _output_widths,
207 template <typename Up = Tp, enable_if_t<!is_enabled<Up>::value,
char> = 0>
211 template <typename Up = Tp, enable_if_t<!is_enabled<Up>::value,
char> = 0>
212 print(std::size_t, std::size_t,
const type&, std::ostream&,
bool)
215 template <typename Up = Tp, enable_if_t<!is_enabled<Up>::value,
char> = 0>
223 template <typename Up = Tp, enable_if_t<!is_enabled<Up>::value,
char> = 0>
227 template <typename Up = Tp, enable_if_t<!is_enabled<Up>::value,
char> = 0>
228 print(std::size_t, std::size_t,
const type*, std::ostream&,
bool)
231 template <typename Up = Tp, enable_if_t<!is_enabled<Up>::value,
char> = 0>
auto write_entry(Args &&... args)
char const std::string & _prefix
typename std::enable_if< B, T >::type enable_if_t
Alias template for enable_if.
tim::mpl::apply< std::string > string
char const std::string const std::string & _suffix
The declaration for the types for operations without definitions.
Include the macros for operations.
Declare the operations types.
static strvec_t get_labels(const Tp &_data)
static strvec_t get_display_units(const Tp &_data)
This operation attempts to call a member function which provides whether or not the component is in a...
prints the statistics for a type
print routines for individual components
print(const type &_obj, utility::stream &_os, const string_t &_prefix, int64_t _laps, int64_t _depth, const Vp &_self, const Statp &_stats)
print(const type &, std::ostream &, const string_t &, int64_t, int64_t, const widths_t &, bool, const string_t &="")
std::vector< int64_t > widths_t
print(const type *_obj, std::ostream &_os, bool _endline=false)
print(const type *, std::ostream &, const string_t &, int64_t, int64_t, const widths_t &, bool, const string_t &="")
print(const type &_obj, std::ostream &_os, bool _endline=false)
print(std::size_t, std::size_t, const type &, std::ostream &, bool)
print(std::size_t, std::size_t, const type *, std::ostream &, bool)
print(std::size_t N, std::size_t Ntot, const type *_obj, std::ostream &_os, bool _endline)
print(const type *, std::ostream &, bool=false)
print(const type &, std::ostream &, bool=false)
print(const type *_obj, std::ostream &_os, const string_t &_prefix, int64_t _laps, int64_t _depth, const widths_t &_output_widths, bool _endline, const string_t &_suffix="")
print(std::size_t N, std::size_t Ntot, const type &_obj, std::ostream &_os, bool _endline)
trait that allows runtime configuration of reporting certain types of values. Only applies to text ou...
trait that signifies that an implementation is enabled at runtime. The value returned from get() is f...