Un-register a converter between R and CORBA/IDL object for a given IDL type.

Usage

removeCorbaConverter(idlName, toCorba=T)

Arguments

idlName string identifying the IDL type with which the converter was previously registered.
toCorba logical indicating whether the converter is from R to CORBA (TRUE) or the opposite direction (FALSE)

Description

This function is the reciprocal of addCorbaConverter and arranges to remove the registered routine or function name from the internal list of object converters which are used when converting objects between R and CORBA. This conversion happens when objects are passed as arguments to CORBA calls and return values from CORBA servers implemented in R.

Details

The lists of converters are stored internally, but can be retrieved and restored using the getCorbaConverters and addCorbaConverter.

Value

Returns the value of the element in the converter list for the specified IDL type. This allows one to restore this at a later stage. The value is a list containing two elements - symbols which is a named character vector contain the name of the C/C++ routine or R function, and types, which is a named integer vector indicating the type the corresponding symbols element: an interpreted function or native routine. The names of each of these vectors are the IDL type.

Author(s)

Duncan Temple Lang

References

http://www.omegahat.org/CORBA

See Also

addCorbaConverter, getCorbaConverters

Examples

##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	     or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (idlName, toCorba = T) 
{
    idlName <- as.character(idlName)
    l <- .C("RS_removeCorbaConverter", names = idlName, types = length(idlName), 
        as.logical(toCorba))
    names(l$types) <- l$names
    return(l$types)
  }


[Package Contents]