Example #1
0
const std::string Polish::MakeLabel(const Airspace& airspace) {
	std::stringstream ss;
	ss << airspace.GetCategoryName() << " "
		<< airspace.GetTopAltitude().ToString() << " - "
		<< airspace.GetBaseAltitude().ToString() << " "
		<< airspace.GetName();
	std::string label(ss.str());
	if(label.length()>80) label.resize(80);
	return label;
}