// file : xsd/cxx/tree/comparison-map.txx // copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file #include namespace xsd { namespace cxx { namespace tree { // comparison_map // template comparison_map:: comparison_map () { // anyType and anySimpleType. // //register_type ( // typeid (type), // &comparator_impl, // false); typedef simple_type simple_type; //register_type ( // typeid (simple_type), // &comparator_impl, // false); // Strings // typedef string string; register_type ( typeid (string), &comparator_impl, false); typedef normalized_string normalized_string; register_type ( typeid (normalized_string), &comparator_impl, false); typedef token token; register_type ( typeid (token), &comparator_impl, false); typedef name name; register_type ( typeid (name), &comparator_impl, false); typedef nmtoken nmtoken; register_type ( typeid (nmtoken), &comparator_impl, false); typedef nmtokens nmtokens; register_type ( typeid (nmtokens), &comparator_impl, false); typedef ncname ncname; register_type ( typeid (ncname), &comparator_impl, false); typedef language language; register_type ( typeid (language), &comparator_impl, false); // ID/IDREF. // typedef id id; register_type ( typeid (id), &comparator_impl, false); typedef idref idref; register_type ( typeid (idref), &comparator_impl, false); typedef idrefs idrefs; register_type ( typeid (idrefs), &comparator_impl, false); // URI. // typedef uri uri; register_type ( typeid (uri), &comparator_impl, false); // Qualified name. // typedef qname qname; register_type ( typeid (qname), &comparator_impl, false); // Binary. // typedef base64_binary base64_binary; register_type ( typeid (base64_binary), &comparator_impl, false); typedef hex_binary hex_binary; register_type ( typeid (hex_binary), &comparator_impl, false); // Date/time. // typedef gday gday; register_type ( typeid (gday), &comparator_impl, false); typedef gmonth gmonth; register_type ( typeid (gmonth), &comparator_impl, false); typedef gyear gyear; register_type ( typeid (gyear), &comparator_impl, false); typedef gmonth_day gmonth_day; register_type ( typeid (gmonth_day), &comparator_impl, false); typedef gyear_month gyear_month; register_type ( typeid (gyear_month), &comparator_impl, false); typedef date date; register_type ( typeid (date), &comparator_impl, false); typedef time time; register_type ( typeid (time), &comparator_impl