MISR Toolkit  1.5.1
Data Structures | Macros | Functions
h5diff.h File Reference
#include "hdf5.h"
#include "h5trav.h"

Go to the source code of this file.

Data Structures

struct  diff_args_t
 
struct  exclude_path_list
 
struct  diff_opt_t
 

Macros

#define h5difftrace(x)
 
#define h5diffdebug2(x1, x2)
 
#define h5diffdebug3(x1, x2, x3)
 
#define h5diffdebug4(x1, x2, x3, x4)
 
#define h5diffdebug5(x1, x2, x3, x4, x5)
 
#define MAX_FILENAME   1024
 

Functions

H5TOOLS_DLL hsize_t h5diff (const char *fname1, const char *fname2, const char *objname1, const char *objname2, diff_opt_t *opts)
 
H5TOOLS_DLL hsize_t diff (hid_t file1_id, const char *path1, hid_t file2_id, const char *path2, diff_opt_t *opts, diff_args_t *argdata)
 
hsize_t diff_dataset (hid_t file1_id, hid_t file2_id, const char *obj1_name, const char *obj2_name, diff_opt_t *opts)
 
hsize_t diff_datasetid (hid_t dset1_id, hid_t dset2_id, const char *obj1_name, const char *obj2_name, diff_opt_t *opts)
 
hsize_t diff_match (hid_t file1_id, const char *grp1, trav_info_t *info1, hid_t file2_id, const char *grp2, trav_info_t *info2, trav_table_t *table, diff_opt_t *opts)
 
hsize_t diff_array (void *_mem1, void *_mem2, hsize_t nelmts, hsize_t hyper_start, int rank, hsize_t *dims, diff_opt_t *opts, const char *name1, const char *name2, hid_t m_type, hid_t container1_id, hid_t container2_id)
 
int diff_can_type (hid_t f_type1, hid_t f_type2, int rank1, int rank2, hsize_t *dims1, hsize_t *dims2, hsize_t *maxdim1, hsize_t *maxdim2, const char *obj1_name, const char *obj2_name, diff_opt_t *opts, int is_compound)
 
hsize_t diff_attr (hid_t loc1_id, hid_t loc2_id, const char *path1, const char *path2, diff_opt_t *opts)
 
void print_found (hsize_t nfound)
 
void print_type (hid_t type)
 
const char * diff_basename (const char *name)
 
const char * get_type (h5trav_type_t type)
 
const char * get_class (H5T_class_t tclass)
 
const char * get_sign (H5T_sign_t sign)
 
void print_dimensions (int rank, hsize_t *dims)
 
herr_t match_up_memsize (hid_t f_tid1_id, hid_t f_tid2_id, hid_t *m_tid1, hid_t *m_tid2, size_t *m_size1, size_t *m_size2)
 
int print_objname (diff_opt_t *opts, hsize_t nfound)
 
void do_print_objname (const char *OBJ, const char *path1, const char *path2, diff_opt_t *opts)
 
void do_print_attrname (const char *attr, const char *path1, const char *path2)
 

Macro Definition Documentation

◆ h5diffdebug2

#define h5diffdebug2 (   x1,
  x2 
)

Definition at line 31 of file h5diff.h.

◆ h5diffdebug3

#define h5diffdebug3 (   x1,
  x2,
  x3 
)

Definition at line 32 of file h5diff.h.

◆ h5diffdebug4

#define h5diffdebug4 (   x1,
  x2,
  x3,
  x4 
)

Definition at line 33 of file h5diff.h.

◆ h5diffdebug5

#define h5diffdebug5 (   x1,
  x2,
  x3,
  x4,
  x5 
)

Definition at line 34 of file h5diff.h.

◆ h5difftrace

#define h5difftrace (   x)

Definition at line 30 of file h5diff.h.

◆ MAX_FILENAME

#define MAX_FILENAME   1024

Definition at line 37 of file h5diff.h.

Function Documentation

◆ diff()

H5TOOLS_DLL hsize_t diff ( hid_t  file1_id,
const char *  path1,
hid_t  file2_id,
const char *  path2,
diff_opt_t opts,
diff_args_t argdata 
)

◆ diff_array()

hsize_t diff_array ( void *  _mem1,
void *  _mem2,
hsize_t  nelmts,
hsize_t  hyper_start,
int  rank,
hsize_t dims,
diff_opt_t opts,
const char *  name1,
const char *  name2,
hid_t  m_type,
hid_t  container1_id,
hid_t  container2_id 
)

◆ diff_attr()

hsize_t diff_attr ( hid_t  loc1_id,
hid_t  loc2_id,
const char *  path1,
const char *  path2,
diff_opt_t opts 
)

◆ diff_basename()

const char* diff_basename ( const char *  name)

◆ diff_can_type()

int diff_can_type ( hid_t  f_type1,
hid_t  f_type2,
int  rank1,
int  rank2,
hsize_t dims1,
hsize_t dims2,
hsize_t maxdim1,
hsize_t maxdim2,
const char *  obj1_name,
const char *  obj2_name,
diff_opt_t opts,
int  is_compound 
)

◆ diff_dataset()

hsize_t diff_dataset ( hid_t  file1_id,
hid_t  file2_id,
const char *  obj1_name,
const char *  obj2_name,
diff_opt_t opts 
)

◆ diff_datasetid()

hsize_t diff_datasetid ( hid_t  dset1_id,
hid_t  dset2_id,
const char *  obj1_name,
const char *  obj2_name,
diff_opt_t opts 
)

◆ diff_match()

hsize_t diff_match ( hid_t  file1_id,
const char *  grp1,
trav_info_t info1,
hid_t  file2_id,
const char *  grp2,
trav_info_t info2,
trav_table_t table,
diff_opt_t opts 
)

◆ do_print_attrname()

void do_print_attrname ( const char *  attr,
const char *  path1,
const char *  path2 
)

◆ do_print_objname()

void do_print_objname ( const char *  OBJ,
const char *  path1,
const char *  path2,
diff_opt_t opts 
)

◆ get_class()

const char* get_class ( H5T_class_t  tclass)

◆ get_sign()

const char* get_sign ( H5T_sign_t  sign)

◆ get_type()

const char* get_type ( h5trav_type_t  type)

◆ h5diff()

H5TOOLS_DLL hsize_t h5diff ( const char *  fname1,
const char *  fname2,
const char *  objname1,
const char *  objname2,
diff_opt_t opts 
)

◆ match_up_memsize()

herr_t match_up_memsize ( hid_t  f_tid1_id,
hid_t  f_tid2_id,
hid_t m_tid1,
hid_t m_tid2,
size_t *  m_size1,
size_t *  m_size2 
)

◆ print_dimensions()

void print_dimensions ( int  rank,
hsize_t dims 
)

◆ print_found()

void print_found ( hsize_t  nfound)

◆ print_objname()

int print_objname ( diff_opt_t opts,
hsize_t  nfound 
)

◆ print_type()

void print_type ( hid_t  type)

MISR Toolkit - Copyright © 2005 - 2020 Jet Propulsion Laboratory
Generated on Fri Jun 19 2020 22:49:54