18std::ostream&
operator<<(std::ostream& os,
const Chipset& obj) {
20 os <<
"name="<< obj.name;
21 os <<
", chipset_name="<< obj.chipset_name;
22 os <<
", terrain_data=";
23 for (
size_t i = 0; i < obj.terrain_data.size(); ++i) {
24 os << (i == 0 ?
"[" :
", ") << obj.terrain_data[i];
27 os <<
", passable_data_lower=";
28 for (
size_t i = 0; i < obj.passable_data_lower.size(); ++i) {
29 os << (i == 0 ?
"[" :
", ") << obj.passable_data_lower[i];
32 os <<
", passable_data_upper=";
33 for (
size_t i = 0; i < obj.passable_data_upper.size(); ++i) {
34 os << (i == 0 ?
"[" :
", ") << obj.passable_data_upper[i];
37 os <<
", animation_type="<< obj.animation_type;
38 os <<
", animation_speed="<< obj.animation_speed;