summaryrefslogtreecommitdiffstats
path: root/c++/src
Commit message (Collapse)AuthorAgeFilesLines
* Miscellaneous improvements (cont.)Binh-Minh Ribler2017-08-252-0/+21
| | | | | | | | | Description: Put back H5Location::getNumObjs and marked as deprecated in favor of Group::getNumObjs. Platforms tested: Linux/32 2.6 (jam) Darwin (osx1010test)
* Miscellaneous improvementsBinh-Minh Ribler2017-08-247-69/+71
| | | | | | | | | | | Description: Moved H5Location::getNumObjs to Group::getNumObjs (i.e., H5Gget_info) Switched reinterpret_cast to static_cast in H5Object::iterateAttrs Miscellaneous cleanup Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* * Reverted removal of H5I_REFERENCE to avoid breaking binaryDana Robinson2017-07-032-0/+20
| | | | | | compatibility. * Added a quick H5I_REFERENCE smoke check to test_misc19() in tmisc.c.
* Purged the unused H5I_REFERENCE from the library.Dana Robinson2017-07-011-2/+0
|
* Merge pull request #426 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10 to ↵Larry Knox2017-04-2566-396/+264
| | | | | | | | | | hdf5_1_10 * commit '54957d37f5aa73912763dbb6e308555e863c43f4': Commit copyright header change for src/H5PLpkg.c which was added after running script to make changes. Add new files in release_docs to MANIFEST. Cimmit changes to Makefile.in(s) and H5PL.c that resulted from running autogen.sh. Merge pull request #407 in HDFFV/hdf5 from ~LRKNOX/hdf5_lrk:hdf5_1_10_1 to hdf5_1_10_1 Change copyright headers to replace url referring to file to be removed and replace it with new url for COPYING file.
* Description:Binh-Minh Ribler2017-03-2117-80/+116
| | | | | | | | | Fixed typos and missing items in function headers, that were revealed by Doxygen, and revised various comments. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* Extend h5vers to update version strings in java files and h5repacklrknox2017-03-201-1/+1
| | | | | | | | version test expected output file. Update version on develop branch to 1.11.0. Please enter the commit message for your changes. Lines starting
* Purpose: Add new C++ wrappersBinh-Minh Ribler2017-03-193-31/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Because H5Pset_file_space and H5Pget_file_space are deprecated, changed to make wrappers for the new functions instead: H5Ps/get_file_space_strategy H5Ps/get_file_space_page_size New wrappers in FileCreatPropList: // Sets the strategy and the threshold value that the library will // will employ in managing file space. void setFileSpaceStrategy(H5F_fspace_strategy_t strategy, hbool_t persist, hsize_t threshold) const; // Returns the strategy that the library uses in managing file space. void getFileSpaceStrategy(H5F_fspace_strategy_t& strategy, hbool_t& persist, hsize_t& threshold) const; // Sets the file space page size for paged aggregation. void setFileSpacePagesize(hsize_t fsp_psize) const; // Returns the threshold value that the library uses in tracking free // space sections. hsize_t getFileSpacePagesize() const; Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* Description:Binh-Minh Ribler2017-03-171-4/+4
| | | | | | Fixed typos. Platforms tested: Linux/64 (jelly)
* Description:Binh-Minh Ribler2017-03-172-2/+66
| | | | | | | | | Deprecating versions of PropList::setProperty that have arguments that miss "const" Platforms tested: Linux/64 (jelly) Linux/64 (platypus) Darwin (osx1010test)
* Description:Binh-Minh Ribler2017-03-1735-149/+182
| | | | | | | Miscellaneous clean-up: format and comments Platforms tested: Linux/64 (jelly) Darwin (osx1010test)
* Merge pull request #334 in HDFFV/hdf5 from ~BMRIBLER/hdf5_bmr_cpp2:develop ↵Binh-Minh Ribler2017-03-1611-8/+219
|\ | | | | | | | | | | | | to develop * commit '98090fe3b08a0ff85ae9bc93218a14017a6f37fe': Purpose: Add new C++ wrappers Description: Added wrappers for H5Iis_valid, H5Ps/get_nlinks, H5Tget_create_plist, H5Oopen, H5Oclose and H5Pset_virtual
| * Purpose: Add new C++ wrappersBinh-Minh Ribler2017-03-1411-8/+219
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Added wrappers for H5Iis_valid, H5Ps/get_nlinks, H5Tget_create_plist, H5Oopen, H5Oclose and H5Pset_virtual // Checks if the given ID is valid. static bool isValid(hid_t an_id); // Sets the number of soft or user-defined links that can be // traversed before a failure occurs. void setNumLinks(size_t nlinks) const; // Gets the number of soft or user-defined link traversals allowed size_t getNumLinks() const; // Returns a copy of the creation property list of a datatype. PropList getCreatePlist() const; // Opens an object within a group or a file, i.e., root group. hid_t getObjId(const char* name,...); hid_t getObjId(const H5std_string& name,...); // Closes an object opened by getObjId(). void closeObjId(hid_t obj_id) const; // Maps elements of a virtual dataset to elements of the source dataset. void setVirtual(const DataSpace& vspace, const char *src_fname,...); void setVirtual(const DataSpace& vspace, const H5std_string src_fname,...); Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* | Final merge of page buffering branch to developQuincey Koziol2017-03-143-1/+5
|/
* Description:Binh-Minh Ribler2017-03-0361-9034/+9024
| | | | | | Only format changes: mostly tabs vs. spaces Platforms tested: Linux/64 (jelly) - very minor
* Purpose: Add new C++ wrappersBinh-Minh Ribler2017-02-235-3/+97
| | | | | | | | | | | | | | | | | | | Description: Added wrappers for H5Fget_info2, H5Inmembers, and H5Itype_exists // Gets general information about this file. void getFileInfo(H5F_info2_t& file_info) const; // Returns the number of members in a type. static hsize_t getNumMembers(H5I_type_t type); // Determines if an element type exists. static bool typeExists(H5I_type_t type); Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)
* Description:Binh-Minh Ribler2017-02-161-2/+10
| | | | | | Fixed and added function comments. Platform tested: Jam (very minor)
* Description:Binh-Minh Ribler2017-02-151-1/+1
| | | | | | Fixed small typos Platform tested: Jam (very minor)
* Purpose: Add new C++ wrappersBinh-Minh Ribler2017-02-152-0/+74
| | | | | | | | | | | | | | | | | | | | | Description: Added wrappers for H5Pset_file_space and H5Pget_file_space // Sets the strategy and the threshold value that the library will // will employ in managing file space. void setFileSpace(H5F_file_space_type_t strategy, hsize_t threshold) const; // Returns the strategy that the library uses in managing file space. H5F_file_space_type_t getFileSpaceStrategy() const; // Returns the threshold value that the library uses in tracking free // space sections. hsize_t getFileSpaceThreshold() const; Platforms tested: Linux/32 2.6 (jam) Linux/64 (jelly) Darwin (osx1010test)
* HDFFV-9875 enable static pdb and cleanup exportsAllen Byrne2017-02-031-1/+1
|
* HDFFV-9875 Fix target exports and add static tools pdb filesAllen Byrne2017-02-021-0/+1
|
* Update cmake min version and cmake command conventionAllen Byrne2017-01-101-4/+4
|
* Description:Binh-Minh Ribler2017-01-041-0/+2
| | | | Added H5LaccProp.[h,cpp].
* Removed commented section left in by mistake.Binh-Minh Ribler2017-01-031-8/+0
|
* Purpose: Add new wrappersBinh-Minh Ribler2016-12-2829-44/+286
| | | | | | | | | | | | | | Description: Added wrappers H5Location::exists() for H5Lexists. Added wrapper H5Object::objVersion() to return the header version of an HDF5 object. Added new class LinkAccPropList to be used by H5Location::exists() Added new exception: ObjHeaderIException for H5Object::objVersion() Rearranged source files in Makefile.am Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* Description:Binh-Minh Ribler2016-12-2319-65/+9
| | | | | | Removed commented out code and fixed miscellaneous typos. Platforms tested: Linux/32 2.6 (jam) (very minor)
* Purpose: Improvement for HDFFV-10004Binh-Minh Ribler2016-12-1936-410/+909
| | | | | | | | | | | | | | | | | | | | | Description: When adding wrappers for H5Lexists, a new class, LinkAccPropList, was added to the C++ API, triggered complicated circular dependencies. Thus, some improvement was made to resolve the problems. - Replaced existing functions openXxxType with individual type constructors + Added individual XxxType constructors to replace the existing functions openXxxType because it's rather awkward to use these functions. + Moved openXxxType from H5Location back to CommonFG + Put back CommonFG as a baseclass of Group for openXxxType functions. + This replacement should improve usability and prevent the problem of circular dependencies. - Removed overloaded constructor that takes an Attribute when there is already one that takes H5Location because Attribute inherits from H5Location now. Platforms tested: Linux/32 2.6 (jam) Darwin (osx1010test) Linux/64 (platypus)
* Snapshot version 1.9 release 235hdftest2016-12-161-1/+1
|
* Code style and warning cleanups, from revise_chunks branch.Quincey Koziol2016-11-062-2/+0
|
* Description:Binh-Minh Ribler2016-10-261-0/+2
| | | | | | | | | | | - In the test for HDFFV-9758, a pragma pack(1) caused failure on Emu because Sparc cannot access misaligned data. Changed it to pack() to do the default alignment. - Added DOXYGEN_SHOULD_SKIP_THIS blocks to private elements to prevent warnings from doxygen. Platforms tested: SunOS 5.11 (emu) Linux/32 2.6 (jam)
* Description:Binh-Minh Ribler2016-10-1957-257/+20
| | | | | | | | | | | | Removed obsolet macros from C++ API: H5_NO_NAMESPACE, H5_NO_STD, __cplusplus Leave OLD_HEADER_FILENAME because iostream.h might still be in use, until further checking is done. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test) Jelly
* Description:Binh-Minh Ribler2016-10-142-6/+3
| | | | | | | | Fixed typo that caused daily test failed when --enable-deprecated-symbols is used. Also, removed a commented-out function. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) with --enable-deprecated-symbols
* Description:Binh-Minh Ribler2016-10-142-2/+0
| | | | | | Removed commented out lines. Platform tested Jam (only comments)
* Purpose: Updated documentationBinh-Minh Ribler2016-10-1424-75/+115
| | | | | | | | | Description: Revised class brief description and other comments for up-to-date info. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* Purpose: Fix bug HDFFR-9920 cont.Binh-Minh Ribler2016-10-1426-1466/+1494
| | | | | | | | | | | | | Description: Adding user's test revealed a flaw in the fix. Moved CommonFG's functions in Group to H5Location, so that they could be called by objects that can be used to specify a location Also, rearranged many "#include" header files to resolve conflicts. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* Add support for namespace and add tools to binaries configAllen Byrne2016-10-141-0/+1
|
* Snapshot release: increment version.lrknox2016-10-011-1/+1
|
* [svn-r30311] Purpose: Fix bug HDFFR-9920 cont.Binh-Minh Ribler2016-08-2224-411/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | trunk: Description: Continued rearranging the classes to model the relationship of HDF5 objects more accurately. The changes included: - in the baseclass list of Attribute, changed "public IdComponent" to "public H5Location", because location sometime can be specified with attribute - moved H5A wrappers in H5Location to H5Object because H5A functions can't be called on attribute id - removed the stubs Attribute::iterateAttrs and Attribute::renameAttr - removed Attribute::getFileName and Attribute::flush, because H5Location has them - result of the modified partial class diagram, regarding Attribute IdComponent | H5Location AbstractDs / \ / H5Object Attribute Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r30309] Purpose: Fix bug HDFFR-9920Binh-Minh Ribler2016-08-2022-1405/+1475
| | | | | | | | | | | | | | | | | | | | | | | | | | | Description: Rearranged the classes to model the relationship of HDF5 objects more accurately. The changes included: - moved CommonFG's methods to Group - removed CommonFG from Group's base class list - removed CommonFG from H5File's base class list and changed "public H5Location" to "public Group" in the base class list - CommonFG became unused - result of the modified partial class diagram: IdComponent | H5Location / H5Object | / / \ DadaType Group DataSet | H5File Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r30279] Purpose: Code improvement (HDFFR-9725)Binh-Minh Ribler2016-08-1213-101/+78
| | | | | | | | | Description: Removed deprecated functions in previous releases due to missing const. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r30272] Purpose: Code improvementBinh-Minh Ribler2016-08-099-82/+37
| | | | | | | | | | | Description: - Added "const" to arguments that should be const - Added "const" to const functions, i.e., function that don't change the objects they operate on. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r30058] Correct typo in compile scripts that causes dropping of ↵Larry Knox2016-06-081-1/+1
| | | | | | filename in -o outfile. Addresses HDFFV-9530 and HDFFV-9938.
* [svn-r29862] Convert source list names from *_SRCS to *_SOURCES.Allen Byrne2016-05-041-3/+3
| | | | Add/convert most tools to use new HDF5_TOOLS_DIR instead of HDF5_TOOLS_SRC_DIR CMake VAR.
* [svn-r29786] Purpose: Add new wrapperBinh-Minh Ribler2016-04-253-16/+25
| | | | | | | | | Description: Added wrapper for H5Tset_nbit: void DSetCreatPropList::setNbit() const. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29782] Purpose: Code improvementBinh-Minh Ribler2016-04-244-110/+55
| | | | | | | | | | | | | 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)
* [svn-r29766] Description:Binh-Minh Ribler2016-04-221-1/+1
| | | | | | | - Changed object in catch statements to reference (left over from previous) Platforms tested: Linux/32 2.6 (jam) (very minor)
* [svn-r29759] Purpose: Code improvementsBinh-Minh Ribler2016-04-2215-75/+64
| | | | | | | | | | | | 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 Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)
* [svn-r29379] Add individual LT_VERS_* variables for wrapper libraries: c++, ↵Larry Knox2016-03-091-1/+1
| | | | | | | | | | | | | | | | fortran, java, hl, hl/c++, hl/fortran to so that the shared object version numbers can be incremented independently. Disabled auto-increment of shared object version numbers by h5vers. Files modified: config/lt_vers.am java/src/jni/Makefile.am hl/src/Makefile.am hl/c++/src/Makefile.am hl/fortran/src/Makefile.am c++/src/Makefile.am bin/h5vers fortran/src/Makefile.am
* [svn-r29362] Description:Binh-Minh Ribler2016-03-091-1/+0
| | | | | | Removed another left-over commented-out line. Platforms tested: Linux/64 (platypus) - very minor
* [svn-r29361] Purpose: CorrectionBinh-Minh Ribler2016-03-091-2/+2
| | | | | | | | | | Description: Replaced static_cast with reinterpret_cast for "void *". Removed some commented-out old code. Platforms tested: Linux/32 2.6 (jam) Linux/64 (platypus) Darwin (osx1010test)