source: sicp/apis/chains/sigesic_graph_builder.py @ e0af275

Last change on this file since e0af275 was e0af275, checked in by Ing. Roldan D. Vargas G <rvargas@…>, 9 years ago

se agrega api de cadena para construir las cadenas productivas

  • Property mode set to 100644
File size: 2.3 KB
Line 
1# This file was automatically generated by SWIG (http://www.swig.org).
2# Version 1.3.40
3#
4# Do not make changes to this file unless you know what you are doing--modify
5# the SWIG interface file instead.
6# This file is compatible with both classic and new-style classes.
7
8from sys import version_info
9if version_info >= (2,6,0):
10    def swig_import_helper():
11        from os.path import dirname
12        import imp
13        fp = None
14        try:
15            fp, pathname, description = imp.find_module('_sigesic_graph_builder', [dirname(__file__)])
16        except ImportError:
17            import _sigesic_graph_builder
18            return _sigesic_graph_builder
19        if fp is not None:
20            try:
21                _mod = imp.load_module('_sigesic_graph_builder', fp, pathname, description)
22            finally:
23                fp.close()
24            return _mod
25    _sigesic_graph_builder = swig_import_helper()
26    del swig_import_helper
27else:
28    import _sigesic_graph_builder
29del version_info
30try:
31    _swig_property = property
32except NameError:
33    pass # Python < 2.2 doesn't have 'property'.
34def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
35    if (name == "thisown"): return self.this.own(value)
36    if (name == "this"):
37        if type(value).__name__ == 'SwigPyObject':
38            self.__dict__[name] = value
39            return
40    method = class_type.__swig_setmethods__.get(name,None)
41    if method: return method(self,value)
42    if (not static) or hasattr(self,name):
43        self.__dict__[name] = value
44    else:
45        raise AttributeError("You cannot add attributes to %s" % self)
46
47def _swig_setattr(self,class_type,name,value):
48    return _swig_setattr_nondynamic(self,class_type,name,value,0)
49
50def _swig_getattr(self,class_type,name):
51    if (name == "thisown"): return self.this.own()
52    method = class_type.__swig_getmethods__.get(name,None)
53    if method: return method(self)
54    raise AttributeError(name)
55
56def _swig_repr(self):
57    try: strthis = "proxy of " + self.this.__repr__()
58    except: strthis = ""
59    return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
60
61try:
62    _object = object
63    _newclass = 1
64except AttributeError:
65    class _object : pass
66    _newclass = 0
67
68
69
70def build_graph(*args):
71  return _sigesic_graph_builder.build_graph(*args)
72build_graph = _sigesic_graph_builder.build_graph
73
74
Note: See TracBrowser for help on using the repository browser.