Logo Search packages:      
Sourcecode: jhdf version File versions  Download package

ncsa::hdf::object::h5::H5ScalarDS Class Reference

Inheritance diagram for ncsa::hdf::object::h5::H5ScalarDS:

ncsa::hdf::object::ScalarDS ncsa::hdf::object::Dataset ncsa::hdf::object::HObject ncsa::hdf::object::DataFormat

List of all members.

Detailed Description

H5ScalarDS describes a multi-dimension array of HDF5 scalar or atomic data types, such as byte, int, short, long, float, double and string, and operations performed on the scalar dataset.

The library predefines a modest number of datatypes. For details, read The Datatype Interface (H5T).

1.1 9/4/2007
Peter X. Cao

Definition at line 35 of file H5ScalarDS.java.

Public Member Functions

void clear ()
void clearData ()
void close (int did)
Object convertFromUnsignedC ()
Object convertToUnsignedC ()
Dataset copy (Group pgroup, String dstName, long[] dims, Object buff) throws Exception
final boolean equalsOID (long[] theID)
void extend (long[] newDims) throws HDF5Exception
final long[] getChunkSize ()
final String getCompression ()
final boolean getConvertByteToString ()
final Object getData () throws Exception, OutOfMemoryError
Datatype getDatatype ()
final String[] getDimNames ()
final long[] getDims ()
final int getFID ()
final String getFile ()
final FileFormat getFileFormat ()
final Object getFillValue ()
final String getFullName ()
final int getHeight ()
double[] getImageDataRange ()
final int getInterlace ()
final long[] getMaxDims ()
List getMetadata () throws HDF5Exception
final String getName ()
final long[] getOID ()
byte[][] getPalette ()
byte[] getPaletteRefs ()
final String getPath ()
final int getRank ()
final long[] getSelectedDims ()
final int[] getSelectedIndex ()
int getSize (int tid)
final long[] getStartDims ()
final long[] getStride ()
final int getWidth ()
 H5ScalarDS (FileFormat theFile, String theName, String thePath, long[] oid)
 H5ScalarDS (FileFormat theFile, String theName, String thePath)
boolean hasAttribute ()
void init ()
final boolean isDefaultImageOrder ()
boolean isEnumConverted ()
final boolean isImage ()
final boolean isImageDisplay ()
boolean isString (int tid)
final boolean isText ()
final boolean isTrueColor ()
final boolean isUnsigned ()
int open ()
Object read () throws HDF5Exception
byte[] readBytes () throws HDF5Exception
byte[][] readPalette (int idx)
void removeMetadata (Object info) throws HDF5Exception
final void setConvertByteToString (boolean b)
final void setData (Object d)
void setEnumConverted (boolean b)
final void setIsImage (boolean b)
final void setIsImageDisplay (boolean b)
void setName (String newName) throws Exception
final void setPalette (byte[][] pal)
void setPath (String newPath) throws Exception
String toString ()
final void write () throws Exception
void write (Object buf) throws HDF5Exception
void writeMetadata (Object info) throws Exception

Static Public Member Functions

static final String[] byteToString (byte[] bytes, int length)
static Object convertFromUnsignedC (Object data_in, Object data_out)
static Object convertFromUnsignedC (Object data_in)
static Object convertToUnsignedC (Object data_in, Object data_out)
static Object convertToUnsignedC (Object data_in)
static H5ScalarDS create (String name, Group pgroup, Datatype type, long[] dims, long[] maxdims, long[] chunks, int gzip, Object data) throws Exception
static final byte[] stringToByte (String[] strings, int length)

Static Public Attributes

static final int INTERLACE_LINE = 1
static final int INTERLACE_PIXEL = 0
static final int INTERLACE_PLANE = 2
static final String separator = "/"
static final long serialVersionUID = HObject.serialVersionUID

Protected Member Functions

final void debug (Object msg)

Protected Attributes

long[] chunkSize
String compression
boolean convertByteToString = true
Object convertedBuf = null
Object data
Datatype datatype
String[] dimNames
long[] dims
Object fillValue = null
double[] imageDataRange
int interlace
boolean isDataLoaded = false
boolean isDefaultImageOrder
boolean isImage
boolean isImageDisplay
boolean isText
boolean isTrueColor
boolean isUnsigned
long[] maxDims
long nPoints = 1
long[] oid
Object originalBuf = null
byte[][] palette
int rank
long[] selectedDims
final int[] selectedIndex
long[] selectedStride
long[] startDims
boolean unsignedConverted

Private Member Functions

byte[] getPaletteRefs (int did)
boolean isStringAttributeOf (int objID, String name, String value)
void resetSelection ()
long selectHyperslab (int did, int[] spaceIDs) throws HDF5Exception

Private Attributes

List attributeList
boolean isEnum = false
boolean isExternal = false
boolean isNativeDatatype = false
boolean isVLEN = false
int nAttributes = -1
byte[] paletteRefs

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index