38 #include "blocxx/BLOCXX_config.h"
45 namespace DelayedFormatInternals
57 std::ostream&
operator<<(std::ostream& o,
const DelayedFormatReferenceBase& s)
59 return s.dumpToStream(o);
64 : formatString(format), formatParameters()
68 DelayedFormat::operator String()
const
70 return format().toString();
87 const Array<Reference<DelayedFormatInternals::DelayedFormatReferenceBase> >& fp =
formatParameters;
91 return Format(fsp,
"");
95 return Format(fsp, *fp[0], *fp[1]);
97 return Format(fsp, *fp[0], *fp[1], *fp[2]);
99 return Format(fsp, *fp[0], *fp[1], *fp[2], *fp[3]);
101 return Format(fsp, *fp[0], *fp[1], *fp[2], *fp[3], *fp[4]);
103 return Format(fsp, *fp[0], *fp[1], *fp[2], *fp[3], *fp[4], *fp[5]);
105 return Format(fsp, *fp[0], *fp[1], *fp[2], *fp[3], *fp[4], *fp[5], *fp[6]);
107 return Format(fsp, *fp[0], *fp[1], *fp[2], *fp[3], *fp[4], *fp[5], *fp[6], *fp[7]);
109 return Format(fsp, *fp[0], *fp[1], *fp[2], *fp[3], *fp[4], *fp[5], *fp[6], *fp[7], *fp[8]);