3D-ICE 3.0.0
Functions
layout_file_parser.h File Reference
#include "types.h"
#include "string_t.h"
#include "layer.h"
#include "material_list.h"
#include "dimensions.h"

Go to the source code of this file.

Functions

Error_t parse_layout_file (String_t filename, Layer_t *layer, MaterialList_t *materials, Dimensions_t *dimensions)
 

Function Documentation

◆ parse_layout_file()

Error_t parse_layout_file ( String_t  filename,
Layer_t layer,
MaterialList_t *  materials,
Dimensions_t dimensions 
)

Fills the material layout structure with the content taken from a layout file

Parameters
filenamepath to the floorplan file to parse
layeraddress of the layer structure to fill
materialsthe list of materials already known
dimensionspointer to the structure storing the dimensions of the stack where the layout is used
Returns
TDICE_FAILURE if the file cannot be opened or if the parsing of the layout fails
TDICE_FAILURE otherwise

Definition at line 58 of file layout_file_parser.c.