include/corelib/hash_impl/stlp_defs.hpp File Reference

#include <corelib/ncbistl.hpp>
#include <iterator>
#include <algorithm>
#include <functional>
#include <vector>
#include <corelib/hash_impl/_hash_fun.h>
#include <corelib/hash_impl/_hashtable.h>
#include <corelib/hash_impl/_hashtable.c>

Include dependency graph for stlp_defs.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  _Const_traits< _Tp >
struct  _Nonconst_traits< _Tp >
struct  _Alloc_traits< _Tp, _Allocator >
class  _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >
struct  hash< const string >
struct  hash< string >

Defines

#define _STLP_STATIC_TEMPLATE_DATA   1
#define _STLP_LINK_TIME_INSTANTIATION
#define _STLP_USE_EXCEPTIONS
#define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
#define _STLP_USE_SEPARATE_RELOPS_NAMESPACE
#define _STLP_INTERNAL_VECTOR_H
#define _STLP_INTERNAL_ITERATOR_H
#define _STLP_INTERNAL_FUNCTION_H
#define _STLP_INTERNAL_ALGOBASE_H
#define _STLP_BEGIN_NAMESPACE   BEGIN_NCBI_SCOPE
#define _STLP_END_NAMESPACE   END_NCBI_SCOPE
#define _STLP_STD   std
#define _STLP_CALL
#define _STLP_FIX_LITERAL_BUG(x)
#define __WORKAROUND_RENAME(X)   X
#define _STLP_PLACEMENT_NEW   new
#define __STATIC_CAST(__x, __y)   static_cast<__x>(__y)
#define __REINTERPRET_CAST(__x, __y)   reinterpret_cast<__x>(__y)
#define _STLP_TEMPLATE_NULL   EMPTY_TEMPLATE
#define _STLP_TEMPLATE   template
#define _STLP_TYPENAME_ON_RETURN_TYPE   typename
#define __vector__   vector
#define _STLP_FORCE_ALLOCATORS(a, y)
#define _STLP_CONVERT_ALLOCATOR(__a, _Tp)   __a
#define _STLP_TRY   try
#define _STLP_UNWIND(action)   catch(...) { action; throw; }
#define __TRIVIAL_CONSTRUCTOR(__type)
#define __TRIVIAL_DESTRUCTOR(__type)
#define __TRIVIAL_STUFF(__type)   __TRIVIAL_CONSTRUCTOR(__type) __TRIVIAL_DESTRUCTOR(__type)
#define _STLP_DEFINE_ARROW_OPERATOR   pointer operator->() const { return &(operator*()); }
#define __DFL_TMPL_PARAM(classname, defval)   class classname = defval
#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_Key, _Tp)   class _Alloc = allocator< pair < _Key, _Tp > >
#define _STLP_DEFAULT_ALLOCATOR_SELECT(_Tp)   __DFL_TMPL_PARAM(_Alloc, allocator< _Tp >)
#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT(_Key, _Tp)   class _Alloc = allocator< pair < _Key, _Tp > >
#define __lower_bound(b, e, v, c, d)   lower_bound(b,e,v,c)
#define _STLP_DEBUG_UNINITIALIZED
#define _STLP_SHRED_BYTE   0xA3
#define _STLP_SELECT1ST(__x, __y)   _Select1st< __x >
#define NCBI_USE_STRING_HASH_FUNC__NCBI
#define ALLOCATOR(T)   allocator<T>

Functions

template<class _Tp>
less< _Tp > __less (_Tp *)
template<class _Tp1, class _Tp2>
allocator< _Tp2 > & __stl_alloc_rebind (allocator< _Tp1 > &__a, const _Tp2 *)
template<class _Tp1, class _Tp2>
allocator< _Tp2 > __stl_alloc_create (const allocator< _Tp1 > &, const _Tp2 *)
size_t __stl_hash_string (const char *__s, size_t __l)

Variables

 NCBI_USING_NAMESPACE_STD


Define Documentation

#define __DFL_TMPL_PARAM classname,
defval   )     class classname = defval
 

Definition at line 149 of file stlp_defs.hpp.

#define __lower_bound b,
e,
v,
c,
 )     lower_bound(b,e,v,c)
 

Definition at line 161 of file stlp_defs.hpp.

Referenced by hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::_M_next_size().

#define __REINTERPRET_CAST __x,
__y   )     reinterpret_cast<__x>(__y)
 

Definition at line 126 of file stlp_defs.hpp.

Referenced by __WORKAROUND_RENAME().

#define __STATIC_CAST __x,
__y   )     static_cast<__x>(__y)
 

Definition at line 125 of file stlp_defs.hpp.

Referenced by _STLP_alloc_proxy< size_type, _Node, _M_node_allocator_type >::allocate(), and _STLP_alloc_proxy< size_type, _Node, _M_node_allocator_type >::deallocate().

#define __TRIVIAL_CONSTRUCTOR __type   ) 
 

Definition at line 139 of file stlp_defs.hpp.

#define __TRIVIAL_DESTRUCTOR __type   ) 
 

Definition at line 140 of file stlp_defs.hpp.

#define __TRIVIAL_STUFF __type   )     __TRIVIAL_CONSTRUCTOR(__type) __TRIVIAL_DESTRUCTOR(__type)
 

Definition at line 141 of file stlp_defs.hpp.

#define __vector__   vector
 

Definition at line 130 of file stlp_defs.hpp.

#define __WORKAROUND_RENAME  )     X
 

Definition at line 123 of file stlp_defs.hpp.

#define _STLP_BEGIN_NAMESPACE   BEGIN_NCBI_SCOPE
 

Definition at line 118 of file stlp_defs.hpp.

#define _STLP_CALL
 

Definition at line 121 of file stlp_defs.hpp.

Referenced by __WORKAROUND_RENAME().

#define _STLP_CONVERT_ALLOCATOR __a,
_Tp   )     __a
 

Definition at line 132 of file stlp_defs.hpp.

Referenced by hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::get_allocator().

#define _STLP_DEBUG_UNINITIALIZED
 

Definition at line 223 of file stlp_defs.hpp.

#define _STLP_DEFAULT_ALLOCATOR_SELECT _Tp   )     __DFL_TMPL_PARAM(_Alloc, allocator< _Tp >)
 

Definition at line 154 of file stlp_defs.hpp.

#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT _Key,
_Tp   )     class _Alloc = allocator< pair < _Key, _Tp > >
 

Definition at line 156 of file stlp_defs.hpp.

#define _STLP_DEFAULT_PAIR_ALLOCATOR_SELECT _Key,
_Tp   )     class _Alloc = allocator< pair < _Key, _Tp > >
 

Definition at line 156 of file stlp_defs.hpp.

#define _STLP_DEFINE_ARROW_OPERATOR   pointer operator->() const { return &(operator*()); }
 

Definition at line 145 of file stlp_defs.hpp.

#define _STLP_END_NAMESPACE   END_NCBI_SCOPE
 

Definition at line 119 of file stlp_defs.hpp.

#define _STLP_FIX_LITERAL_BUG  ) 
 

Definition at line 122 of file stlp_defs.hpp.

Referenced by __stl_hash_string(), hash< const char * >::operator()(), and hash< char * >::operator()().

#define _STLP_FORCE_ALLOCATORS a,
 ) 
 

Definition at line 131 of file stlp_defs.hpp.

#define _STLP_INTERNAL_ALGOBASE_H
 

Definition at line 108 of file stlp_defs.hpp.

#define _STLP_INTERNAL_FUNCTION_H
 

Definition at line 107 of file stlp_defs.hpp.

#define _STLP_INTERNAL_ITERATOR_H
 

Definition at line 106 of file stlp_defs.hpp.

#define _STLP_INTERNAL_VECTOR_H
 

Definition at line 105 of file stlp_defs.hpp.

#define _STLP_LINK_TIME_INSTANTIATION
 

Definition at line 92 of file stlp_defs.hpp.

#define _STLP_NO_CLASS_PARTIAL_SPECIALIZATION
 

Definition at line 96 of file stlp_defs.hpp.

#define _STLP_PLACEMENT_NEW   new
 

Definition at line 124 of file stlp_defs.hpp.

#define _STLP_SELECT1ST __x,
__y   )     _Select1st< __x >
 

Definition at line 240 of file stlp_defs.hpp.

#define _STLP_SHRED_BYTE   0xA3
 

Definition at line 226 of file stlp_defs.hpp.

#define _STLP_STATIC_TEMPLATE_DATA   1
 

Definition at line 88 of file stlp_defs.hpp.

#define _STLP_STD   std
 

Definition at line 120 of file stlp_defs.hpp.

#define _STLP_TEMPLATE   template
 

Definition at line 128 of file stlp_defs.hpp.

#define _STLP_TEMPLATE_NULL   EMPTY_TEMPLATE
 

Definition at line 127 of file stlp_defs.hpp.

#define _STLP_TRY   try
 

Definition at line 135 of file stlp_defs.hpp.

Referenced by hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::_M_copy_from(), hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::_M_new_node(), and hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::resize().

#define _STLP_TYPENAME_ON_RETURN_TYPE   typename
 

Definition at line 129 of file stlp_defs.hpp.

#define _STLP_UNWIND action   )     catch(...) { action; throw; }
 

Definition at line 136 of file stlp_defs.hpp.

Referenced by hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::_M_new_node().

#define _STLP_USE_EXCEPTIONS
 

Definition at line 93 of file stlp_defs.hpp.

#define _STLP_USE_SEPARATE_RELOPS_NAMESPACE
 

Definition at line 101 of file stlp_defs.hpp.

#define ALLOCATOR  )     allocator<T>
 

Definition at line 368 of file stlp_defs.hpp.

Referenced by __stl_alloc_create(), and __stl_alloc_rebind().

#define NCBI_USE_STRING_HASH_FUNC__NCBI
 

Definition at line 246 of file stlp_defs.hpp.


Function Documentation

template<class _Tp>
less<_Tp> __less _Tp *   ) 
 

Definition at line 256 of file stlp_defs.hpp.

Referenced by hashtable< _Val, _Key, _HF, _ExK, _EqK, _All >::_M_next_size().

template<class _Tp1, class _Tp2>
allocator< _Tp2 > __stl_alloc_create const allocator< _Tp1 > &  ,
const _Tp2 * 
[inline]
 

Definition at line 379 of file stlp_defs.hpp.

References ALLOCATOR.

template<class _Tp1, class _Tp2>
allocator< _Tp2 >& __stl_alloc_rebind allocator< _Tp1 > &  __a,
const _Tp2 * 
[inline]
 

Definition at line 375 of file stlp_defs.hpp.

References ALLOCATOR.

Referenced by _STLP_alloc_proxy< size_type, _Node, _M_node_allocator_type >::allocate(), and _STLP_alloc_proxy< size_type, _Node, _M_node_allocator_type >::deallocate().

size_t __stl_hash_string const char *  __s,
size_t  __l
[inline]
 

Definition at line 427 of file stlp_defs.hpp.


Variable Documentation

NCBI_USING_NAMESPACE_STD
 

Definition at line 80 of file stlp_defs.hpp.


Generated on Sun Dec 6 23:18:22 2009 for NCBI C++ ToolKit by  doxygen 1.4.6
Modified on Mon Dec 07 16:21:19 2009 by modify_doxy.py rev. 173732