summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBinh-Minh Ribler <bmribler@hdfgroup.org>2018-05-15 01:45:09 (GMT)
committerBinh-Minh Ribler <bmribler@hdfgroup.org>2018-05-15 01:45:09 (GMT)
commitb91e20cbf58df70538d831a3086a59d89d528026 (patch)
treef57c1dc01940e59bcd49fa73f5db08451593fa7e
parentf1a33b351c456c0841fcb79b907707a9caa2fed5 (diff)
parent3759814975e43229892f238e8451fb0ceea16095 (diff)
downloadhdf5-b91e20cbf58df70538d831a3086a59d89d528026.zip
hdf5-b91e20cbf58df70538d831a3086a59d89d528026.tar.gz
hdf5-b91e20cbf58df70538d831a3086a59d89d528026.tar.bz2
Merge pull request #1063 in HDFFV/hdf5 from ~BMRIBLER/hdf5_8_21_bmr:hdf5_1_8_21 to hdf5_1_8_21
* commit '3759814975e43229892f238e8451fb0ceea16095': Fixed typos Fixed typos
-rw-r--r--c++/src/H5StrcreatProp.cpp17
1 files changed, 7 insertions, 10 deletions
diff --git a/c++/src/H5StrcreatProp.cpp b/c++/src/H5StrcreatProp.cpp
index b296a65..a12dc00 100644
--- a/c++/src/H5StrcreatProp.cpp
+++ b/c++/src/H5StrcreatProp.cpp
@@ -13,11 +13,6 @@
#include <string>
-#include <iostream>
- using std::cerr;
- using std::endl;
-
-
#include "H5Include.h"
#include "H5Exception.h"
#include "H5IdComponent.h"
@@ -32,7 +27,7 @@ namespace H5 {
//--------------------------------------------------------------------------
// Function: StrCreatPropList default constructor
///\brief Default constructor: Creates a string create property list
-// Programmer Binh-Minh Ribler - 2000
+// May 2018
//--------------------------------------------------------------------------
StrCreatPropList::StrCreatPropList() : PropList(H5P_STRING_CREATE) {}
@@ -41,7 +36,7 @@ StrCreatPropList::StrCreatPropList() : PropList(H5P_STRING_CREATE) {}
///\brief Copy constructor: makes a copy of the original
/// StrCreatPropList object.
///\param original - IN: StrCreatPropList instance to copy
-// Programmer Binh-Minh Ribler - 2000
+// May 2018
//--------------------------------------------------------------------------
StrCreatPropList::StrCreatPropList(const StrCreatPropList& original) : PropList(original) {}
@@ -50,7 +45,7 @@ StrCreatPropList::StrCreatPropList(const StrCreatPropList& original) : PropList(
///\brief Creates a file creation property list using the id of an
/// existing one.
///\param plist_id - IN: StrCreatPropList id to use
-// Programmer Binh-Minh Ribler - 2000
+// May 2018
//--------------------------------------------------------------------------
StrCreatPropList::StrCreatPropList(const hid_t plist_id) : PropList(plist_id) {}
@@ -59,8 +54,9 @@ StrCreatPropList::StrCreatPropList(const hid_t plist_id) : PropList(plist_id) {}
//--------------------------------------------------------------------------
// Function: StrCreatPropList::setCharEncoding
///\brief Sets the character encoding of the string.
+///\param encoding - IN: String encoding character set
///\exception H5::PropListIException
-// March 2018
+// May 2018
//--------------------------------------------------------------------------
void StrCreatPropList::setCharEncoding(H5T_cset_t encoding) const
{
@@ -75,8 +71,9 @@ void StrCreatPropList::setCharEncoding(H5T_cset_t encoding) const
//--------------------------------------------------------------------------
// Function: StrCreatPropList::getCharEncoding
///\brief Gets the character encoding of the string.
+///\return The string encoding character set
///\exception H5::PropListIException
-// March 2018
+// May 2018
//--------------------------------------------------------------------------
H5T_cset_t StrCreatPropList::getCharEncoding() const
{