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.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/c++/src/H5StrType.h b/c++/src/H5StrType.h
index 9e4483e..fbf4ac4 100644
--- a/c++/src/H5StrType.h
+++ b/c++/src/H5StrType.h
@@ -46,6 +46,9 @@ class H5_DLLCPP StrType : public AtomType {
// Defines the storage mechanism for character strings.
void setStrpad(H5T_str_t strpad) const;
+ // Returns this class name
+ virtual string fromClass () const { return ("StrType"); }
+
// default constructor
StrType();