parameters: ( typeName, *args )
return_statement: return getClass(typeName)( *args )
docstring: creates a uno struct or exception given by typeName. The parameter args may
      1) be empty. In this case, you get a default constructed uno structure.
         ( e.g. createUnoStruct( "com.sun.star.uno.Exception" ) )
      2) be a sequence with exactly one element, that contains an instance of typeName.
         In this case, a copy constructed instance of typeName is returned
         ( e.g. createUnoStruct( "com.sun.star.uno.Exception" , e ) )
      3) be a sequence, where the length of the sequence must match the number of
         elements within typeName (e.g.
         createUnoStruct( "com.sun.star.uno.Exception", "foo error" , self) ). The
         elements with in the sequence must match the type of each struct element,
         otherwise an exception is thrown.
docstring_summary: creates a uno struct or exception given by typeName. The parameter args may
      1) be empty. In this case, you get a default constructed uno structure.
         ( e.g. createUnoStruct( "com.sun.star.uno.Exception" ) )
      2) be a sequence with exactly one element, that contains an instance of typeName.
         In this case, a copy constructed instance of typeName is returned
         ( e.g. createUnoStruct( "com.sun.star.uno.Exception" , e ) )
      3) be a sequence, where the length of the sequence must match the number of
         elements within typeName (e.g.
         createUnoStruct( "com.sun.star.uno.Exception", "foo error" , self) ). The
         elements with in the sequence must match the type of each struct element,
         otherwise an exception is thrown.
docstring_tokens: creates a uno struct or exception given by typeName . The parameter args may 1 ) be empty . In this case you get a default constructed uno structure . ( e . g . createUnoStruct ( com . sun . star . uno . Exception ) ) 2 ) be a sequence with exactly one element that contains an instance of typeName . In this case a copy constructed instance of typeName is returned ( e . g . createUnoStruct ( com . sun . star . uno . Exception e ) ) 3 ) be a sequence where the length of the sequence must match the number of elements within typeName ( e . g . createUnoStruct ( com . sun . star . uno . Exception foo error self ) ) . The elements with in the sequence must match the type of each struct element otherwise an exception is thrown .
function: def createUnoStruct( typeName, *args ):
      """creates a uno struct or exception given by typeName. The parameter args may
      1) be empty. In this case, you get a default constructed uno structure.
         ( e.g. createUnoStruct( "com.sun.star.uno.Exception" ) )
      2) be a sequence with exactly one element, that contains an instance of typeName.
         In this case, a copy constructed instance of typeName is returned
         ( e.g. createUnoStruct( "com.sun.star.uno.Exception" , e ) )
      3) be a sequence, where the length of the sequence must match the number of
         elements within typeName (e.g.
         createUnoStruct( "com.sun.star.uno.Exception", "foo error" , self) ). The
         elements with in the sequence must match the type of each struct element,
         otherwise an exception is thrown.
      """
      return getClass(typeName)( *args )
function_tokens: def createUnoStruct ( typeName , * args ) : return getClass ( typeName ) ( * args )