diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2003-06-07 04:02:11 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2003-06-07 04:02:11 (GMT) |
commit | 5d1b56cb8170363220e21c8c8c38d2bddef27939 (patch) | |
tree | d1450c0b8b2b1a7628371342250372071ba754ae /c++/src/H5Exception.cpp | |
parent | 4e4ab0d320597f3aa9a45170d92e8d578cc203db (diff) | |
download | hdf5-5d1b56cb8170363220e21c8c8c38d2bddef27939.zip hdf5-5d1b56cb8170363220e21c8c8c38d2bddef27939.tar.gz hdf5-5d1b56cb8170363220e21c8c8c38d2bddef27939.tar.bz2 |
[svn-r6990] Purpose:
Bug fix and minor code enhancement
Description:
Missing methods to read/write C++ String for an attribute and
a dataset.
Solution:
Added overloaded functions read and write to H5::Attribute and
H5::DataSet.
Also, added another constructor StrType so the need to separately
set the length of the string type can be eliminated. It's minor
but convenient.
Made some minor changes to make error messages more readable.
Platforms:
SunOS 5.7 (arabica)
Linux 2.4 (eirene)
IRIX 6.5.11 (modi4)
HPUX 11.00 (kelgia)
Diffstat (limited to 'c++/src/H5Exception.cpp')
-rw-r--r-- | c++/src/H5Exception.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/c++/src/H5Exception.cpp b/c++/src/H5Exception.cpp index d493662..807d703 100644 --- a/c++/src/H5Exception.cpp +++ b/c++/src/H5Exception.cpp @@ -18,7 +18,7 @@ #ifndef H5_NO_NAMESPACE namespace H5 { #ifndef H5_NO_STD - using namespace std; + using namespace std; #endif // H5_NO_STD #endif @@ -206,14 +206,6 @@ IdComponentException::IdComponentException(const string& func_name, const string IdComponentException::IdComponentException(const char* func_name, const char* message) : Exception(func_name, message) {} IdComponentException::~IdComponentException() {} -// The following are from Java API but not done here: -// AtomException, BtreeException, DataFiltersException, -// ExternalFileListException, FunctionEntryExitException, -// HeapException, InternalErrorException, LowLevelIOException, -// MetaDataCacheException, ResourceUnavailableException, -// SymbolTableException, ObjectHeaderException, FunctionArgumentException, -// DataStorageException - #ifndef H5_NO_NAMESPACE } // end namespace #endif |