diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2009-07-27 04:00:17 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2009-07-27 04:00:17 (GMT) |
commit | c1ad3676c4b56b80663d271ac367a65cc41c39ab (patch) | |
tree | 42f19502941ff1d02d45b92a7f8a0a3f6945002e /c++/src/H5AbstractDs.cpp | |
parent | 405ea51bb7728dc696e29694b22e81dc4b6ce2c1 (diff) | |
download | hdf5-c1ad3676c4b56b80663d271ac367a65cc41c39ab.zip hdf5-c1ad3676c4b56b80663d271ac367a65cc41c39ab.tar.gz hdf5-c1ad3676c4b56b80663d271ac367a65cc41c39ab.tar.bz2 |
[svn-r17238] Purpose: Fix bug and improve readability
Description:
- Revised DataSet::write to pass in correct string buffer
- Added member function DataSet::getInMemDataSize() to simplify
getting the dataset's data size in memory.
- Added private functions for reading fixed- and variable-length
string data: p_read_fixed_len and p_read_variable_len.
- Added tests to write/read array of strings to datasets.
Platforms tested:
Linux/32 2.6 (jam)
FreeBSD/64 6.3 (liberty)
SunOS 5.10 (linew)
Diffstat (limited to 'c++/src/H5AbstractDs.cpp')
-rw-r--r-- | c++/src/H5AbstractDs.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/c++/src/H5AbstractDs.cpp b/c++/src/H5AbstractDs.cpp index a61cc88..19eeb33 100644 --- a/c++/src/H5AbstractDs.cpp +++ b/c++/src/H5AbstractDs.cpp @@ -25,6 +25,11 @@ #include "H5CommonFG.h" #include "H5Alltypes.h" +#include <iostream> // remove when done + + using std::cerr; + using std::endl; + #ifndef H5_NO_NAMESPACE namespace H5 { #endif |