[svn-r29782] Purpose: Code improvement
Description:
- Removed ArrayType::rank and ArrayType::dimensions and modified the methods
ArrayType::getArrayNDims and ArrayType::getArrayDims to always call the
C functions to get the rank and dimensions.
- Overloaded ArrayType::getArrayNDims and ArrayType::getArrayDims to provide
const version and marked the non-const version deprecated.
Platforms tested:
Linux/32 2.6 (jam)
Linux/64 (platypus)
Darwin (osx1010test)
This commit is contained in:
@@ -145,7 +145,6 @@ ArrayType AbstractDs::getArrayType() const
|
||||
// problem described in the JIRA issue HDFFV-7947
|
||||
ArrayType arraytype;
|
||||
f_DataType_setId(&arraytype, p_get_type());
|
||||
arraytype.setArrayInfo();
|
||||
return(arraytype);
|
||||
}
|
||||
catch (DataSetIException& E) {
|
||||
|
||||
Reference in New Issue
Block a user