iterator.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_ITERATOR_H
00027 #define _STLP_ITERATOR_H
00028 
00029 # ifndef _STLP_OUTERMOST_HEADER_ID
00030 #  define _STLP_OUTERMOST_HEADER_ID 0xa013
00031 #  include <stl/_prolog.h>
00032 # endif
00033 
00034 #if defined  (_STLP_DEBUG) || defined (_STLP_ASSERTIONS) && !defined (_STLP_DEBUG_H)
00035 # include <stl/debug/_debug.h>
00036 #endif
00037 
00038 #if defined (_STLP_USE_NEW_STYLE_HEADERS)
00039 # include <cstddef>
00040 #else
00041 # include <stddef.h>
00042 #endif
00043 
00044 # ifndef _STLP_NEW
00045 #  include <new>
00046 # endif
00047 
00048 # ifndef __TYPE_TRAITS_H
00049 #  include <stl/type_traits.h>
00050 # endif
00051 
00052 #ifndef _STLP_FUNCTION_H
00053 #include <function.h>
00054 #endif
00055 
00056 # ifndef _STLP_IOSFWD
00057 #  include <iosfwd>
00058 # endif
00059 
00060 # ifndef _STLP_INTERNAL_ITERATOR_BASE_H
00061 #  include <stl/_iterator_base.h>
00062 # endif
00063 
00064 # ifndef _STLP_INTERNAL_ITERATOR_H
00065 #  include <stl/_iterator.h>
00066 # endif
00067 
00068 #ifndef _STLP_INTERNAL_CONSTRUCT_H
00069 #include <stl/_construct.h>
00070 #endif
00071 
00072 #ifndef _STLP_INTERNAL_RAW_STORAGE_ITERATOR_H
00073 #include <stl/_raw_storage_iter.h>
00074 #endif
00075 
00076 # ifndef _STLP_INTERNAL_STREAM_ITERATOR_H
00077 #  include <stl/_stream_iterator.h>
00078 # endif
00079 
00080 #ifdef _STLP_USE_NAMESPACES
00081 
00082 // Names from stl_iterator.h
00083 
00084 # ifdef _STLP_BROKEN_USING_DIRECTIVE
00085 using namespace STLPORT;
00086 # else
00087 
00088 using STLPORT::input_iterator_tag;
00089 using STLPORT::output_iterator_tag;
00090 using STLPORT::forward_iterator_tag;
00091 using STLPORT::bidirectional_iterator_tag;
00092 using STLPORT::random_access_iterator_tag;
00093 
00094 using STLPORT::input_iterator;
00095 using STLPORT::output_iterator;
00096 using STLPORT::forward_iterator;
00097 using STLPORT::bidirectional_iterator;
00098 using STLPORT::random_access_iterator;
00099 
00100 #ifdef _STLP_CLASS_PARTIAL_SPECIALIZATION
00101 using STLPORT::iterator_traits;
00102 #endif
00103 
00104 # ifdef _STLP_USE_OLD_HP_ITERATOR_QUERIES
00105 using STLPORT::iterator_category;
00106 using STLPORT::distance_type;
00107 using STLPORT::value_type;
00108 # endif
00109 
00110 using STLPORT::distance; 
00111 using STLPORT::advance; 
00112 
00113 using STLPORT::insert_iterator;
00114 using STLPORT::front_insert_iterator;
00115 using STLPORT::back_insert_iterator;
00116 using STLPORT::inserter;
00117 using STLPORT::front_inserter;
00118 using STLPORT::back_inserter;
00119 
00120 using STLPORT::reverse_iterator;
00121 # if ! defined ( _STLP_CLASS_PARTIAL_SPECIALIZATION ) || defined (_STLP_USE_OLD_HP_ITERATOR_QUERIES)
00122 using STLPORT::reverse_bidirectional_iterator;
00123 # endif
00124 using STLPORT::istream_iterator;
00125 using STLPORT::ostream_iterator;
00126 
00127 // Names from stl_construct.h
00128 using STLPORT::construct;
00129 using STLPORT::destroy;
00130 
00131 // Names from stl_raw_storage_iter.h
00132 using STLPORT::raw_storage_iterator;
00133 # endif
00134 
00135 #endif /* _STLP_USE_NAMESPACES */
00136 
00137 # if (_STLP_OUTERMOST_HEADER_ID == 0xa013)
00138 #  include <stl/_epilog.h>
00139 #  undef _STLP_OUTERMOST_HEADER_ID
00140 # endif
00141 
00142 #endif /* _STLP_ITERATOR_H */
00143 
00144 // Local Variables:
00145 // mode:C++
00146 // End:
00147 

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