示例#1
0
			const string Test8C::toString() const {
				stringstream s;
		
		
				s << "Attribute1: " << getAttribute1() << " ";
		
				return s.str();
			}
示例#2
0
		const string Test5::toString() const {
			stringstream s;
	
	
			s << "Attribute1: " << getAttribute1() << " ";
			s << "Attribute2: " << getAttribute2() << " ";
			s << "Attribute3: " << getAttribute3() << " ";
			s << "Attribute4: " << getAttribute4() << " ";
			s << "Attribute5: " << getAttribute5() << " ";
			s << "Attribute6: " << getAttribute6() << " ";
			s << "Attribute7: " << getAttribute7() << " ";
	
			return s.str();
		}