diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-07-24 17:52:43 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-07-24 17:52:43 (GMT) |
commit | f208550696646adcc6e59e339745b0433e28f770 (patch) | |
tree | cd1c0a8b8283d5fa128d988bb335f85dfa390931 /c++/src/H5CommonFG.h | |
parent | 3cba75f060cafc0171e48cc3cc2ef17a20bf82ea (diff) | |
download | hdf5-f208550696646adcc6e59e339745b0433e28f770.zip hdf5-f208550696646adcc6e59e339745b0433e28f770.tar.gz hdf5-f208550696646adcc6e59e339745b0433e28f770.tar.bz2 |
[svn-r11149] Purpose: Fix bugzilla #406
Description:
Added these missing member functions:
AbstractDs::getArrayType
AbstractDs::getVarLenType
CommonFG::openArrayType
CommonFG::openVarLenType
CompType::getMemberArrayType
CompType::getMemberVarLenType
Platforms tested:
Linux 2.4 (heping)
IRIX64 with -n32 (modi4)
Linux 2.4 w/PGI (colonelk)
Diffstat (limited to 'c++/src/H5CommonFG.h')
-rw-r--r-- | c++/src/H5CommonFG.h | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/c++/src/H5CommonFG.h b/c++/src/H5CommonFG.h index 7541627..1ad18f2 100644 --- a/c++/src/H5CommonFG.h +++ b/c++/src/H5CommonFG.h @@ -26,6 +26,8 @@ namespace H5 { class Group; class H5File; +class ArrayType; +class VarLenType; class H5_DLLCPP CommonFG { public: // Creates a new group at this location which can be a file @@ -111,14 +113,18 @@ class H5_DLLCPP CommonFG { DataType openDataType(const char* name) const; DataType openDataType(const string& name) const; - // Opens a named enumeration datatype in this location. - EnumType openEnumType(const char* name) const; - EnumType openEnumType(const string& name) const; + // Opens a named array datatype in this location. + ArrayType openArrayType(const char* name) const; + ArrayType openArrayType(const string& name) const; // Opens a named compound datatype in this location. CompType openCompType(const char* name) const; CompType openCompType(const string& name) const; + // Opens a named enumeration datatype in this location. + EnumType openEnumType(const char* name) const; + EnumType openEnumType(const string& name) const; + // Opens a named integer datatype in this location. IntType openIntType(const char* name) const; IntType openIntType(const string& name) const; @@ -131,6 +137,10 @@ class H5_DLLCPP CommonFG { StrType openStrType(const char* name) const; StrType openStrType(const string& name) const; + // Opens a named variable length datatype in this location. + VarLenType openVarLenType(const char* name) const; + VarLenType openVarLenType(const string& name) const; + /// For subclasses, H5File and Group, to return the correct /// object id, i.e. file or group id. virtual hid_t getLocId() const = 0; |