How to use the replication.share.yidl.src.yidl.target.Construct.__init__ function in replication

To help you get started, we’ve selected a few replication examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github xtreemfs / babudb / replication / share / yidl / src / yidl / target.py View on Github external
def __init__( self, scope, qname, local=False, tag=0 ):            
        Construct.__init__( self, scope, qname, tag )
        self.__local = local
        self.__constants = []
github xtreemfs / babudb / replication / share / yidl / src / yidl / target.py View on Github external
def __init__( self, scope, qname, value=None ):
        Construct.__init__( self, scope, qname )
        self.__value = value
github xtreemfs / babudb / replication / share / yidl / src / yidl / target.py View on Github external
def __init__( self ):
        Construct.__init__( self, None, [self.__class__.__name__] )
        self.__builtin_types = []
        self.__includes = []
        self.__modules = []
github xtreemfs / babudb / replication / share / yidl / src / yidl / target.py View on Github external
def __init__( self, scope, file_path, local=True ):
        Construct.__init__( self, scope, [file_path] )        
        self.__local = local
github xtreemfs / babudb / replication / share / yidl / src / yidl / target.py View on Github external
def __init__( self, scope, type, qname, tag=0, default_value=None ):        
        assert isinstance( type, Type )
        Construct.__init__( self, scope, qname, tag )
        self.__type = type
        self.__default_value = default_value
github xtreemfs / babudb / replication / share / yidl / src / yidl / target.py View on Github external
def __init__( self, scope, qname, oneway=False, return_type=None, const=False, tag=0 ):
        if oneway: assert return_type is None
        else: assert return_type is None or isinstance( return_type, Type )        
        assert isinstance( const, bool )
        Construct.__init__( self, scope, qname, tag )
        self.__oneway = oneway
        self.__return_type = return_type
        self.__const = const
        self.__parameters = []