mkRPG
 All Classes Namespaces Functions
Functions | Variables
parsing::images_parser Namespace Reference

Functions

def parse_image
def parse_file_image
def parse_multiple_files

Variables

tuple Image = namedtuple("Image", "ascii image")

Detailed Description

This file handles the parsing of xml files in order to find all paths.
In other xml files, images are identified by a number, which is bound
in xml files.

Function Documentation

def parsing.images_parser.parse_file_image (   image_file,
  dir_path 
)
Parses an images file.
def parsing.images_parser.parse_image (   image_tag,
  dir_path 
)
Parses an image tag.
def parsing.images_parser.parse_multiple_files (   dir_path,
  images_files 
)
Parses multiple files. Broadly speaking, it parses sequentially all
files, and concatenates all answers.
The dir path is used to allow acces to the images back in the client context.
 All Classes Namespaces Functions