You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 16 Current »

Quote of the day

"You’re a man looking at the world through a keyhole,
and you’ve spent your whole life trying to widen that keyhole, to see more, to know more,
and now, on hearing that it can be widened, in ways you can’t imagine you reject the possibility."

The Ancient One - Doctor Strange

code parameters allow to store varaibles and parameters outside of actor code in elegant way.

The IMAS environment has specially dedicated Fortran library - XMLLIB to handle it.

1. XMLLIB library basics

1.1. The main idea of the library

1.2. Short description of XMLLIB API - main points

xml2eg_parse_memory(parameters , xml2eg_document)

This function allows you to read to memory the entire xml file containing the list of parameters.
Parse the "codeparam_string". This means that the data is put into a xml2eg_document.

xml2eg_get(xml2eg_document, path, output_value)

The function allows reading the parameter that is in the path location inside xml file.
Data is extracted from the xml2eg_document file is the output_value variable.

xml2eg_free_doc(xml2eg_document)

Cleaning and freeing allocated memory of xml2eg_document object.


A more detailed description of the XMLLIB library can be found here


  • No labels