blob: 025a5cbe8e766ff47004b8cec7c33c9af39551c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
// file : xsde/cxx/serializer/validating/inheritance-map.ixx
// copyright : Copyright (c) 2005-2011 Code Synthesis Tools CC
// license : GNU GPL v2 + exceptions; see accompanying LICENSE file
namespace xsde
{
namespace cxx
{
namespace serializer
{
namespace validating
{
inline inheritance_map::
inheritance_map (size_t buckets)
: hashmap (buckets, sizeof (const char*))
{
}
inline void inheritance_map::
insert (const char* derived, const char* base)
{
hashmap::insert (derived, &base);
}
inline inheritance_map&
inheritance_map_instance ()
{
return *inheritance_map_init::map;
}
}
}
}
}
|