summaryrefslogtreecommitdiffstats
path: root/c++/src/H5StrType.h
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5StrType.h')
-rw-r--r--c++/src/H5StrType.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/c++/src/H5StrType.h b/c++/src/H5StrType.h
index abac8de..24c9ca3 100644
--- a/c++/src/H5StrType.h
+++ b/c++/src/H5StrType.h
@@ -20,9 +20,8 @@ namespace H5 {
/*! \class StrType
\brief StrType is a derivative of a DataType and operates on HDF5
string datatype.
-
- Inheritance: AtomType -> DataType -> H5Object -> H5Location -> IdComponent
*/
+// Inheritance: AtomType -> DataType -> H5Object -> H5Location -> IdComponent
class H5_DLLCPP StrType : public AtomType {
public:
// Creates a string type using a predefined type
@@ -41,6 +40,10 @@ class H5_DLLCPP StrType : public AtomType {
StrType(const H5Location& loc, const char* name);
StrType(const H5Location& loc, const H5std_string& name);
+ // Returns an StrType object via DataType* by decoding the
+ // binary object description of this type.
+ virtual DataType* decode() const;
+
// Retrieves the character set type of this string datatype.
H5T_cset_t getCset() const;