|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Class to parse YAML strings. More...
Public Member Functions | |
| def | __init__ (self, emptyValue=None) |
| Method to initialize a CMLParserYAML object. More... | |
| def | parsef (self, fp) |
| Parse a YAML file. More... | |
| def | parses (self, string) |
| Parse a YAML string. More... | |
| def | parsel (self, lines) |
| Parse a YAML strings. More... | |
Public Member Functions inherited from carputils.cml.cmlparser.CMLParser | |
| def | __init__ (self) |
| def | parsef (self, fp) |
| Parse a file. More... | |
| def | parses (self, string) |
| Parse a string. More... | |
| def | parsel (self, lines) |
| Parse lines. More... | |
Class to parse YAML strings.
| def carputils.cml.cmlparser.CMLParserYAML.__init__ | ( | self, | |
emptyValue = None |
|||
| ) |
Method to initialize a CMLParserYAML object.
| empty_value | default value for empty nodes |
| def carputils.cml.cmlparser.CMLParserYAML.parsef | ( | self, | |
| fp | |||
| ) |
Parse a YAML file.
| fp | File pointer to the YAML file to be parsed |
| AttributeError |
| def carputils.cml.cmlparser.CMLParserYAML.parsel | ( | self, | |
| lines | |||
| ) |
Parse a YAML strings.
| lines | YAML lines to be parsed |
| AttributeError |
| def carputils.cml.cmlparser.CMLParserYAML.parses | ( | self, | |
| string | |||
| ) |
Parse a YAML string.
| string | YAML string to be parsed |
| AttributeError |
1.8.13