AMROC Main     Blockstructured Adaptive Mesh Refinement in object-oriented C++


Main Page   Class Hierarchy   Compound List   File List  

sds.c File Reference

A wrapper for the HDF SD interface. More...

#include <stdio.h>
#include <stdlib.h>
#include <strings.h>
#include <time.h>
#include "sds.h"

Include dependency graph for sds.c:

Include dependency graph

Go to the source code of this file.

Typedefs

typedef fileID fileID

Functions

fileID * NewFileID (char *name, char *access)
fileID * findIDbyComponent (char *name)
fileID * findIDbyFilename (char *name)
void removeFileID (char *filename)
long SDScomputeSize (int32 rank, int32 *dims, int32 datatype)
void SDScloseAll ()
void SDSdeactivate (char *filename)
void SDSreactivate (char *filename)
void SDSclose (char *filename)
fileID * getFileID (char *filename)
void SDSopen (char *filename, char *access)
void SDSflush (char *filename)
void SDSpurge (char *filename)
void SDSseek (char *filename, int setnum)
int32 SDSseekName (char *filename, char *dataname)
int32 SDSgetNT (char *filename)
int32 SDSisCoord (char *filename)
void SDSsetNT (char *filename, int32 numbertype)
long SDSgetDims (char *filename, char *dataname, int32 *rank, int32 *dims)
int SDSreadData (char *filename, int32 rank, int32 *dims, VOIDP data)
int SDSreadChunk (char *filename, int32 rank, int32 *dims, int32 *origin, int32 *stride, VOIDP data)
void SDSgetFileInfo (char *filename, int32 *nsds, int32 *nattrib)
int32 SDSgetDataName (char *filename, char *name)
int32 SDSgetIndex (char *filename)
int32 SDSgetDataStrs (char *filename, char *label, char *units, char *format, char *coordsys, int maxlen)
int32 SDSgetNumDatasets (char *filename)
int32 SDSallocateDataset (char *filename, char *dataname, int32 rank, int32 *dims)
int SDSwriteChunk (char *filename, int32 rank, int32 *dims, int32 *origin, int32 *stride, VOIDP data)
int SDSwriteData (char *filename, char *dataname, int32 rank, int32 *dims, VOIDP data)
int32 SDSgetAnnotationSize (char *filename)
int32 SDSgetAnnotation (char *filename, char *annotation, int32 maxlen)
int32 SDSaddAnnotation (char *filename, char *annotation)
int32 SDSgetNumAttribs (char *filename)
int32 SDSwriteAttrib (char *filename, char *attribname, int32 numbertype, int32 nelements, VOIDP buffer)
int32 SDSreadAttrib (char *filename, char *attribname2, int32 nelements, VOIDP buffer)
int32 SDSfindAttribInfo (char *filename, char *attribname, int32 *numbertype, int32 *nelements)
int32 SDSgetAttribInfo (char *filename, int32 index, char *attribname, int32 *numbertype, int32 *nelements)


Detailed Description

A wrapper for the HDF SD interface.

Author:
John Shalf

Definition in file sds.c.


Quickstart     Users Guide     Programmers Reference     Installation      Examples     Download



AMROC Main      Home      Contact
last update: 06/01/04