38#include "blocxx/BLOCXX_config.h"
47 return oss.toString();
52 return oss.toString();
66 while (i < len && c ==
' ' && !err)
76 case '1':
case '2':
case '3':
case '4':
case '5':
77 case '6':
case '7':
case '8':
case '9':
94 if ( i <= len && c > numArgs )
96 oss <<
"\n*** Parameter specifier too large.";
101 oss <<
"\n*** Error in format string at \"" << str.
substring(i-1) <<
"\".\n";
125#define BLOCXX_DEFINE_PUT(type) \
126void Format::put(type t) \
146#undef BLOCXX_DEFINE_PUT
155 case '1':
put(a);
break;
166 case '1':
put(a);
break;
167 case '2':
put(b);
break;
178 case '1':
put(a);
break;
179 case '2':
put(b);
break;
180 case '3':
put(c);
break;
const char * c_str() const
This String class is an abstract data type that represents as NULL terminated string of characters.
String & erase()
Delete all the characters of the string.
String substring(size_t beginIndex, size_t length=npos) const
Create another String object that is comprised of a substring of this String object.
ostream & operator<<(ostream &ostrm, const Bool &arg)