author | Michael Krelin <hacker@klever.net> | 2007-04-11 19:22:11 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-04-11 19:22:11 (UTC) |
commit | a2d909d2ecaaf80e6d0e063f37fa04ed6934c185 (patch) (unidiff) | |
tree | 5f09965678201579c9aacbe2d11db4bc9f930267 /include | |
parent | 4c22006b8012bafccf955c0d077971e67107ac35 (diff) | |
download | konforka-a2d909d2ecaaf80e6d0e063f37fa04ed6934c185.zip konforka-a2d909d2ecaaf80e6d0e063f37fa04ed6934c185.tar.gz konforka-a2d909d2ecaaf80e6d0e063f37fa04ed6934c185.tar.bz2 |
-rw-r--r-- | include/konforka/pointer_map.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/konforka/pointer_map.h b/include/konforka/pointer_map.h index d706e71..00dd486 100644 --- a/include/konforka/pointer_map.h +++ b/include/konforka/pointer_map.h | |||
@@ -1,39 +1,40 @@ | |||
1 | #ifndef __KONFORKA_POINTER_MAP_H | 1 | #ifndef __KONFORKA_POINTER_MAP_H |
2 | #define __KONFORKA_POINTER_MAP_H | 2 | #define __KONFORKA_POINTER_MAP_H |
3 | 3 | ||
4 | #include <typeinfo> | 4 | #include <typeinfo> |
5 | 5 | ||
6 | /** | 6 | /** |
7 | * @file | 7 | * @file |
8 | * @brief mapping of pointers. | 8 | * @brief mapping of pointers. |
9 | * | 9 | * |
10 | * The support for global mapping of pointers. Useful when using third-party | 10 | * The support for global mapping of pointers. Useful when using third-party |
11 | * libraries callbacks when the library does not provide mechanism for passing | 11 | * libraries callbacks when the library does not provide mechanism for passing |
12 | * along custom context-dependent data. | 12 | * along custom context-dependent data. |
13 | */ | 13 | */ |
14 | 14 | ||
15 | namespace konforka { | 15 | namespace konforka { |
16 | using std::type_info; | ||
16 | 17 | ||
17 | /** | 18 | /** |
18 | * @brief internally used actual implementation of mapping pointer. | 19 | * @brief internally used actual implementation of mapping pointer. |
19 | * | 20 | * |
20 | * @param tf the typeid of the key pointer. | 21 | * @param tf the typeid of the key pointer. |
21 | * @param pf the key pointer. | 22 | * @param pf the key pointer. |
22 | * @param tt the typeid of the value pointer. | 23 | * @param tt the typeid of the value pointer. |
23 | * @param pt the value pointer. | 24 | * @param pt the value pointer. |
24 | */ | 25 | */ |
25 | void _map_pointer(const type_info& tf,void *pf,const type_info& tt,void *pt); | 26 | void _map_pointer(const type_info& tf,void *pf,const type_info& tt,void *pt); |
26 | /** | 27 | /** |
27 | * @brief internally used actual implementation of destroying mapped | 28 | * @brief internally used actual implementation of destroying mapped |
28 | * pointer. | 29 | * pointer. |
29 | * | 30 | * |
30 | * @param tf the typeid of the key pointer. | 31 | * @param tf the typeid of the key pointer. |
31 | * @param pf the key pointer. | 32 | * @param pf the key pointer. |
32 | * @param tt the typeid of the value pointer. | 33 | * @param tt the typeid of the value pointer. |
33 | * @param pt the value pointer. | 34 | * @param pt the value pointer. |
34 | */ | 35 | */ |
35 | void _unmap_pointer(const type_info& tf,void *pf,const type_info& tt,void *pt); | 36 | void _unmap_pointer(const type_info& tf,void *pf,const type_info& tt,void *pt); |
36 | /** | 37 | /** |
37 | * @brief internally used actual implementation of retrieving mapped | 38 | * @brief internally used actual implementation of retrieving mapped |
38 | * pointer. | 39 | * pointer. |
39 | * | 40 | * |