Package pyplusplus :: Package code_creators :: Module scoped

# Source Code for Module pyplusplus.code_creators.scoped

     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  import os
     7  import compound
     8  import declaration_based
     9
    10 -class scoped_t(declaration_based.declaration_based_t, compound.compound_t):
    11 -    def __init__( self, declaration ):
    12          declaration_based.declaration_based_t.__init__( self, declaration=declaration)
    13          compound.compound_t.__init__( self )
    14
    15 -    def _create_impl(self):
    16          #template method pattern should be used.
    17          raise NotImplementedError()
    18