|
carputils
Doxygen code documentation for the python framework controlling openCARP
|
Namespaces | |
| cmlconverter | |
| cmlparser | |
| cmltree | |
Functions | |
| def | load_as_dict (fp, parser=YAMLParser) |
| Parse data from a text file. More... | |
| def | loads_as_dict (string, parser=YAMLParser) |
| Parse data from a string. More... | |
| def | load_as_dict_flat (fp, parser=YAMLParser) |
| Parse data from a text file. More... | |
| def | loads_as_dict_flat (string, parser=YAMLParser) |
| Parse data from a string. More... | |
| def | load_as_object (fp, parser=YAMLParser) |
| Parse data from a text file. More... | |
| def | loads_as_object (string, parser=YAMLParser) |
| Parse data from a string. More... | |
Variables | |
| YAMLParser = CMLParserYAML(emptyValue='') | |
| Default YAML parser. More... | |
| def | load = load_as_dict |
| Default method to parse data from a file. More... | |
| def | loads = loads_as_dict |
| Default method to parse data from a string. More... | |
| def carputils.cml.load_as_dict | ( | fp, | |
parser = YAMLParser |
|||
| ) |
Parse data from a text file.
| fp | File pointer to the text file to be parsed |
| parser | Parser to use, must be an instance of cmlparser.CMLParser |
| def carputils.cml.load_as_dict_flat | ( | fp, | |
parser = YAMLParser |
|||
| ) |
Parse data from a text file.
| fp | File pointer to the text file to be parsed |
| parser | Parser to use, must be an instance of cmlparser.CMLParser |
| def carputils.cml.load_as_object | ( | fp, | |
parser = YAMLParser |
|||
| ) |
Parse data from a text file.
| fp | File pointer to the text file to be parsed |
| parser | Parser to use, must be an instance of cmlparser.CMLParser |
| def carputils.cml.loads_as_dict | ( | string, | |
parser = YAMLParser |
|||
| ) |
Parse data from a string.
| string | String to be parsed |
| parser | Parser to use, must be an instance of cmlparser.CMLParser |
| def carputils.cml.loads_as_dict_flat | ( | string, | |
parser = YAMLParser |
|||
| ) |
Parse data from a string.
| string | String to be parsed |
| parser | Parser to use, must be an instance of cmlparser.CMLParser |
| def carputils.cml.loads_as_object | ( | string, | |
parser = YAMLParser |
|||
| ) |
Parse data from a string.
| string | String to be parsed |
| parser | Parser to use, must be an instance of cmlparser.CMLParser |
| def carputils.cml.load = load_as_dict |
Default method to parse data from a file.
| def carputils.cml.loads = loads_as_dict |
Default method to parse data from a string.
| carputils.cml.YAMLParser = CMLParserYAML(emptyValue='') |
Default YAML parser.
1.8.13