mirror of
https://github.com/HDFGroup/hdf5.git
synced 2026-09-25 04:09:44 +03:00
* Consolidate documentation under doc/ directory
Move user-facing guides from release_docs/ and doxygen/ into a single
doc/ root. release_docs/ now holds only release artifacts (changelogs,
history, release process, maintainer info).
- git mv release_docs/INSTALL*.md, USING_*.md, README_HPC.md,
BuildSystemNotes.md, AutotoolsToCMakeOptions.md,
HDF5_Library_2.0.0_Migration_Guide.md → doc/
- git mv doxygen/ → doc/doxygen/
- Update CMakeLists.txt: HDF5_DOXYGEN_DIR and add_subdirectory path
- Update CMakeInstallation.cmake: all install paths for moved files
- Update bin/make_vers: hardcoded doxygen/ path substitution
- Update doc/doxygen/CMakeLists.txt: EXAMPLES_DIRECTORY and comments
- Update README.md, CONTRIBUTING.md, SECURITY.md, config/README.md,
release_docs/RELEASE_PROCESS.md: links to moved files
- Update doxygen .dox files: release_docs/ URLs for moved guides
- Rewrite release_docs/README.md for narrowed scope
* Add HDF5_DOCS_DIR variable for doc/ root path
Introduce HDF5_DOCS_DIR = \${HDF5_SOURCE_DIR}/doc so that
CMakeInstallation.cmake and future callers reference the doc/
directory symbolically rather than by hardcoded path.
HDF5_DOXYGEN_DIR is now derived from HDF5_DOCS_DIR.
28 lines
590 B
C
28 lines
590 B
C
/* -*- c-file-style: "stroustrup" -*- */
|
|
|
|
//! <!-- [get_attribute_info] -->
|
|
|
|
H5T_class_t type_class;
|
|
size_t type_size;
|
|
hsize_t dims[0];
|
|
... status = H5LTget_attribute_info(file_id, "/", STRNAME, dims, &type_class, &type_size);
|
|
if (type_class == H5T_STRING) {
|
|
printf("Attribute is a string.\n");
|
|
printf("String size: %i\n", type_size);
|
|
|
|
//! <!-- [get_attribute_info] -->
|
|
|
|
//! <!-- [enum] -->
|
|
|
|
“H5T_ENUM
|
|
{
|
|
H5T_NATIVE_INT;
|
|
“Bob” 0;
|
|
“Elena” 1;
|
|
“Quincey” 2;
|
|
“Frank” 3;
|
|
}
|
|
”
|
|
|
|
//! <!-- [enum] -->
|