home *** CD-ROM | disk | FTP | other *** search
/ Programmer Plus 2007 / Programmer-Plus-2007.iso / Programming / Compilers / digital marsC compier / dm / stl / iterator.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-08  |  2.9 KB  |  114 lines

  1. /*
  2.  *
  3.  * Copyright (c) 1994
  4.  * Hewlett-Packard Company
  5.  *
  6.  * Permission to use, copy, modify, distribute and sell this software
  7.  * and its documentation for any purpose is hereby granted without fee,
  8.  * provided that the above copyright notice appear in all copies and
  9.  * that both that copyright notice and this permission notice appear
  10.  * in supporting documentation.  Hewlett-Packard Company makes no
  11.  * representations about the suitability of this software for any
  12.  * purpose.  It is provided "as is" without express or implied warranty.
  13.  *
  14.  *
  15.  * Copyright (c) 1996
  16.  * Silicon Graphics Computer Systems, Inc.
  17.  *
  18.  * Permission to use, copy, modify, distribute and sell this software
  19.  * and its documentation for any purpose is hereby granted without fee,
  20.  * provided that the above copyright notice appear in all copies and
  21.  * that both that copyright notice and this permission notice appear
  22.  * in supporting documentation.  Silicon Graphics makes no
  23.  * representations about the suitability of this software for any
  24.  * purpose.  It is provided "as is" without express or implied warranty.
  25.  */
  26.  
  27. #ifndef __SGI_STL_ITERATOR_H
  28. #define __SGI_STL_ITERATOR_H
  29.  
  30. #ifndef __SGI_STL_FUNCTION_H
  31. #include <function.h>
  32. #endif
  33. #include <stddef.h>
  34.  
  35. #ifdef __STL_USE_NEW_IOSTREAMS 
  36. #include <iosfwd>
  37. #else /* __STL_USE_NEW_IOSTREAMS */
  38. #include <iostream.h>
  39. #endif /* __STL_USE_NEW_IOSTREAMS */
  40.  
  41. #ifndef __SGI_STL_INTERNAL_ITERATOR_BASE_H
  42. #include <stl_iterator_base.h>
  43. #endif
  44. #ifndef __SGI_STL_INTERNAL_ITERATOR_H
  45. #include <stl_iterator.h>
  46. #endif
  47. #ifndef __TYPE_TRAITS_H
  48. #include <type_traits.h>
  49. #endif
  50. #ifndef __SGI_STL_INTERNAL_CONSTRUCT_H
  51. #include <stl_construct.h>
  52. #endif
  53. #ifndef __SGI_STL_INTERNAL_RAW_STORAGE_ITERATOR_H
  54. #include <stl_raw_storage_iter.h>
  55. #endif
  56.  
  57. #ifdef __STL_USE_NAMESPACES
  58.  
  59. // Names from stl_iterator.h
  60.  
  61. using __STD::input_iterator_tag;
  62. using __STD::output_iterator_tag;
  63. using __STD::forward_iterator_tag;
  64. using __STD::bidirectional_iterator_tag;
  65. using __STD::random_access_iterator_tag;
  66.  
  67. #if 0
  68. using __STD::iterator;
  69. #endif
  70. using __STD::input_iterator;
  71. using __STD::output_iterator;
  72. using __STD::forward_iterator;
  73. using __STD::bidirectional_iterator;
  74. using __STD::random_access_iterator;
  75.  
  76. #ifdef __STL_CLASS_PARTIAL_SPECIALIZATION
  77. using __STD::iterator_traits;
  78. #endif
  79.  
  80. using __STD::iterator_category;
  81. using __STD::distance_type;
  82. using __STD::value_type;
  83.  
  84. using __STD::distance; 
  85. using __STD::advance; 
  86.  
  87. using __STD::insert_iterator;
  88. using __STD::front_insert_iterator;
  89. using __STD::back_insert_iterator;
  90. using __STD::inserter;
  91. using __STD::front_inserter;
  92. using __STD::back_inserter;
  93.  
  94. using __STD::reverse_iterator;
  95. using __STD::reverse_bidirectional_iterator;
  96.  
  97. using __STD::istream_iterator;
  98. using __STD::ostream_iterator;
  99.  
  100. // Names from stl_construct.h
  101. using __STD::construct;
  102. using __STD::destroy;
  103.  
  104. // Names from stl_raw_storage_iter.h
  105. using __STD::raw_storage_iterator;
  106.  
  107. #endif /* __STL_USE_NAMESPACES */
  108.  
  109. #endif /* __SGI_STL_ITERATOR_H */
  110.  
  111. // Local Variables:
  112. // mode:C++
  113. // End:
  114.