From df3d10c14d7f15980bb762e84bf4a23bca4984e9 Mon Sep 17 00:00:00 2001 From: caremoli Date: Mon, 29 Mar 2010 15:22:39 +0000 Subject: [PATCH] CCAR: add comment for add_type function --- module_generator/yacstypes.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/module_generator/yacstypes.py b/module_generator/yacstypes.py index cef9507..fc2f01a 100644 --- a/module_generator/yacstypes.py +++ b/module_generator/yacstypes.py @@ -32,6 +32,19 @@ ValidTypes = corbaTypes.keys() PyValidTypes = ValidTypes+["pyobj"] def add_type(typename, corbaType, corbaOutType, module, idltype): + """ add a data type YACS from other module than KERNEL to the list of available types + + :param typename: YACS data type name + :type typename: string + :param corbaType: representation for C++ CORBA in parameter + :type corbaType: string + :param corbaOutType: representation for C++ CORBA out parameter + :type corbaOutType: string + :param module: name of the module that defines the data type (GEOM for GEOM_Object) + :type module: string + :param idltype: representation for CORBA idl + :type idltype: string + """ corbaTypes[typename] = corbaType corbaOutTypes[typename] = corbaOutType moduleTypes[typename] = module -- 2.39.2