|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectncsa.hdf.hdf5lib.HDF5GroupInfo
public class HDF5GroupInfo
This class is a container for the information reported about an HDF5 Object from the H5Gget_obj_info() method.
The fileno and objno fields contain four values which uniquely identify an object among those HDF5 files which are open: if all four values are the same between two objects, then the two objects are the same (provided both files are still open). The nlink field is the number of hard links to the object or zero when information is being returned about a symbolic link (symbolic links do not have hard links but all other objects always have at least one). The type field contains the type of the object, one of H5G_GROUP, H5G_DATASET, or H5G_LINK. The mtime field contains the modification time. If information is being returned about a symbolic link then linklen will be the length of the link value (the name of the pointed-to object with the null terminator); otherwise linklen will be zero. Other fields may be added to this structure in the future.
For details of the HDF5 libraries, see the HDF5 Documentation at: http://hdf.ncsa.uiuc.edu/HDF5/doc/
Constructor Summary | |
---|---|
HDF5GroupInfo()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
The fileno and objno fields contain four values which uniquely identify an object among those HDF5 files. |
long[] |
getFileno()
|
int |
getLinklen()
|
long |
getMtime()
|
int |
getNlink()
|
long[] |
getObjno()
|
long |
getOID()
Returns the object id. |
int |
getType()
|
void |
reset()
Resets all the group information to defaults. |
void |
setGroupInfo(long[] fn,
long[] on,
int nl,
int t,
long mt,
int len)
Sets the HDF5 group information. |
java.lang.String |
toString()
/** Converts this object to a String representation. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public HDF5GroupInfo()
Method Detail |
---|
public void setGroupInfo(long[] fn, long[] on, int nl, int t, long mt, int len)
fn
- File id numberon
- Object id numbernl
- Number of linkst
- Type of the objectmt
- Modification timelen
- Length of linkpublic void reset()
public long[] getFileno()
public long[] getObjno()
public int getType()
public int getNlink()
public long getMtime()
public int getLinklen()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public long getOID()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |