<?xml version="1.0" encoding="UTF-8"?>
<!--
 * Scilab ( https://www.scilab.org/ ) - This file is part of Scilab
 * Copyright (C) DIGITEO - Pierre MARECHAL <pierre.marechal@scilab.org>
 *
 * Copyright (C) 2012 - 2016 - Scilab Enterprises
 *
 * This file is hereby licensed under the terms of the GNU GPL v2.0,
 * pursuant to article 5.3.4 of the CeCILL v.2.1.
 * This file was originally licensed under the terms of the CeCILL v2.1,
 * and continues to be available under such terms.
 * For more information, see the COPYING file which you should have received
 * along with this program.
 *
 -->
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink"
          xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns4="http://www.w3.org/1999/xhtml"
          xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook"
          xmlns:scilab="http://www.scilab.org" xml:id="atomsGetLoaded" xml:lang="en">
    <refnamediv>
        <refname>atomsGetLoaded</refname>
        <refpurpose>Get the list of loaded external modules</refpurpose>
    </refnamediv>
    <!-- ===================================================================== -->
    <!-- Syntax -->
    <!-- ===================================================================== -->
    <refsynopsisdiv>
        <title>Syntax</title>
        <synopsis>
            loaded = atomsGetLoaded()
        </synopsis>
    </refsynopsisdiv>
    <!-- ===================================================================== -->
    <!-- Parameters -->
    <!-- ===================================================================== -->
    <refsection>
        <title>Arguments</title>
        <variablelist>
            <varlistentry>
                <term>loaded</term>
                <listitem>
                    <para>mx5 String matrix :</para>
                    <itemizedlist>
                        <listitem>
                            <para>
                                <literal>1st column</literal> : External module's technical name
                            </para>
                        </listitem>
                        <listitem>
                            <para>
                                <literal>2nd column</literal> : External module's version
                            </para>
                        </listitem>
                        <listitem>
                            <para>
                                <literal>3rd column</literal> : allusers/user, this parameter tell if
                                the external module has been installed for all users or only for the
                                current user.
                            </para>
                        </listitem>
                        <listitem>
                            <para>
                                <literal>4th column</literal> : External module's installation path
                            </para>
                        </listitem>
                        <listitem>
                            <para>
                                <literal>5th column</literal> : I/A, this parameter tell if
                                the external module has been automatically or intentionally installed.
                            </para>
                        </listitem>
                    </itemizedlist>
                </listitem>
            </varlistentry>
        </variablelist>
    </refsection>
    <!-- ===================================================================== -->
    <!-- Description -->
    <!-- ===================================================================== -->
    <refsection>
        <title>Description</title>
        <para>
            <literal>atomsGetLoaded</literal> returns the list of loaded external modules
        </para>
    </refsection>
    <!-- ===================================================================== -->
    <!-- Examples -->
    <!-- ===================================================================== -->
    <refsection>
        <title>Examples</title>
        <programlisting role="example"><![CDATA[
atomsSetConfig("Verbose","True");
atomsRepositoryAdd("https://scene1.test.atoms.scilab.org");
atomsInstall("toolbox_5");
atomsLoad("toolbox_5");

atomsGetLoaded("toolbox_5");

atomsRemove("toolbox_5");
 ]]></programlisting>
    </refsection>
    <!-- ===================================================================== -->
    <!-- See also -->
    <!-- ===================================================================== -->
    <refsection role="see also">
        <title>See also</title>
        <simplelist type="inline">
            <member>
                <link linkend="atomsLoad">atomsLoad</link>
            </member>
            <member>
                <link linkend="atomsIsLoaded">atomsIsLoaded</link>
            </member>
        </simplelist>
    </refsection>
    <!-- ===================================================================== -->
    <!-- Authors -->
    <!-- ===================================================================== -->
</refentry>
