3D-ICE 3.0.0
|
#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) |
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
filename | path to the floorplan file to parse |
layer | address of the layer structure to fill |
materials | the list of materials already known |
dimensions | pointer to the structure storing the dimensions of the stack where the layout is used |
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.