// file : xsde/cxx/serializer/substitution-map.ixx // author : Boris Kolpackov // copyright : Copyright (c) 2005-2009 Code Synthesis Tools CC // license : GNU GPL v2 + exceptions; see accompanying LICENSE file namespace xsde { namespace cxx { namespace serializer { inline substitution_map:: substitution_map (size_t buckets) : hashmap (buckets, sizeof (hashmap*)) { } inline bool substitution_map:: check (const char*& ns, const char*& name, const char* type) const { return empty () ? false : check_ (ns, name, type); } inline substitution_map& substitution_map_instance () { return *substitution_map_init::map; } } } }