diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2001-03-02 18:53:15 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2001-03-02 18:53:15 (GMT) |
commit | 42e15a3d6af05b67c07de7dcd579db39504fffa7 (patch) | |
tree | ff3bac3026121f15f26ba725c3c113c8f074b1f6 /c++/src/H5FaccProp.h | |
parent | cc647cfe5f492d8810e5b1a6444a37c267c591c4 (diff) | |
download | hdf5-42e15a3d6af05b67c07de7dcd579db39504fffa7.zip hdf5-42e15a3d6af05b67c07de7dcd579db39504fffa7.tar.gz hdf5-42e15a3d6af05b67c07de7dcd579db39504fffa7.tar.bz2 |
[svn-r3540] Purpose:
Feasibility improvement
Description:
- Some member functions in class Exception can be called without
an Exception instance exits, but because they are not static, they
cannot.
- Many exception throwings don't provide any information to callers.
Solution:
- Add 'static' to several member functions in class Exception.
- Added <class name::function name> to some exceptions thrown
in H5File.cpp and H5FcreatProp.cpp. I'm trying this for users'
comments. More information may be added later and to all
exceptions.
- Changed the comment line for emacs editor to:
// C++ informative line for the emacs editor: -*- C++ -*-
because... I'd rather not say that the code "may look like C" :-)
Platforms tested:
Linux (gcc version egcs-2.91.66)
Diffstat (limited to 'c++/src/H5FaccProp.h')
-rw-r--r-- | c++/src/H5FaccProp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/src/H5FaccProp.h b/c++/src/H5FaccProp.h index 1db2a1d..9628e8b 100644 --- a/c++/src/H5FaccProp.h +++ b/c++/src/H5FaccProp.h @@ -1,4 +1,4 @@ -// This may look like C code, but it is really -*- C++ -*- +// C++ informative line for the emacs editor: -*- C++ -*- #ifndef _H5FileAccPropList_H #define _H5FileAccPropList_H |