$return_value = $obj->[GetContainerMembers](
This method returns a list of objects inside one or more containers. For a device container, the list may contain devices and/or other (nested) containers. For a test container, the list will contain tests and the device/department of those tests. The GetResultRef
method should be used to access the data. Since a single container will most likely have multiple members, the parameters will be returned in an array, as in the following example:
$result_ref = $obj->[GetResultRef]();
foreach $serial_num (keys %{ $result_ref }) {
$num_members = scalar(@{ $result_ref->{$serial_num}->{membername} })
foreach $this_member (0 .. ($num_members - 1)) {
foreach $object_param (keys %{ $result_ref->{$serial_num} }) {
$param_value = $result_ref->{$serial_num}->{$object_param}[];
}
}
}