Package pyplusplus :: Package decl_wrappers :: Module namespace_wrapper

# Source Code for Module pyplusplus.decl_wrappers.namespace_wrapper

     1  # Copyright 2004-2008 Roman Yakovenko.
     2  # Distributed under the Boost Software License, Version 1.0. (See
     3  # accompanying file LICENSE_1_0.txt or copy at
     4  # http://www.boost.org/LICENSE_1_0.txt)
     5
     6  """defines class that configure namespace exposing."""
     7
     8  import scopedef_wrapper
     9  from pygccxml import declarations
    10
    11 -class namespace_t(scopedef_wrapper.scopedef_t, declarations.namespace_t):
    12      """defines a set of properties, that will instruct Py++ how to expose the namespace
    13
    14      Today, Py++ does not exposes namespaces, but this could be changed in future.
    15      The future direction I see here, is to expose every namespace as sub-module
    16      of the main one.
    17      """
    18 -    def __init__(self, *arguments, **keywords):
    19          scopedef_wrapper.scopedef_t.__init__( self )
    20          declarations.namespace_t.__init__(self, *arguments, **keywords )
    21