salome_initial=1
def salome_init(theStudyId=0,embedded=0):
"""
- Performs only once SALOME general purpose intialisation for scripts.
+ Performs only once SALOME general purpose initialisation for scripts.
optional argument : theStudyId
When in embedded interpreter inside IAPP, theStudyId is not used
When used without GUI (external interpreter)
//----------------------------------------------------------------------
// Function : SALOME_ModuleCatalog_AcomponentImpl
// Purpose : Constructor
-// Affect the component name, type,icone, a bool to define
-// if it's multistudy or not.
+// Affect the component name, type, icon, and bool to define
+// if it's multi-study or not.
// Affect too the constraint and the interfaces of the component
-// and the pathes prefixes for all computers
+// and the path prefixes for all computers
//----------------------------------------------------------------------
SALOME_ModuleCatalog_AcomponentImpl::SALOME_ModuleCatalog_AcomponentImpl
(SALOME_ModuleCatalog::ComponentDef &C) : _Component(C)
if (strcmp(interfacename, _Component.interfaces[ind].interfacename) == 0)
{
// wanted interface
- // looking for the defautl service of the wanted interface
+ // looking for the default service of the wanted interface
for (unsigned int ind1 = 0; ind1 < _Component.interfaces[ind].interfaceservicelist.length() ; ind1++)
{
if (_Component.interfaces[ind].interfaceservicelist[ind1].Servicebydefault)
//! method to create the path prefix structures from the catalog parsing
/*!
- \param pathes ParserPathPrefixes arguments
- \return the pathes
+ \param paths ParserPathPrefixes arguments
+ \return the paths
*/
void duplicate(ParserPathPrefixes & p_out, const ParserPathPrefixes & P_in);
// ============================================================================
/*!
* In a separate thread, loop to print traces.
- * Mutex guarantees intialisation on instance method is done and only one run
+ * Mutex guarantees initialisation on instance method is done and only one run
* allowed (double check ...)
* Loop until there is no more buffer to print,
* and no ask for end from destructor.
// ============================================================================
/*!
* In a separate thread, loop to print traces.
- * Mutex guarantees intialisation on instance method is done and only one run
+ * Mutex guarantees initialisation on instance method is done and only one run
* allowed (double check ...)
* Loop until there is no more buffer to print,
* and no ask for end from destructor.
// ============================================================================
/*!
* In a separate thread, loop to print traces.
- * Mutex guarantees intialisation on instance method is done and only one run
+ * Mutex guarantees initialisation on instance method is done and only one run
* allowed (double check ...)
* Loop until there is no more buffer to print,
* and no ask for end from destructor.