[svn-r11245] Purpose:
Code cleanup
Description:
Trim trailing whitespace, which is making 'diff'ing the two branches
difficult.
Solution:
Ran this script in each directory:
foreach f (*.[ch] *.cpp)
sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f
end
Platforms tested:
FreeBSD 4.11 (sleipnir)
Too minor to require h5committest
This commit is contained in:
@@ -51,7 +51,7 @@ AbstractDs::AbstractDs( const AbstractDs& original ) : H5Object( original ) {}
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: AbstractDs::getTypeClass
|
||||
///\brief Returns the class of the datatype that is used by this
|
||||
///\brief Returns the class of the datatype that is used by this
|
||||
/// object, which can be a dataset or an attribute.
|
||||
///\return Datatype class identifier
|
||||
///\exception H5::DataTypeIException
|
||||
@@ -60,7 +60,7 @@ AbstractDs::AbstractDs( const AbstractDs& original ) : H5Object( original ) {}
|
||||
H5T_class_t AbstractDs::getTypeClass() const
|
||||
{
|
||||
// Gets the datatype used by this dataset or attribute.
|
||||
// p_get_type calls either H5Dget_type or H5Aget_type depending on
|
||||
// p_get_type calls either H5Dget_type or H5Aget_type depending on
|
||||
// which object invokes getTypeClass
|
||||
hid_t datatype_id;
|
||||
try {
|
||||
@@ -79,7 +79,7 @@ H5T_class_t AbstractDs::getTypeClass() const
|
||||
return( type_class );
|
||||
else
|
||||
{
|
||||
throw DataTypeIException(inMemFunc("getTypeClass"),
|
||||
throw DataTypeIException(inMemFunc("getTypeClass"),
|
||||
"H5Tget_class returns H5T_NO_CLASS");
|
||||
}
|
||||
}
|
||||
@@ -95,8 +95,8 @@ H5T_class_t AbstractDs::getTypeClass() const
|
||||
DataType AbstractDs::getDataType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getDataType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getDataType. Then, create and
|
||||
// return the DataType object
|
||||
try {
|
||||
DataType datatype(p_get_type());
|
||||
@@ -121,8 +121,8 @@ DataType AbstractDs::getDataType() const
|
||||
ArrayType AbstractDs::getArrayType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getArrayType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getArrayType. Then, create and
|
||||
// return the ArrayType object
|
||||
try {
|
||||
ArrayType arraytype(p_get_type());
|
||||
@@ -138,7 +138,7 @@ ArrayType AbstractDs::getArrayType() const
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: AbstractDs::getCompType
|
||||
///\brief Returns the compound datatype of this abstract dataset which
|
||||
///\brief Returns the compound datatype of this abstract dataset which
|
||||
/// can be a dataset or an attribute.
|
||||
///\return CompType instance
|
||||
///\exception H5::DataTypeIException
|
||||
@@ -147,8 +147,8 @@ ArrayType AbstractDs::getArrayType() const
|
||||
CompType AbstractDs::getCompType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getCompType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getCompType. Then, create and
|
||||
// return the CompType object
|
||||
try {
|
||||
CompType comptype(p_get_type());
|
||||
@@ -164,7 +164,7 @@ CompType AbstractDs::getCompType() const
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: AbstractDs::getEnumType
|
||||
///\brief Returns the enumeration datatype of this abstract dataset which
|
||||
///\brief Returns the enumeration datatype of this abstract dataset which
|
||||
/// can be a dataset or an attribute.
|
||||
///\return EnumType instance
|
||||
///\exception H5::DataTypeIException
|
||||
@@ -173,8 +173,8 @@ CompType AbstractDs::getCompType() const
|
||||
EnumType AbstractDs::getEnumType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getEnumType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getEnumType. Then, create and
|
||||
// return the EnumType object
|
||||
try {
|
||||
EnumType enumtype(p_get_type());
|
||||
@@ -190,7 +190,7 @@ EnumType AbstractDs::getEnumType() const
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: AbstractDs::getIntType
|
||||
///\brief Returns the integer datatype of this abstract dataset which
|
||||
///\brief Returns the integer datatype of this abstract dataset which
|
||||
/// can be a dataset or an attribute.
|
||||
///\return IntType instance
|
||||
///\exception H5::DataTypeIException
|
||||
@@ -199,8 +199,8 @@ EnumType AbstractDs::getEnumType() const
|
||||
IntType AbstractDs::getIntType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getIntType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getIntType. Then, create and
|
||||
// return the IntType object
|
||||
try {
|
||||
IntType inttype(p_get_type());
|
||||
@@ -225,8 +225,8 @@ IntType AbstractDs::getIntType() const
|
||||
FloatType AbstractDs::getFloatType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getFloatType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getFloatType. Then, create and
|
||||
// return the FloatType object
|
||||
try {
|
||||
FloatType floatype(p_get_type());
|
||||
@@ -242,7 +242,7 @@ FloatType AbstractDs::getFloatType() const
|
||||
|
||||
//--------------------------------------------------------------------------
|
||||
// Function: AbstractDs::getStrType
|
||||
///\brief Returns the string datatype of this abstract dataset which
|
||||
///\brief Returns the string datatype of this abstract dataset which
|
||||
/// can be a dataset or an attribute.
|
||||
///\return StrType instance
|
||||
///\exception H5::DataTypeIException
|
||||
@@ -251,8 +251,8 @@ FloatType AbstractDs::getFloatType() const
|
||||
StrType AbstractDs::getStrType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getStrType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getStrType. Then, create and
|
||||
// return the StrType object
|
||||
try {
|
||||
StrType strtype(p_get_type());
|
||||
@@ -277,8 +277,8 @@ StrType AbstractDs::getStrType() const
|
||||
VarLenType AbstractDs::getVarLenType() const
|
||||
{
|
||||
// Gets the id of the datatype used by this dataset or attribute using
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getVarLenType. Then, create and
|
||||
// p_get_type. p_get_type calls either H5Dget_type or H5Aget_type
|
||||
// depending on which object invokes getVarLenType. Then, create and
|
||||
// return the VarLenType object
|
||||
try {
|
||||
VarLenType varlentype(p_get_type());
|
||||
|
||||
Reference in New Issue
Block a user