algo.h

00001 /*
00002  *
00003  * Copyright (c) 1994
00004  * Hewlett-Packard Company
00005  *
00006  * Copyright (c) 1996,1997
00007  * Silicon Graphics Computer Systems, Inc.
00008  *
00009  * Copyright (c) 1997
00010  * Moscow Center for SPARC Technology
00011  *
00012  * Copyright (c) 1999 
00013  * Boris Fomitchev
00014  *
00015  * This material is provided "as is", with absolutely no warranty expressed
00016  * or implied. Any use is at your own risk.
00017  *
00018  * Permission to use or copy this software for any purpose is hereby granted 
00019  * without fee, provided the above notices are retained on all copies.
00020  * Permission to modify the code and to distribute modified code is granted,
00021  * provided the above notices are retained, and a notice that the code was
00022  * modified is included with the above copyright notice.
00023  *
00024  */
00025 
00026 #ifndef _STLP_ALGO_H
00027 #define _STLP_ALGO_H
00028 
00029 # ifndef _STLP_OUTERMOST_HEADER_ID
00030 #  define _STLP_OUTERMOST_HEADER_ID 0xa001
00031 #  include <stl/_prolog.h>
00032 # endif
00033 
00034 # ifndef _STLP_ALGOBASE_H
00035 #  include <algobase.h>
00036 # endif
00037 
00038 # ifndef _STLP_TEMPBUF_H
00039 #  include <tempbuf.h>
00040 # endif
00041 
00042 # ifndef _STLP_INTERNAL_HEAP_H
00043 #  include <stl/_heap.h>
00044 # endif
00045 
00046 # ifndef _STLP_ITERATOR_H
00047 #  include <iterator.h>
00048 # endif
00049 
00050 # ifndef _STLP_INTERNAL_ALGO_H
00051 #  include <stl/_algo.h>
00052 # endif
00053 
00054 # ifndef _STLP_NUMERIC_H
00055 #  include <stl/_numeric.h>
00056 # endif
00057 
00058 #ifdef _STLP_USE_NAMESPACES
00059 
00060 # ifdef _STLP_BROKEN_USING_DIRECTIVE
00061 using namespace STLPORT;
00062 # else
00063 // Names from <stl/_algo.h>
00064 using STLPORT::for_each; 
00065 using STLPORT::find; 
00066 using STLPORT::find_if; 
00067 using STLPORT::adjacent_find; 
00068 using STLPORT::count; 
00069 using STLPORT::count_if; 
00070 using STLPORT::search; 
00071 using STLPORT::search_n; 
00072 using STLPORT::swap_ranges; 
00073 using STLPORT::transform; 
00074 using STLPORT::replace; 
00075 using STLPORT::replace_if; 
00076 using STLPORT::replace_copy; 
00077 using STLPORT::replace_copy_if; 
00078 using STLPORT::generate; 
00079 using STLPORT::generate_n; 
00080 // using STLPORT::remove; 
00081 using STLPORT::remove_if; 
00082 using STLPORT::remove_copy; 
00083 using STLPORT::remove_copy_if; 
00084 using STLPORT::unique; 
00085 using STLPORT::unique_copy; 
00086 using STLPORT::reverse; 
00087 using STLPORT::reverse_copy; 
00088 using STLPORT::rotate; 
00089 using STLPORT::rotate_copy; 
00090 using STLPORT::random_shuffle; 
00091 using STLPORT::random_sample; 
00092 using STLPORT::random_sample_n; 
00093 using STLPORT::partition; 
00094 using STLPORT::stable_partition; 
00095 using STLPORT::sort; 
00096 using STLPORT::stable_sort; 
00097 using STLPORT::partial_sort; 
00098 using STLPORT::partial_sort_copy; 
00099 using STLPORT::nth_element; 
00100 using STLPORT::lower_bound; 
00101 using STLPORT::upper_bound; 
00102 using STLPORT::equal_range; 
00103 using STLPORT::binary_search; 
00104 using STLPORT::merge; 
00105 using STLPORT::inplace_merge; 
00106 using STLPORT::includes; 
00107 using STLPORT::set_union; 
00108 using STLPORT::set_intersection; 
00109 using STLPORT::set_difference; 
00110 using STLPORT::set_symmetric_difference; 
00111 using STLPORT::min_element; 
00112 using STLPORT::max_element; 
00113 using STLPORT::next_permutation; 
00114 using STLPORT::prev_permutation; 
00115 using STLPORT::find_first_of; 
00116 using STLPORT::find_end; 
00117 using STLPORT::is_sorted; 
00118 using STLPORT::is_heap; 
00119 
00120 // Names from stl_heap.h
00121 using STLPORT::push_heap;
00122 using STLPORT::pop_heap;
00123 using STLPORT::make_heap;
00124 using STLPORT::sort_heap;
00125 
00126 // Names from <stl/_numeric.h>
00127 using STLPORT::accumulate; 
00128 using STLPORT::inner_product; 
00129 using STLPORT::partial_sum; 
00130 using STLPORT::adjacent_difference; 
00131 using STLPORT::power; 
00132 using STLPORT::iota; 
00133 
00134 # endif /* _STLP_BROKEN_USING_DIRECTIVE */
00135 #endif /* _STLP_USE_NAMESPACES */
00136 
00137 # if (_STLP_OUTERMOST_HEADER_ID == 0xa001)
00138 #  include <stl/_epilog.h>
00139 #  undef _STLP_OUTERMOST_HEADER_ID
00140 # endif
00141 
00142 #endif /* _STLP_ALGO_H */
00143 
00144 // Local Variables:
00145 // mode:C++
00146 // End:

Generated on Mon Jun 5 10:20:43 2006 for Intelligence.kdevelop by  doxygen 1.4.6