Retrieve the contents of an element of the Interface Repository.
Usage
getIRContainerContents(name=NULL, repository=NULL)
Arguments
name
|
~~Describe name here~~
|
repository
|
~~Describe repository here~~
|
Description
~~ A concise (1-5 lines) description of what the function does. ~~Details
~~ If necessary, more details than the __description__ above ~~Value
~Describe the value returned
If it is a LIST, use
comp1
|
Description of `comp1'
|
comp2
|
Description of `comp2'
|
...Author(s)
Duncan Temple LangReferences
~put references to the literature/web site here ~See Also
idlType, idlInterface,
namedCorbaObject, ior, .CorbaExamples
##---- 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 (name = NULL, repository = NULL)
{
name <- as.character(name)
if (length(name) == 1 && name == "")
name <- character(0)
l <- .Call("RS_getIRContainerContents", name, as.character(repository))
if (length(l) == 0)
return(NULL)
l <- lapply(l, function(x) {
names(x[[2]]) <- x[[3]]
list(x[[1]], x[[2]])
})
names(l) <- as.character(sapply(l, function(x) x[[1]]))
return(l)
}