From 21716f5a20751ee46b83fb91ed9dfba7a967d45a Mon Sep 17 00:00:00 2001 From: Frank Baker Date: Thu, 17 Apr 2003 15:57:43 -0500 Subject: [svn-r6702] Purpose: Add new function Description: Added H5Iget_name. Platforms tested: Safari, IE 5 --- doc/html/RM_H5I.html | 47 ++++++++++++++++++++++++++++++++++++++++++++--- 1 file changed, 44 insertions(+), 3 deletions(-) diff --git a/doc/html/RM_H5I.html b/doc/html/RM_H5I.html index e311387..74005a1 100644 --- a/doc/html/RM_H5I.html +++ b/doc/html/RM_H5I.html @@ -48,7 +48,8 @@ And in this document, the

Identifier API Functions

-This function provides a tool for working with object identifiers. +These functions provides tools for working with object identifiers and +object names.

@@ -166,7 +167,47 @@ facilitate moving easily between them. char *name, size_t size ) - +

Purpose:
+
Retrieves a name of an object based on the object identifier. +
Description: +
H5Iget_name retrieves a name for the object identified + by obj_id. +

+ Up to size characters of the name are returned in + name; additional characters, if any, are not returned + to the user application. +

+ If the length of the name, which determines the required + value of size, is unknown, a preliminary + H5Iget_name call can be made. + The return value of this call will be the size of the + object name. + That value can then be assigned to size + for a second H5Iget_name call, + which will retrieve the actual name. +

+ If there is no name associated with the object identifier + or if the name is NULL, H5Iget_name + returns 0 (zero). +

+ Note that an object in an HDF5 file may have multiple names, + varying according to the path through the HDF5 group + hierarchy used to reach that object. +

Parameters: +
+
hid_t obj_id +
IN: Identifier of the object. + This identifier can refer to a group, dataset, or + named datatype. +
char *name +
OUT: A name associated with the identifier. +
size_t size +
IN: The size of the name buffer. +
+
Returns: +
Returns the length of the name if successful, + returning 0 (zero) if no name is associated with the identifier. + Otherwise returns a negative value.
Non-C API(s):
@@ -217,7 +258,7 @@ And in this document, the Describes HDF5 Release 1.5, Unreleased Development Branch -Last modified: 4 April 2003 +Last modified: 17 April 2003 -- cgit v0.12