summaryrefslogtreecommitdiffstats
path: root/c++/src/H5StrType.cpp
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-02 02:11:25 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2007-01-02 02:11:25 (GMT)
commite5fff45c0909d91912ee6455c0522ca5112b28a3 (patch)
tree9c86b3cf58c959f612be6aa32287e0053d4dadd6 /c++/src/H5StrType.cpp
parent2d42a6277c8050d029af8fc306c6c2b3c0bf57be (diff)
downloadhdf5-e5fff45c0909d91912ee6455c0522ca5112b28a3.zip
hdf5-e5fff45c0909d91912ee6455c0522ca5112b28a3.tar.gz
hdf5-e5fff45c0909d91912ee6455c0522ca5112b28a3.tar.bz2
[svn-r13092] Purpose: Maintenance
Description: Added overloaded method DataSet::vlenReclaim, that has better prototype. Fixed some typos. Platforms tested AIX 5.1 (copper) SunOS 5.8 64-bit (sol) Linux 2.6 (kagiso)
Diffstat (limited to 'c++/src/H5StrType.cpp')
-rw-r--r--c++/src/H5StrType.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/c++/src/H5StrType.cpp b/c++/src/H5StrType.cpp
index bbf2bf5..a47327d 100644
--- a/c++/src/H5StrType.cpp
+++ b/c++/src/H5StrType.cpp
@@ -74,7 +74,7 @@ StrType::StrType( const PredType& pred_type ) : AtomType()
/// its overloaded below as StrType(0, size).
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-StrType::StrType( const PredType& pred_type, const size_t size ) : AtomType()
+StrType::StrType( const PredType& pred_type, const size_t& size ) : AtomType()
{
// use DataType::copy to make a copy of the string predefined type
// then set its length
@@ -179,7 +179,7 @@ void StrType::setCset( H5T_cset_t cset ) const
}
//--------------------------------------------------------------------------
-// Function: StrType::getCset
+// Function: StrType::getStrpad
///\brief Retrieves the storage mechanism for of this string datatype.
///\return String storage mechanism, which can be:
/// \li \c H5T_STR_NULLTERM (0) - Null terminate (as C does)