summaryrefslogtreecommitdiffstats
path: root/c++/src/H5CompType.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/src/H5CompType.cpp')
-rw-r--r--c++/src/H5CompType.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/c++/src/H5CompType.cpp b/c++/src/H5CompType.cpp
index 4655076..38731b0 100644
--- a/c++/src/H5CompType.cpp
+++ b/c++/src/H5CompType.cpp
@@ -191,7 +191,7 @@ H5T_class_t CompType::getMemberClass( unsigned member_num ) const
if( member_class == H5T_NO_CLASS )
{
throw DataTypeIException("CompType::getMemberClass",
- "H5Tget_member_class returns H5T_NO_CLASS");
+ "H5Tget_member_class returns H5T_NO_CLASS");
}
return(member_class);
}
@@ -255,42 +255,42 @@ ArrayType CompType::getMemberArrayType( unsigned member_num ) const
}
//--------------------------------------------------------------------------
-// Function: CompType::getMemberEnumType
-///\brief Returns the enumeration datatype of the specified member in
-/// this compound datatype.
+// Function: CompType::getMemberCompType
+///\brief Returns the compound datatype of the specified member in this
+/// compound datatype.
///\param member_num - IN: Zero-based index of the member
-///\return EnumType instance
+///\return CompType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-EnumType CompType::getMemberEnumType( unsigned member_num ) const
+CompType CompType::getMemberCompType( unsigned member_num ) const
{
try {
- EnumType enumtype(p_get_member_type(member_num));
- return(enumtype);
+ CompType comptype(p_get_member_type(member_num));
+ return(comptype);
}
catch (DataTypeIException E) {
- throw DataTypeIException("CompType::getMemberEnumType", E.getDetailMsg());
+ throw DataTypeIException("CompType::getMemberCompType", E.getDetailMsg());
}
}
//--------------------------------------------------------------------------
-// Function: CompType::getMemberCompType
-///\brief Returns the compound datatype of the specified member in this
-/// compound datatype.
+// Function: CompType::getMemberEnumType
+///\brief Returns the enumeration datatype of the specified member in
+/// this compound datatype.
///\param member_num - IN: Zero-based index of the member
-///\return CompType instance
+///\return EnumType instance
///\exception H5::DataTypeIException
// Programmer Binh-Minh Ribler - 2000
//--------------------------------------------------------------------------
-CompType CompType::getMemberCompType( unsigned member_num ) const
+EnumType CompType::getMemberEnumType( unsigned member_num ) const
{
try {
- CompType comptype(p_get_member_type(member_num));
- return(comptype);
+ EnumType enumtype(p_get_member_type(member_num));
+ return(enumtype);
}
catch (DataTypeIException E) {
- throw DataTypeIException("CompType::getMemberCompType", E.getDetailMsg());
+ throw DataTypeIException("CompType::getMemberEnumType", E.getDetailMsg());
}
}