ocssw  1.0
Classes | Namespaces | Defines | Functions
/disk01/web/ocssw/build/inc/swfinc/bin_util.h File Reference

(r8099/r4879)

#include <sstream>
#include <stdio.h>
#include <time.h>
#include <string.h>
#include <math.h>
#include <iostream>
#include "hdf.h"
#include "mfhdf.h"
#include "hdf5.h"

Go to the source code of this file.

Classes

struct  binListStructure
struct  binIndexStructure
struct  binListStructure_hdf5

Namespaces

namespace  Hdf

Defines

#define PI   3.141592653589793
#define MAXNPROD   256
#define MAXNVDATA   MAXNPROD+3
#define SWAP_4(x)

Functions

int Hdf::create_vdata (int32 file_id, int32 vg_id, int32 *vdata_id, const char *vdata_name, const char *class_name, int32 n_flds, char const *const fldname[], int32 type[], int32 noext, int32 *aid)
int32 Hdf::write_vdata (int vdata_id, int32 n_recs_to_write, void *data)
int Hdf::read_binList (int n_elem, int32 vdata_id_binlist, binListStruct *binList)
int Hdf::write_binList (int n_elem, int32 vdata_id_binlist, binListStruct *binList)
int Hdf::write_prodData (int n_elem, int32 vdata_id_proddata, float32 *data, binListStruct *binList)
int Hdf::copy_prodData (int n_elem, int32 *binsToCopy, char const *const fldname3[], int32 in_vdata_id_proddata, int32 out_vdata_id_proddata)
int Hdf::create_compound (hid_t group_id, const char *dataset_name, hid_t *dataset_id, hid_t *type_id, size_t typesize, int32_t n_flds, char const *const fldname[], size_t offset[], hid_t type[], hid_t *filespace, hid_t dataspace)

Define Documentation

#define MAXNPROD   256

Definition at line 20 of file bin_util.h.

#define MAXNVDATA   MAXNPROD+3

Definition at line 21 of file bin_util.h.

#define PI   3.141592653589793

Definition at line 5 of file bin_util.h.

#define SWAP_4 (   x)
Value:
( ((x) << 24) | \
         (((x) << 8) & 0x00ff0000) | \
         (((x) >> 8) & 0x0000ff00) | \
         ((x) >> 24) )

Definition at line 24 of file bin_util.h.