MISR Toolkit  1.5.1
Data Structures | Macros | Typedefs | Enumerations | Functions | Variables
h5tools_utils.h File Reference
#include "hdf5.h"

Go to the source code of this file.

Data Structures

struct  long_options
 
struct  obj_t
 
struct  table_t
 
struct  find_objs_t
 
struct  h5tool_opt_t
 
struct  h5tool_link_info_t
 

Macros

#define PRINT_DATA_MAX_SIZE   512
 
#define OUTBUFF_SIZE   (PRINT_DATA_MAX_SIZE*4)
 

Typedefs

typedef struct long_options long_options
 
typedef struct obj_t obj_t
 
typedef struct table_t table_t
 
typedef struct find_objs_t find_objs_t
 
typedef enum toolname_t h5tool_toolname_t
 

Enumerations

enum  {
  no_arg = 0,
  require_arg,
  optional_arg
}
 
enum  toolname_t {
  TOOL_H5DIFF,
  TOOL_H5LS,
  TOOL__H5DUMP
}
 

Functions

H5TOOLS_DLL int get_option (int argc, const char **argv, const char *opt, const struct long_options *l_opt)
 
H5TOOLS_DLL void indentation (unsigned)
 
H5TOOLS_DLL void print_version (const char *progname)
 
H5TOOLS_DLL void parallel_print (const char *format,...)
 
H5TOOLS_DLL void error_msg (const char *fmt,...)
 
H5TOOLS_DLL void warn_msg (const char *fmt,...)
 
H5TOOLS_DLL void help_ref_msg (FILE *output)
 
H5TOOLS_DLL void free_table (table_t *table)
 
H5TOOLS_DLL herr_t init_objs (hid_t fid, find_objs_t *info, table_t **group_table, table_t **dset_table, table_t **type_table)
 
H5TOOLS_DLL obj_tsearch_obj (table_t *temp, haddr_t objno)
 
H5TOOLS_DLL int H5tools_get_symlink_info (hid_t file_id, const char *linkpath, h5tool_link_info_t *link_info, hbool_t get_obj_type)
 
H5TOOLS_DLL const char * h5tools_getprogname (void)
 
H5TOOLS_DLL void h5tools_setprogname (const char *progname)
 
H5TOOLS_DLL int h5tools_getstatus (void)
 
H5TOOLS_DLL void h5tools_setstatus (int d_status)
 
H5TOOLS_DLL int h5tools_getenv_update_hyperslab_bufsize (void)
 

Variables

H5TOOLS_DLLVAR int g_nTasks
 
H5TOOLS_DLLVAR unsigned char g_Parallel
 
H5TOOLS_DLLVAR char outBuff []
 
H5TOOLS_DLLVAR unsigned outBuffOffset
 
H5TOOLS_DLLVAR FILE * overflow_file
 
H5TOOLS_DLLVAR hsize_t H5TOOLS_MALLOCSIZE
 
H5TOOLS_DLLVAR hsize_t H5TOOLS_BUFSIZE
 
H5TOOLS_DLLVAR int opt_err
 
H5TOOLS_DLLVAR int opt_ind
 
H5TOOLS_DLLVAR const char * opt_arg
 
H5TOOLS_DLLVAR unsigned h5tools_nCols
 

Macro Definition Documentation

◆ OUTBUFF_SIZE

#define OUTBUFF_SIZE   (PRINT_DATA_MAX_SIZE*4)

Definition at line 31 of file h5tools_utils.h.

◆ PRINT_DATA_MAX_SIZE

#define PRINT_DATA_MAX_SIZE   512

Definition at line 30 of file h5tools_utils.h.

Typedef Documentation

◆ find_objs_t

typedef struct find_objs_t find_objs_t

◆ h5tool_toolname_t

◆ long_options

typedef struct long_options long_options

◆ obj_t

typedef struct obj_t obj_t

◆ table_t

typedef struct table_t table_t

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
no_arg 
require_arg 
optional_arg 

Definition at line 50 of file h5tools_utils.h.

◆ toolname_t

enum toolname_t
Enumerator
TOOL_H5DIFF 
TOOL_H5LS 
TOOL__H5DUMP 

Definition at line 147 of file h5tools_utils.h.

Function Documentation

◆ error_msg()

H5TOOLS_DLL void error_msg ( const char *  fmt,
  ... 
)

◆ free_table()

H5TOOLS_DLL void free_table ( table_t table)

◆ get_option()

H5TOOLS_DLL int get_option ( int  argc,
const char **  argv,
const char *  opt,
const struct long_options l_opt 
)

◆ H5tools_get_symlink_info()

H5TOOLS_DLL int H5tools_get_symlink_info ( hid_t  file_id,
const char *  linkpath,
h5tool_link_info_t link_info,
hbool_t  get_obj_type 
)

◆ h5tools_getenv_update_hyperslab_bufsize()

H5TOOLS_DLL int h5tools_getenv_update_hyperslab_bufsize ( void  )

◆ h5tools_getprogname()

H5TOOLS_DLL const char* h5tools_getprogname ( void  )

◆ h5tools_getstatus()

H5TOOLS_DLL int h5tools_getstatus ( void  )

◆ h5tools_setprogname()

H5TOOLS_DLL void h5tools_setprogname ( const char *  progname)

◆ h5tools_setstatus()

H5TOOLS_DLL void h5tools_setstatus ( int  d_status)

◆ help_ref_msg()

H5TOOLS_DLL void help_ref_msg ( FILE *  output)

◆ indentation()

H5TOOLS_DLL void indentation ( unsigned  )

◆ init_objs()

H5TOOLS_DLL herr_t init_objs ( hid_t  fid,
find_objs_t info,
table_t **  group_table,
table_t **  dset_table,
table_t **  type_table 
)

◆ parallel_print()

H5TOOLS_DLL void parallel_print ( const char *  format,
  ... 
)

◆ print_version()

H5TOOLS_DLL void print_version ( const char *  progname)

◆ search_obj()

H5TOOLS_DLL obj_t* search_obj ( table_t temp,
haddr_t  objno 
)

◆ warn_msg()

H5TOOLS_DLL void warn_msg ( const char *  fmt,
  ... 
)

Variable Documentation

◆ g_nTasks

H5TOOLS_DLLVAR int g_nTasks

Definition at line 33 of file h5tools_utils.h.

◆ g_Parallel

H5TOOLS_DLLVAR unsigned char g_Parallel

Definition at line 34 of file h5tools_utils.h.

◆ H5TOOLS_BUFSIZE

H5TOOLS_DLLVAR hsize_t H5TOOLS_BUFSIZE

Definition at line 42 of file h5tools_utils.h.

◆ H5TOOLS_MALLOCSIZE

H5TOOLS_DLLVAR hsize_t H5TOOLS_MALLOCSIZE

Definition at line 40 of file h5tools_utils.h.

◆ h5tools_nCols

H5TOOLS_DLLVAR unsigned h5tools_nCols

Definition at line 120 of file h5tools_utils.h.

◆ opt_arg

H5TOOLS_DLLVAR const char* opt_arg

Definition at line 48 of file h5tools_utils.h.

◆ opt_err

H5TOOLS_DLLVAR int opt_err

Definition at line 46 of file h5tools_utils.h.

◆ opt_ind

H5TOOLS_DLLVAR int opt_ind

Definition at line 47 of file h5tools_utils.h.

◆ outBuff

H5TOOLS_DLLVAR char outBuff[]

Definition at line 35 of file h5tools_utils.h.

◆ outBuffOffset

H5TOOLS_DLLVAR unsigned outBuffOffset

Definition at line 36 of file h5tools_utils.h.

◆ overflow_file

H5TOOLS_DLLVAR FILE* overflow_file

Definition at line 37 of file h5tools_utils.h.


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