Commit Graph

8 Commits

Author SHA1 Message Date
Binh-Minh Ribler
78ab45cb72 Adding new C++ wrappers
Description:
    - Added overloaded wrappers for H5Oget_info and H5Oget_info_by_name
        // Retrieves information about an object
        void getObjectInfo(H5O_info_t *oinfo) const;
        void getObjectInfo(const char *name, H5O_info_t *oinfo,
                const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
        void getObjectInfo(const H5std_string& name, H5O_info_t *oinfo,
                const LinkAccPropList& lapl = LinkAccPropList::DEFAULT) const;
    - Many miscellaneous cleanup for consistent appearance
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2017-10-17 23:56:16 -05:00
lrknox
583952ed15 Change copyright headers to replace url referring to file to be
removed and replace it with new url for COPYING file.
2017-05-16 10:16:12 -05:00
Binh-Minh Ribler
bee3ca7429 Description:
Only format changes: mostly tabs vs. spaces
Platforms tested:
    Linux/64 (jelly)
2017-04-11 14:44:31 -05:00
Binh-Minh Ribler
7f7248220a Purpose: Fix HDFFV-9532
Description:
    Removed obsolete macros from C++ API library and tests:
    H5_NO_NAMESPACE and __cplusplus
    Leave OLD_HEADER_FILENAME because iostream.h might still be in use,
    until further checking is done.
    Leave H5_NO_STD to consider retiring H5std_string first.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (jelly)
    Darwin (osx1010test)
2016-10-23 10:59:44 -05:00
Binh-Minh Ribler
c036aa1575 [svn-r29784] 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.
    Merged from trunk r29782.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-24 15:30:27 -05:00
Binh-Minh Ribler
d490c837eb [svn-r29769] Purpose: Code improvements
Description:
    - Changed object in catch statements to reference
    - Replaced old-style casts or reinterpret_cast with static_cast
    - Removed unused name H5Library::need_cleanup
    - Removed Exception::printError from documentation
    Merged from trunk r29759 and r29766
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-22 17:42:22 -05:00
Binh-Minh Ribler
5aea4260b5 [svn-r29761] Purpose: Add function
Description:
    Added member function ArrayType::operator= because ArrayType has
    pointer data members.
    Merged from trunk r29306.
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-04-22 10:26:39 -05:00
Binh-Minh Ribler
4d6662e86c [svn-r28926] Purpose: Fix user reported problem
Description:
    User Adam Rosenberger reported a failure when using the member function
    AbstractDs::getArrayType().  This problem was caused by missing
    initialization of the ArrayType's members in some cases.
Solution:
    - Added ArrayType::setArrayInfo() to retrieve rank and dimensions of
      an array and store them in memory for easy access.
    - Re-factored a few functions to use the new function.
    - We'll give him 1.8.16 patch
    Merged from trunk r28905
Platforms tested:
    Linux/32 2.6 (jam)
    Linux/64 (platypus)
    Darwin (osx1010test)
2016-01-18 10:06:51 -05:00