Revision: 1800
http://pygccxml.svn.sourceforge.net/pygccxml/?rev=1800&view=rev
Author: roman_yakovenko
Date: 2010-01-13 11:45:48 +0000 (Wed, 13 Jan 2010)
Log Message:
-----------
add conditional registration of std:pair type
Modified Paths:
--------------
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/__init__.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/algorithms_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_proxy_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_suite_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_traits_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/deque_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_traits_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/int_slice_helper_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_range_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_traits_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/list_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/map_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/methods_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/multimap_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/pair_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/proxy_iterator_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/python_iterator_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/set_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/shared_proxy_impl_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/suite_utils_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/value_traits_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/vector_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/visitor_header.py
pyplusplus_dev/pyplusplus/code_repository/indexing_suite/workaround_header.py
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/__init__.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/__init__.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/__init__.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,91 +1,93 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-code repository for Indexing Suite V2 - std containers wrappers
-"""
-
-all = []
-
-import algorithms_header
-all.append( algorithms_header )
-
-import container_proxy_header
-all.append( container_proxy_header )
-
-import container_suite_header
-all.append( container_suite_header )
-
-import container_traits_header
-all.append( container_traits_header )
-
-import deque_header
-all.append( deque_header )
-
-import element_proxy_header
-all.append( element_proxy_header )
-
-import element_proxy_traits_header
-all.append( element_proxy_traits_header )
-
-import int_slice_helper_header
-all.append( int_slice_helper_header )
-
-import iterator_range_header
-all.append( iterator_range_header )
-
-import iterator_traits_header
-all.append( iterator_traits_header )
-
-import list_header
-all.append( list_header )
-
-import map_header
-all.append( map_header )
-
-import methods_header
-all.append( methods_header )
-
-import multimap_header
-all.append( multimap_header )
-
-import pair_header
-all.append( pair_header )
-
-import proxy_iterator_header
-all.append( proxy_iterator_header )
-
-import python_iterator_header
-all.append( python_iterator_header )
-
-import set_header
-all.append( set_header )
-
-import shared_proxy_impl_header
-all.append( shared_proxy_impl_header )
-
-import slice_header
-all.append( slice_header )
-
-import slice_handler_header
-all.append( slice_handler_header )
-
-import suite_utils_header
-all.append( suite_utils_header )
-
-import value_traits_header
-all.append( value_traits_header )
-
-import vector_header
-all.append( vector_header )
-
-import visitor_header
-all.append( visitor_header )
-
-import workaround_header
-all.append( workaround_header )
-
-headers = map( lambda f: f.file_name, all )
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+code repository for Indexing Suite V2 - std containers wrappers
+"""
+
+all = []
+
+import slice_header
+all.append( slice_header )
+
+import set_header
+all.append( set_header )
+
+import element_proxy_traits_header
+all.append( element_proxy_traits_header )
+
+import python_iterator_header
+all.append( python_iterator_header )
+
+import proxy_iterator_header
+all.append( proxy_iterator_header )
+
+import element_proxy_header
+all.append( element_proxy_header )
+
+import container_suite_header
+all.append( container_suite_header )
+
+import slice_handler_header
+all.append( slice_handler_header )
+
+import workaround_header
+all.append( workaround_header )
+
+import value_traits_header
+all.append( value_traits_header )
+
+import visitor_header
+all.append( visitor_header )
+
+import algorithms_header
+all.append( algorithms_header )
+
+import vector_header
+all.append( vector_header )
+
+import methods_header
+all.append( methods_header )
+
+import deque_header
+all.append( deque_header )
+
+import shared_proxy_impl_header
+all.append( shared_proxy_impl_header )
+
+import iterator_range_header
+all.append( iterator_range_header )
+
+import int_slice_helper_header
+all.append( int_slice_helper_header )
+
+import container_traits_header
+all.append( container_traits_header )
+
+import suite_utils_header
+all.append( suite_utils_header )
+
+import list_header
+all.append( list_header )
+
+import map_header
+all.append( map_header )
+
+import iterator_traits_header
+all.append( iterator_traits_header )
+
+import container_proxy_header
+all.append( container_proxy_header )
+
+import multimap_header
+all.append( multimap_header )
+
+import pair_header
+all.append( pair_header )
+
+import registry_utils_header
+all.append( registry_utils_header )
+
+headers = map( lambda f: f.file_name, all )
\ No newline at end of file
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/algorithms_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/algorithms_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/algorithms_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/algorithms.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/algorithms.hpp"
+
code = """// Header file algorithms.hpp
//
// Uniform interface layer for all containers.
@@ -573,6 +573,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_ALGORITHMS_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_proxy_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_proxy_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_proxy_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/container_proxy.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/container_proxy.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -747,6 +747,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_CONTAINER_PROXY_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_suite_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_suite_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_suite_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/container_suite.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/container_suite.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -63,6 +63,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_CONTAINER_SUITE_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_traits_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_traits_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/container_traits_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/container_traits.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/container_traits.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -169,6 +169,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_CONTAINER_SUITE_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/deque_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/deque_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/deque_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/deque.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/deque.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -70,6 +70,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_DEQUE_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/element_proxy.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/element_proxy.hpp"
+
code = """// Header file element_proxy.hpp
//
// Proxy objects for invidivual elements in a container wrapped by
@@ -197,6 +197,6 @@
}
#endif // BOOST_PYTHON_INDEXING_ELEMENT_PROXY_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_traits_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_traits_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/element_proxy_traits_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/element_proxy_traits.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/element_proxy_traits.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -99,6 +99,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_ELEMENT_PROXY_TRAITS_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/int_slice_helper_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/int_slice_helper_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/int_slice_helper_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/int_slice_helper.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/int_slice_helper.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -261,6 +261,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_INT_SLICE_HELPER_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_range_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_range_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_range_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/iterator_range.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/iterator_range.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -270,6 +270,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_ITERATOR_RANGE_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_traits_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_traits_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/iterator_traits_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/iterator_traits.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/iterator_traits.hpp"
+
code = """// -*- mode:c++ -*-
//
// Header file iterator_traits.hpp
@@ -221,6 +221,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_ITERATOR_TRAITS_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/list_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/list_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/list_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/list.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/list.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -177,6 +177,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_LIST_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/map_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/map_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/map_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/map.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/map.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -248,6 +248,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_MAP_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/methods_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/methods_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/methods_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/methods.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/methods.hpp"
+
code = """// Copyright (c) 2004 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -123,6 +123,6 @@
} } } // boost::python::indexing
#endif // BOOST_PYTHON_INDEXING_METHODS_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/multimap_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/multimap_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/multimap_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/multimap.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/multimap.hpp"
+
code = """// Use, modification and distribution is subject to the Boost Software
// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy
// at http://www.boost.org/LICENSE_1_0.txt)
@@ -213,6 +213,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_MULTIMAP_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/pair_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/pair_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/pair_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/pair.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/pair.hpp"
+
code = """// Header file pair.hpp
//
// Exposes std::pair< key, value > class
@@ -31,6 +31,7 @@
#include <boost/config.hpp>
#include <indexing_suite/container_traits.hpp>
#include <indexing_suite/container_suite.hpp>
+#include <indexing_suite/registry_utils.hpp>
#include <indexing_suite/algorithms.hpp>
#include <boost/detail/workaround.hpp>
@@ -47,11 +48,16 @@
typedef pair_exposer_t< TValueType, TValueCallPolicies > exposer_type;
pair_exposer_t(const std::string& name){
- class_< pair_type >( name.c_str() )
- .def( "__len__", &exposer_type::len )
- .def( "__getitem__", &exposer_type::get_item )
- .add_property( "key", &exposer_type::get_key )
- .add_property( "value", &exposer_type::get_mapped );
+ if( boost::python::registry::utils::is_registered< pair_type >() ){
+ boost::python::registry::utils::register_alias<pair_type>( name.c_str() );
+ }
+ else{
+ class_< pair_type >( name.c_str() )
+ .def( "__len__", &exposer_type::len )
+ .def( "__getitem__", &exposer_type::get_item )
+ .add_property( "key", &exposer_type::get_key )
+ .add_property( "value", &exposer_type::get_mapped );
+ }
}
private:
@@ -108,6 +114,6 @@
} } } }
#endif // BOOST_PYTHON_STD_PAIR_KEY_VALUE_11_02_2007_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/proxy_iterator_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/proxy_iterator_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/proxy_iterator_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/proxy_iterator.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/proxy_iterator.hpp"
+
code = """
// Header file proxy_iterator.hpp
//
@@ -173,6 +173,6 @@
#endif
#endif // BOOST_PYTHON_INDEXING_PROXY_ITERATOR_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/python_iterator_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/python_iterator_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/python_iterator_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/python_iterator.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/python_iterator.hpp"
+
code = """// -*- mode:c++ -*-
//
// Header file python_iterator.hpp
@@ -90,6 +90,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_PYTHON_ITERATOR_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/set_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/set_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/set_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/set.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/set.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -177,6 +177,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_SET_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/shared_proxy_impl_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/shared_proxy_impl_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/shared_proxy_impl_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/shared_proxy_impl.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/shared_proxy_impl.hpp"
+
code = """//
// Header file shared_proxy_impl.hpp
//
@@ -115,6 +115,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_SHARED_PROXY_IMPL_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/slice_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/slice.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/slice.hpp"
+
code = """// Header file slice.hpp
//
// Copyright (c) 2003 Raoul M. Gough
@@ -152,6 +152,6 @@
}}}
#endif // BOOST_PYTHON_INDEXING_SLICE_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/suite_utils_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/suite_utils_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/suite_utils_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/suite_utils.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/suite_utils.hpp"
+
code = """// Header file suite_utils.hpp
//
// Shared utilities for the indexing suite.
@@ -120,6 +120,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_SUITE_UTILS_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/value_traits_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/value_traits_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/value_traits_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/value_traits.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/value_traits.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -94,6 +94,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_VALUE_TRAITS_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/vector_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/vector_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/vector_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/vector.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/vector.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -70,6 +70,6 @@
} } }
#endif // BOOST_PYTHON_INDEXING_VECTOR_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/visitor_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/visitor_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/visitor_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/visitor.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/visitor.hpp"
+
code = """// Copyright (c) 2003 Raoul M. Gough
//
// Use, modification and distribution is subject to the Boost Software
@@ -281,6 +281,6 @@
#undef OPTIONAL_ALGO_SUPPORT
#endif // BOOST_PYTHON_INDEXING_VISITOR_HPP
-
-
-"""
+
+
+"""
Modified: pyplusplus_dev/pyplusplus/code_repository/indexing_suite/workaround_header.py
===================================================================
--- pyplusplus_dev/pyplusplus/code_repository/indexing_suite/workaround_header.py 2010-01-13 11:43:23 UTC (rev 1799)
+++ pyplusplus_dev/pyplusplus/code_repository/indexing_suite/workaround_header.py 2010-01-13 11:45:48 UTC (rev 1800)
@@ -1,14 +1,14 @@
-# Copyright 2004-2008 Roman Yakovenko.
-# Distributed under the Boost Software License, Version 1.0. (See
-# accompanying file LICENSE_1_0.txt or copy at
-# http://www.boost.org/LICENSE_1_0.txt)
-
-"""
-This file contains indexing suite v2 code
-"""
-
-file_name = "indexing_suite/workaround.hpp"
-
+# Copyright 2004-2008 Roman Yakovenko.
+# Distributed under the Boost Software License, Version 1.0. (See
+# accompanying file LICENSE_1_0.txt or copy at
+# http://www.boost.org/LICENSE_1_0.txt)
+
+"""
+This file contains indexing suite v2 code
+"""
+
+file_name = "indexing_suite/workaround.hpp"
+
code = """// Header file workaround.hpp
//
// Indexing-specific workarounds for compiler problems.
@@ -56,6 +56,6 @@
# endif
#endif // BOOST_PYTHON_INDEXING_WORKAROUND_HPP
-
-
-"""
+
+
+"""
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|