00001 // Not copyrighted - public domain. 00002 // 00003 // This sample parser implementation was generated by CodeSynthesis XSD, 00004 // an XML Schema to C++ data binding compiler. You may use it in your 00005 // programs without any restrictions. 00006 // 00007 00008 #include "member_type-pimpl.hxx" 00009 00010 // member_type_pimpl 00011 // 00012 00013 void member_type_pimpl:: 00014 pre () 00015 { 00016 } 00017 00018 osm::ObjectType member_type_pimpl:: 00019 post_member_type () 00020 { 00021 const ::std::string& v (post_string ()); 00022 00023 if(v=="node") 00024 return osm::ObjectType::Node; 00025 if(v=="way") 00026 return osm::ObjectType::Way; 00027 if(v=="relation") 00028 return osm::ObjectType::Relation; 00029 return osm::ObjectType::Node; 00030 } 00031