MISR Toolkit  1.5.1
Macros | Enumerations | Variables
herr.h File Reference

Go to the source code of this file.

Macros

#define __FILE__   "File name not supported"
 
#define __LINE__   0
 
#define HERROR(e)   HEpush(e, FUNC, __FILE__, __LINE__)
 
#define HRETURN_ERROR(err, ret_val)   {HERROR(err); return(ret_val);}
 
#define HCLOSE_RETURN_ERROR(hfid, err, ret_val)
 
#define HGOTO_ERROR(err, ret_val)
 
#define HCLOSE_GOTO_ERROR(hfid, err, ret_val)
 
#define HGOTO_DONE(ret_val)   {ret_value = ret_val; goto done;}
 
#define HE_REPORT(msg)   HEreport(msg)
 
#define HE_REPORT_RETURN(msg, ret_val)   { HEreport(msg); return(ret_val); }
 
#define HE_CLOSE_REPORT_RETURN(hfid, msg, ret_val)
 
#define HE_REPORT_GOTO(msg, ret_val)
 
#define HE_CLOSE_REPORT_GOTO(hfid, msg, ret_val)
 
#define HEclear()   {if(error_top!=0) HEPclear(); }
 

Enumerations

enum  hdf_err_code_t {
  DFE_NONE = 0,
  DFE_FNF,
  DFE_DENIED,
  DFE_ALROPEN,
  DFE_TOOMANY,
  DFE_BADNAME,
  DFE_BADACC,
  DFE_BADOPEN,
  DFE_NOTOPEN,
  DFE_CANTCLOSE,
  DFE_READERROR,
  DFE_WRITEERROR,
  DFE_SEEKERROR,
  DFE_RDONLY,
  DFE_BADSEEK,
  DFE_PUTELEM,
  DFE_GETELEM,
  DFE_CANTLINK,
  DFE_CANTSYNC,
  DFE_BADGROUP,
  DFE_GROUPSETUP,
  DFE_PUTGROUP,
  DFE_GROUPWRITE,
  DFE_DFNULL,
  DFE_ILLTYPE,
  DFE_BADDDLIST,
  DFE_NOTDFFILE,
  DFE_SEEDTWICE,
  DFE_NOSUCHTAG,
  DFE_NOFREEDD,
  DFE_BADTAG,
  DFE_BADREF,
  DFE_NOMATCH,
  DFE_NOTINSET,
  DFE_BADOFFSET,
  DFE_CORRUPT,
  DFE_NOREF,
  DFE_DUPDD,
  DFE_CANTMOD,
  DFE_DIFFFILES,
  DFE_BADAID,
  DFE_OPENAID,
  DFE_CANTFLUSH,
  DFE_CANTUPDATE,
  DFE_CANTHASH,
  DFE_CANTDELDD,
  DFE_CANTDELHASH,
  DFE_CANTACCESS,
  DFE_CANTENDACCESS,
  DFE_TABLEFULL,
  DFE_NOTINTABLE,
  DFE_UNSUPPORTED,
  DFE_NOSPACE,
  DFE_BADCALL,
  DFE_BADPTR,
  DFE_BADLEN,
  DFE_NOTENOUGH,
  DFE_NOVALS,
  DFE_ARGS,
  DFE_INTERNAL,
  DFE_NORESET,
  DFE_GENAPP,
  DFE_UNINIT,
  DFE_CANTINIT,
  DFE_CANTSHUTDOWN,
  DFE_BADDIM,
  DFE_BADFP,
  DFE_BADDATATYPE,
  DFE_BADMCTYPE,
  DFE_BADNUMTYPE,
  DFE_BADORDER,
  DFE_RANGE,
  DFE_BADCONV,
  DFE_BADTYPE,
  DFE_NOVGREP,
  DFE_BADSCHEME,
  DFE_BADMODEL,
  DFE_BADCODER,
  DFE_MODEL,
  DFE_CODER,
  DFE_CINIT,
  DFE_CDECODE,
  DFE_CENCODE,
  DFE_CTERM,
  DFE_CSEEK,
  DFE_MINIT,
  DFE_COMPINFO,
  DFE_CANTCOMP,
  DFE_CANTDECOMP,
  DFE_NOENCODER,
  DFE_NOSZLIB,
  DFE_COMPVERSION,
  DFE_READCOMP,
  DFE_NODIM,
  DFE_BADRIG,
  DFE_RINOTFOUND,
  DFE_BADATTR,
  DFE_LUTNOTFOUND,
  DFE_GRNOTFOUND,
  DFE_BADTABLE,
  DFE_BADSDG,
  DFE_BADNDG,
  DFE_VGSIZE,
  DFE_VTAB,
  DFE_CANTADDELEM,
  DFE_BADVGNAME,
  DFE_BADVGCLASS,
  DFE_BADFIELDS,
  DFE_NOVS,
  DFE_SYMSIZE,
  DFE_BADATTACH,
  DFE_BADVSNAME,
  DFE_BADVSCLASS,
  DFE_VSWRITE,
  DFE_VSREAD,
  DFE_BADVH,
  DFE_FIELDSSET,
  DFE_VSCANTCREATE,
  DFE_VGCANTCREATE,
  DFE_CANTATTACH,
  DFE_CANTDETACH,
  DFE_BITREAD,
  DFE_BITWRITE,
  DFE_BITSEEK,
  DFE_TBBTINS,
  DFE_BVNEW,
  DFE_BVSET,
  DFE_BVGET,
  DFE_BVFIND,
  DFE_NONE = 0,
  DFE_FNF,
  DFE_DENIED,
  DFE_ALROPEN,
  DFE_TOOMANY,
  DFE_BADNAME,
  DFE_BADACC,
  DFE_BADOPEN,
  DFE_NOTOPEN,
  DFE_CANTCLOSE,
  DFE_READERROR,
  DFE_WRITEERROR,
  DFE_SEEKERROR,
  DFE_RDONLY,
  DFE_BADSEEK,
  DFE_INVFILE,
  DFE_PUTELEM,
  DFE_GETELEM,
  DFE_CANTLINK,
  DFE_CANTSYNC,
  DFE_BADGROUP,
  DFE_GROUPSETUP,
  DFE_PUTGROUP,
  DFE_GROUPWRITE,
  DFE_DFNULL,
  DFE_ILLTYPE,
  DFE_BADDDLIST,
  DFE_NOTDFFILE,
  DFE_SEEDTWICE,
  DFE_NOSUCHTAG,
  DFE_NOFREEDD,
  DFE_BADTAG,
  DFE_BADREF,
  DFE_NOMATCH,
  DFE_NOTINSET,
  DFE_BADOFFSET,
  DFE_CORRUPT,
  DFE_NOREF,
  DFE_DUPDD,
  DFE_CANTMOD,
  DFE_DIFFFILES,
  DFE_BADAID,
  DFE_OPENAID,
  DFE_CANTFLUSH,
  DFE_CANTUPDATE,
  DFE_CANTHASH,
  DFE_CANTDELDD,
  DFE_CANTDELHASH,
  DFE_CANTACCESS,
  DFE_CANTENDACCESS,
  DFE_TABLEFULL,
  DFE_NOTINTABLE,
  DFE_UNSUPPORTED,
  DFE_NOSPACE,
  DFE_BADCALL,
  DFE_BADPTR,
  DFE_BADLEN,
  DFE_NOTENOUGH,
  DFE_NOVALS,
  DFE_ARGS,
  DFE_INTERNAL,
  DFE_NORESET,
  DFE_EXCEEDMAX,
  DFE_GENAPP,
  DFE_UNINIT,
  DFE_CANTINIT,
  DFE_CANTSHUTDOWN,
  DFE_BADDIM,
  DFE_BADFP,
  DFE_BADDATATYPE,
  DFE_BADMCTYPE,
  DFE_BADNUMTYPE,
  DFE_BADORDER,
  DFE_RANGE,
  DFE_BADCONV,
  DFE_BADTYPE,
  DFE_BADDIMNAME,
  DFE_NOVGREP,
  DFE_BADSCHEME,
  DFE_BADMODEL,
  DFE_BADCODER,
  DFE_MODEL,
  DFE_CODER,
  DFE_CINIT,
  DFE_CDECODE,
  DFE_CENCODE,
  DFE_CTERM,
  DFE_CSEEK,
  DFE_MINIT,
  DFE_COMPINFO,
  DFE_CANTCOMP,
  DFE_CANTDECOMP,
  DFE_NOENCODER,
  DFE_NOSZLIB,
  DFE_COMPVERSION,
  DFE_READCOMP,
  DFE_NODIM,
  DFE_BADRIG,
  DFE_RINOTFOUND,
  DFE_BADATTR,
  DFE_LUTNOTFOUND,
  DFE_GRNOTFOUND,
  DFE_BADTABLE,
  DFE_BADSDG,
  DFE_BADNDG,
  DFE_VGSIZE,
  DFE_VTAB,
  DFE_CANTADDELEM,
  DFE_BADVGNAME,
  DFE_BADVGCLASS,
  DFE_BADFIELDS,
  DFE_NOVS,
  DFE_SYMSIZE,
  DFE_BADATTACH,
  DFE_BADVSNAME,
  DFE_BADVSCLASS,
  DFE_VSWRITE,
  DFE_VSREAD,
  DFE_BADVH,
  DFE_FIELDSSET,
  DFE_VSCANTCREATE,
  DFE_VGCANTCREATE,
  DFE_CANTATTACH,
  DFE_CANTDETACH,
  DFE_XDRERROR,
  DFE_BITREAD,
  DFE_BITWRITE,
  DFE_BITSEEK,
  DFE_TBBTINS,
  DFE_BVNEW,
  DFE_BVSET,
  DFE_BVGET,
  DFE_BVFIND,
  DFE_CANTSETATTR,
  DFE_CANTGETATTR,
  DFE_ANAPIERROR
}
 

Variables

int32 error_top
 

Macro Definition Documentation

◆ __FILE__

#define __FILE__   "File name not supported"

Definition at line 29 of file herr.h.

◆ __LINE__

#define __LINE__   0

Definition at line 32 of file herr.h.

◆ HCLOSE_GOTO_ERROR

#define HCLOSE_GOTO_ERROR (   hfid,
  err,
  ret_val 
)
Value:
{HERROR(err); Hclose(hfid); \
ret_value = ret_val; goto done;}
#define HERROR(e)
Definition: herr.h:40
HDFLIBAPI intn Hclose(int32 file_id)

Definition at line 69 of file herr.h.

◆ HCLOSE_RETURN_ERROR

#define HCLOSE_RETURN_ERROR (   hfid,
  err,
  ret_val 
)
Value:
{HERROR(err); Hclose(hfid); \
return(ret_val);}
#define HERROR(e)
Definition: herr.h:40
HDFLIBAPI intn Hclose(int32 file_id)

Definition at line 52 of file herr.h.

◆ HE_CLOSE_REPORT_GOTO

#define HE_CLOSE_REPORT_GOTO (   hfid,
  msg,
  ret_val 
)
Value:
{ HEreport(msg); \
Hclose(hfid); \
ret_value = ret_val; \
goto done;}
HDFLIBAPI void HEreport(const char *,...)

Definition at line 87 of file herr.h.

◆ HE_CLOSE_REPORT_RETURN

#define HE_CLOSE_REPORT_RETURN (   hfid,
  msg,
  ret_val 
)
Value:
{ HEreport(msg); \
Hclose(hfid); \
return(ret_val);}
HDFLIBAPI void HEreport(const char *,...)

Definition at line 81 of file herr.h.

◆ HE_REPORT

#define HE_REPORT (   msg)    HEreport(msg)

Definition at line 79 of file herr.h.

◆ HE_REPORT_GOTO

#define HE_REPORT_GOTO (   msg,
  ret_val 
)
Value:
{ HEreport(msg); ret_value = ret_val; \
goto done;}
HDFLIBAPI void HEreport(const char *,...)

Definition at line 85 of file herr.h.

◆ HE_REPORT_RETURN

#define HE_REPORT_RETURN (   msg,
  ret_val 
)    { HEreport(msg); return(ret_val); }

Definition at line 80 of file herr.h.

◆ HEclear

#define HEclear ( )    {if(error_top!=0) HEPclear(); }

Definition at line 127 of file herr.h.

◆ HERROR

#define HERROR (   e)    HEpush(e, FUNC, __FILE__, __LINE__)

Definition at line 40 of file herr.h.

◆ HGOTO_DONE

#define HGOTO_DONE (   ret_val)    {ret_value = ret_val; goto done;}

Definition at line 76 of file herr.h.

◆ HGOTO_ERROR

#define HGOTO_ERROR (   err,
  ret_val 
)
Value:
{HERROR(err); ret_value = ret_val; \
goto done;}
#define HERROR(e)
Definition: herr.h:40

Definition at line 60 of file herr.h.

◆ HRETURN_ERROR

#define HRETURN_ERROR (   err,
  ret_val 
)    {HERROR(err); return(ret_val);}

Definition at line 46 of file herr.h.

Enumeration Type Documentation

◆ hdf_err_code_t

Enumerator
DFE_NONE 
DFE_FNF 
DFE_DENIED 
DFE_ALROPEN 
DFE_TOOMANY 
DFE_BADNAME 
DFE_BADACC 
DFE_BADOPEN 
DFE_NOTOPEN 
DFE_CANTCLOSE 
DFE_READERROR 
DFE_WRITEERROR 
DFE_SEEKERROR 
DFE_RDONLY 
DFE_BADSEEK 
DFE_PUTELEM 
DFE_GETELEM 
DFE_CANTLINK 
DFE_CANTSYNC 
DFE_BADGROUP 
DFE_GROUPSETUP 
DFE_PUTGROUP 
DFE_GROUPWRITE 
DFE_DFNULL 
DFE_ILLTYPE 
DFE_BADDDLIST 
DFE_NOTDFFILE 
DFE_SEEDTWICE 
DFE_NOSUCHTAG 
DFE_NOFREEDD 
DFE_BADTAG 
DFE_BADREF 
DFE_NOMATCH 
DFE_NOTINSET 
DFE_BADOFFSET 
DFE_CORRUPT 
DFE_NOREF 
DFE_DUPDD 
DFE_CANTMOD 
DFE_DIFFFILES 
DFE_BADAID 
DFE_OPENAID 
DFE_CANTFLUSH 
DFE_CANTUPDATE 
DFE_CANTHASH 
DFE_CANTDELDD 
DFE_CANTDELHASH 
DFE_CANTACCESS 
DFE_CANTENDACCESS 
DFE_TABLEFULL 
DFE_NOTINTABLE 
DFE_UNSUPPORTED 
DFE_NOSPACE 
DFE_BADCALL 
DFE_BADPTR 
DFE_BADLEN 
DFE_NOTENOUGH 
DFE_NOVALS 
DFE_ARGS 
DFE_INTERNAL 
DFE_NORESET 
DFE_GENAPP 
DFE_UNINIT 
DFE_CANTINIT 
DFE_CANTSHUTDOWN 
DFE_BADDIM 
DFE_BADFP 
DFE_BADDATATYPE 
DFE_BADMCTYPE 
DFE_BADNUMTYPE 
DFE_BADORDER 
DFE_RANGE 
DFE_BADCONV 
DFE_BADTYPE 
DFE_NOVGREP 
DFE_BADSCHEME 
DFE_BADMODEL 
DFE_BADCODER 
DFE_MODEL 
DFE_CODER 
DFE_CINIT 
DFE_CDECODE 
DFE_CENCODE 
DFE_CTERM 
DFE_CSEEK 
DFE_MINIT 
DFE_COMPINFO 
DFE_CANTCOMP 
DFE_CANTDECOMP 
DFE_NOENCODER 
DFE_NOSZLIB 
DFE_COMPVERSION 
DFE_READCOMP 
DFE_NODIM 
DFE_BADRIG 
DFE_RINOTFOUND 
DFE_BADATTR 
DFE_LUTNOTFOUND 
DFE_GRNOTFOUND 
DFE_BADTABLE 
DFE_BADSDG 
DFE_BADNDG 
DFE_VGSIZE 
DFE_VTAB 
DFE_CANTADDELEM 
DFE_BADVGNAME 
DFE_BADVGCLASS 
DFE_BADFIELDS 
DFE_NOVS 
DFE_SYMSIZE 
DFE_BADATTACH 
DFE_BADVSNAME 
DFE_BADVSCLASS 
DFE_VSWRITE 
DFE_VSREAD 
DFE_BADVH 
DFE_FIELDSSET 
DFE_VSCANTCREATE 
DFE_VGCANTCREATE 
DFE_CANTATTACH 
DFE_CANTDETACH 
DFE_BITREAD 
DFE_BITWRITE 
DFE_BITSEEK 
DFE_TBBTINS 
DFE_BVNEW 
DFE_BVSET 
DFE_BVGET 
DFE_BVFIND 
DFE_NONE 
DFE_FNF 
DFE_DENIED 
DFE_ALROPEN 
DFE_TOOMANY 
DFE_BADNAME 
DFE_BADACC 
DFE_BADOPEN 
DFE_NOTOPEN 
DFE_CANTCLOSE 
DFE_READERROR 
DFE_WRITEERROR 
DFE_SEEKERROR 
DFE_RDONLY 
DFE_BADSEEK 
DFE_INVFILE 
DFE_PUTELEM 
DFE_GETELEM 
DFE_CANTLINK 
DFE_CANTSYNC 
DFE_BADGROUP 
DFE_GROUPSETUP 
DFE_PUTGROUP 
DFE_GROUPWRITE 
DFE_DFNULL 
DFE_ILLTYPE 
DFE_BADDDLIST 
DFE_NOTDFFILE 
DFE_SEEDTWICE 
DFE_NOSUCHTAG 
DFE_NOFREEDD 
DFE_BADTAG 
DFE_BADREF 
DFE_NOMATCH 
DFE_NOTINSET 
DFE_BADOFFSET 
DFE_CORRUPT 
DFE_NOREF 
DFE_DUPDD 
DFE_CANTMOD 
DFE_DIFFFILES 
DFE_BADAID 
DFE_OPENAID 
DFE_CANTFLUSH 
DFE_CANTUPDATE 
DFE_CANTHASH 
DFE_CANTDELDD 
DFE_CANTDELHASH 
DFE_CANTACCESS 
DFE_CANTENDACCESS 
DFE_TABLEFULL 
DFE_NOTINTABLE 
DFE_UNSUPPORTED 
DFE_NOSPACE 
DFE_BADCALL 
DFE_BADPTR 
DFE_BADLEN 
DFE_NOTENOUGH 
DFE_NOVALS 
DFE_ARGS 
DFE_INTERNAL 
DFE_NORESET 
DFE_EXCEEDMAX 
DFE_GENAPP 
DFE_UNINIT 
DFE_CANTINIT 
DFE_CANTSHUTDOWN 
DFE_BADDIM 
DFE_BADFP 
DFE_BADDATATYPE 
DFE_BADMCTYPE 
DFE_BADNUMTYPE 
DFE_BADORDER 
DFE_RANGE 
DFE_BADCONV 
DFE_BADTYPE 
DFE_BADDIMNAME 
DFE_NOVGREP 
DFE_BADSCHEME 
DFE_BADMODEL 
DFE_BADCODER 
DFE_MODEL 
DFE_CODER 
DFE_CINIT 
DFE_CDECODE 
DFE_CENCODE 
DFE_CTERM 
DFE_CSEEK 
DFE_MINIT 
DFE_COMPINFO 
DFE_CANTCOMP 
DFE_CANTDECOMP 
DFE_NOENCODER 
DFE_NOSZLIB 
DFE_COMPVERSION 
DFE_READCOMP 
DFE_NODIM 
DFE_BADRIG 
DFE_RINOTFOUND 
DFE_BADATTR 
DFE_LUTNOTFOUND 
DFE_GRNOTFOUND 
DFE_BADTABLE 
DFE_BADSDG 
DFE_BADNDG 
DFE_VGSIZE 
DFE_VTAB 
DFE_CANTADDELEM 
DFE_BADVGNAME 
DFE_BADVGCLASS 
DFE_BADFIELDS 
DFE_NOVS 
DFE_SYMSIZE 
DFE_BADATTACH 
DFE_BADVSNAME 
DFE_BADVSCLASS 
DFE_VSWRITE 
DFE_VSREAD 
DFE_BADVH 
DFE_FIELDSSET 
DFE_VSCANTCREATE 
DFE_VGCANTCREATE 
DFE_CANTATTACH 
DFE_CANTDETACH 
DFE_XDRERROR 
DFE_BITREAD 
DFE_BITWRITE 
DFE_BITSEEK 
DFE_TBBTINS 
DFE_BVNEW 
DFE_BVSET 
DFE_BVGET 
DFE_BVFIND 
DFE_CANTSETATTR 
DFE_CANTGETATTR 
DFE_ANAPIERROR 

Definition at line 138 of file herr.h.

Variable Documentation

◆ error_top

int32 error_top

Definition at line 115 of file herr.h.


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