Rosetta
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
dumper.py
Go to the documentation of this file.
1 # (c) Copyright Rosetta Commons Member Institutions.
2 # (c) This file is part of the Rosetta software suite and is made available under license.
3 # (c) The Rosetta software is developed by the contributing members of the Rosetta Commons.
4 # (c) For more information, see http://www.rosettacommons.org. Questions about this can be
5 # (c) addressed to University of Washington UW TechTransfer, email: license@u.washington.edu.
6 
7 __all__ = ['BaseDumper', 'SafeDumper', 'Dumper']
8 
9 from emitter import *
10 from serializer import *
11 from representer import *
12 from resolver import *
13 
15 
16  def __init__(self, stream,
17  default_style=None, default_flow_style=None,
18  canonical=None, indent=None, width=None,
19  allow_unicode=None, line_break=None,
20  encoding=None, explicit_start=None, explicit_end=None,
21  version=None, tags=None):
22  Emitter.__init__(self, stream, canonical=canonical,
23  indent=indent, width=width,
24  allow_uncode=allow_unicode, line_break=line_break)
25  Serializer.__init__(self, encoding=encoding,
26  explicit_start=explicit_start, explicit_end=explicit_end,
27  version=version, tags=tags)
28  Representer.__init__(self, default_style=default_style,
29  default_flow_style=default_flow_style)
30  Resolver.__init__(self)
31 
33 
34  def __init__(self, stream,
35  default_style=None, default_flow_style=None,
36  canonical=None, indent=None, width=None,
37  allow_unicode=None, line_break=None,
38  encoding=None, explicit_start=None, explicit_end=None,
39  version=None, tags=None):
40  Emitter.__init__(self, stream, canonical=canonical,
41  indent=indent, width=width,
42  allow_unicode=allow_unicode, line_break=line_break)
43  Serializer.__init__(self, encoding=encoding,
44  explicit_start=explicit_start, explicit_end=explicit_end,
45  version=version, tags=tags)
46  SafeRepresenter.__init__(self, default_style=default_style,
47  default_flow_style=default_flow_style)
48  Resolver.__init__(self)
49 
51 
52  def __init__(self, stream,
53  default_style=None, default_flow_style=None,
54  canonical=None, indent=None, width=None,
55  allow_unicode=None, line_break=None,
56  encoding=None, explicit_start=None, explicit_end=None,
57  version=None, tags=None):
58  Emitter.__init__(self, stream, canonical=canonical,
59  indent=indent, width=width,
60  allow_unicode=allow_unicode, line_break=line_break)
61  Serializer.__init__(self, encoding=encoding,
62  explicit_start=explicit_start, explicit_end=explicit_end,
63  version=version, tags=tags)
64  Representer.__init__(self, default_style=default_style,
65  default_flow_style=default_flow_style)
66  Resolver.__init__(self)
67