示例#1
0
Debug &Debug::operator<<(unsigned int num) {
	_stream->msg += String::format("%d", num);
	return maybeSpace();
}
示例#2
0
Debug &Debug::operator<<(const String &str) {
	_stream->msg += str;
	return maybeSpace();
}
示例#3
0
Debug &Debug::operator<<(char str) {
	_stream->msg += str;
	return maybeSpace();
}
示例#4
0
Debug &Debug::operator<<(bool value) {
	_stream->msg += (value ? "true" : "false");
	return maybeSpace();
}
示例#5
0
Debug &Debug::operator<<(void *p) {
	_stream->msg += String::format("%p", p);
	return maybeSpace();
}
示例#6
0
文件: Log.hpp 项目: qioixiy/notes
 inline LoggerStream& operator<<(const char* s) { stream->ss << s; return maybeSpace(); }
示例#7
0
Debug &Debug::operator<<(float num) {
	_stream->msg += String::format("%g", num);
	return maybeSpace();
}
示例#8
0
文件: Log.hpp 项目: qioixiy/notes
 inline LoggerStream& operator<<(std::string s) { stream->ss << s; return maybeSpace(); }
示例#9
0
文件: Log.hpp 项目: qioixiy/notes
 inline LoggerStream& operator<<(double t) { stream->ss<< t; return maybeSpace(); }
示例#10
0
文件: Log.hpp 项目: qioixiy/notes
 inline LoggerStream& operator<<(long long t) { stream->ss<< t; return maybeSpace(); }
示例#11
0
文件: Log.hpp 项目: qioixiy/notes
 inline LoggerStream& operator<<(unsigned int t) { stream->ss<< t; return maybeSpace(); }
示例#12
0
文件: Log.hpp 项目: qioixiy/notes
 inline LoggerStream& operator<<(bool t) { stream->ss<<(t ? "true" : "false"); return maybeSpace(); }