diff options
author | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
---|---|---|
committer | William R. Otte <wotte@dre.vanderbilt.edu> | 2006-07-24 15:50:30 +0000 |
commit | c44379cc7d9c7aa113989237ab0f56db12aa5219 (patch) | |
tree | 66a84b20d47f2269d8bdc6e0323f338763424d3a /ACE/tests/Cache_Map_Manager_Test.h | |
parent | 3aff90f4a822fcf5d902bbfbcc9fa931d6191a8c (diff) | |
download | ATCD-c44379cc7d9c7aa113989237ab0f56db12aa5219.tar.gz |
Repo restructuring
Diffstat (limited to 'ACE/tests/Cache_Map_Manager_Test.h')
-rw-r--r-- | ACE/tests/Cache_Map_Manager_Test.h | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/ACE/tests/Cache_Map_Manager_Test.h b/ACE/tests/Cache_Map_Manager_Test.h new file mode 100644 index 00000000000..6ca91ddf4de --- /dev/null +++ b/ACE/tests/Cache_Map_Manager_Test.h @@ -0,0 +1,38 @@ +/* -*- C++ -*- */ +// $Id$ + +// ============================================================================ +// +// = LIBRARY +// tests +// +// = FILENAME +// Cache_Map_Manager_Test.h +// +// = DESCRIPTION +// Define class needed for generating templates. IBM C++ requires this to +// be in its own file for auto template instantiation. +// +// = AUTHOR +// Kirthika Parameswaran <kirthika@cs.wustl.edu> +// +// ============================================================================ + +#ifndef __ACE_CACHE_MAP_MANAGER_TEST_H +#define __ACE_CACHE_MAP_MANAGER_TEST_H + +#if !defined (ACE_LACKS_PRAGMA_ONCE) +# pragma once +#endif /* ACE_LACKS_PRAGMA_ONCE */ + +class Hash_Key +{ +public: + u_long operator () (size_t t) const + { + // Simply returns t + return static_cast<u_long> (t); + } +}; + +#endif /* __ACE_CACHE_MAP_MANAGER_TEST_T */ |