iterator.h

00001 /*
00002  *
00003  * Copyright (c) 1994
00004  * Hewlett-Packard Company
00005  *
00006  * Permission to use, copy, modify, distribute and sell this software
00007  * and its documentation for any purpose is hereby granted without fee,
00008  * provided that the above copyright notice appear in all copies and
00009  * that both that copyright notice and this permission notice appear
00010  * in supporting documentation.  Hewlett-Packard Company makes no
00011  * representations about the suitability of this software for any
00012  * purpose.  It is provided "as is" without express or implied warranty.
00013  *
00014  *
00015  * Copyright (c) 1996
00016  * Silicon Graphics Computer Systems, Inc.
00017  *
00018  * Permission to use, copy, modify, distribute and sell this software
00019  * and its documentation for any purpose is hereby granted without fee,
00020  * provided that the above copyright notice appear in all copies and
00021  * that both that copyright notice and this permission notice appear
00022  * in supporting documentation.  Silicon Graphics makes no
00023  * representations about the suitability of this software for any
00024  * purpose.  It is provided "as is" without express or implied warranty.
00025  */
00026 
00027 #ifndef __SGI_STL_ITERATOR_H
00028 #define __SGI_STL_ITERATOR_H
00029 
00030 #ifndef __SGI_STL_FUNCTION_H
00031 #include <function.h>
00032 #endif
00033 
00034 #ifndef UNDER_CE
00035 #include <stddef.h>
00036 
00037 #ifdef __STL_USE_NEW_IOSTREAMS 
00038 #include <iosfwd>
00039 #else /* __STL_USE_NEW_IOSTREAMS */
00040 #include <iostream.h>
00041 #endif /* __STL_USE_NEW_IOSTREAMS */
00042 #else
00043 #include <wce_defs.h>
00044 #endif /* UNDER_CE */
00045 
00046 #ifndef __SGI_STL_INTERNAL_ITERATOR_BASE_H
00047 #include <stl_iterator_base.h>
00048 #endif
00049 #ifndef __SGI_STL_INTERNAL_ITERATOR_H
00050 #include <stl_iterator.h>
00051 #endif
00052 #ifndef __TYPE_TRAITS_H
00053 #include <type_traits.h>
00054 #endif
00055 #ifndef __SGI_STL_INTERNAL_CONSTRUCT_H
00056 #include <stl_construct.h>
00057 #endif
00058 #ifndef __SGI_STL_INTERNAL_RAW_STORAGE_ITERATOR_H
00059 #include <stl_raw_storage_iter.h>
00060 #endif
00061 
00062 #ifdef __STL_USE_NAMESPACES
00063 
00064 // Names from stl_iterator.h
00065 
00066 using __STD::input_iterator_tag;
00067 using __STD::output_iterator_tag;
00068 using __STD::forward_iterator_tag;
00069 using __STD::bidirectional_iterator_tag;
00070 using __STD::random_access_iterator_tag;
00071 
00072 #if 0
00073 using __STD::iterator;
00074 #endif
00075 using __STD::input_iterator;
00076 using __STD::output_iterator;
00077 using __STD::forward_iterator;
00078 using __STD::bidirectional_iterator;
00079 using __STD::random_access_iterator;
00080 
00081 #ifdef __STL_CLASS_PARTIAL_SPECIALIZATION
00082 using __STD::iterator_traits;
00083 #endif
00084 
00085 using __STD::iterator_category;
00086 using __STD::distance_type;
00087 using __STD::value_type;
00088 
00089 using __STD::distance; 
00090 using __STD::advance; 
00091 
00092 using __STD::insert_iterator;
00093 using __STD::front_insert_iterator;
00094 using __STD::back_insert_iterator;
00095 using __STD::inserter;
00096 using __STD::front_inserter;
00097 using __STD::back_inserter;
00098 
00099 using __STD::reverse_iterator;
00100 using __STD::reverse_bidirectional_iterator;
00101 
00102 #ifndef UNDER_CE
00103 using __STD::istream_iterator;
00104 using __STD::ostream_iterator;
00105 #endif
00106 
00107 // Names from stl_construct.h
00108 using __STD::construct;
00109 using __STD::destroy;
00110 
00111 // Names from stl_raw_storage_iter.h
00112 using __STD::raw_storage_iterator;
00113 
00114 #endif /* __STL_USE_NAMESPACES */
00115 
00116 #endif /* __SGI_STL_ITERATOR_H */
00117 
00118 // Local Variables:
00119 // mode:C++
00120 // End:

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