예제 #1
0
파일: crc.hpp 프로젝트: knowname/libosmium
 void update(const osmium::RelationMember& member) {
     update_int64(member.ref());
     update_int16(uint16_t(member.type()));
     update_string(member.role());
 }
예제 #2
0
 void relation_member(const osmium::RelationMember& member) {
     *m_out += item_type_to_char(member.type());
     output_int(member.ref());
     *m_out += '@';
     append_encoded_string(member.role());
 }