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/H5CompType.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/H5CompType.h')
-rw-r--r-- | c++/src/H5CompType.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/c++/src/H5CompType.h b/c++/src/H5CompType.h index bc96969..ae38398 100644 --- a/c++/src/H5CompType.h +++ b/c++/src/H5CompType.h @@ -49,14 +49,18 @@ class H5_DLLCPP CompType : public DataType { // Returns the name of a member of this compound datatype. string getMemberName( unsigned member_num ) const; - // Returns the compound datatype of the specified member in - // this compound datatype. - CompType getMemberCompType( int member_num ) const; - // Returns the generic datatype of the specified member in // this compound datatype. DataType getMemberDataType( int member_num ) const; + // Returns the array datatype of the specified member in + // this compound datatype. + ArrayType getMemberArrayType( int member_num ) const; + + // Returns the compound datatype of the specified member in + // this compound datatype. + CompType getMemberCompType( int member_num ) const; + // Returns the enumeration datatype of the specified member in // this compound datatype. EnumType getMemberEnumType( int member_num ) const; @@ -73,6 +77,10 @@ class H5_DLLCPP CompType : public DataType { // this compound datatype. StrType getMemberStrType( int member_num ) const; + // Returns the variable length datatype of the specified member in + // this compound datatype. + VarLenType getMemberVarLenType( int member_num ) const; + // Returns the number of members in this compound datatype. int getNmembers() const; |