From 70c6a7a90129d66fd9580011f3bf9e7199b7d1d1 Mon Sep 17 00:00:00 2001
From: bmribler <39579120+bmribler@users.noreply.github.com>
Date: Wed, 14 Aug 2024 16:54:44 -0400
Subject: [PATCH] Replace alias \Code with \TText (#4714)
Fixed GH-2151
---
doxygen/aliases | 4 +-
doxygen/dox/About.dox | 12 +-
doxygen/dox/H5AC_cache_config_t.dox | 26 +-
doxygen/dox/MetadataCachingInHDF5.dox | 26 +-
doxygen/dox/ReferenceManual.dox | 8 +-
doxygen/dox/api-compat-macros.dox | 390 +++++++++++++-------------
doxygen/dox/cookbook/Files.dox | 8 +-
doxygen/dox/rm-template.dox | 4 +-
src/H5Dpublic.h | 2 +-
src/H5Emodule.h | 2 +-
src/H5FDlog.h | 64 ++---
src/H5FDmulti.h | 22 +-
src/H5Fpublic.h | 28 +-
src/H5Gpublic.h | 18 +-
src/H5Lpublic.h | 4 +-
src/H5Ppublic.h | 200 ++++++-------
src/H5Tmodule.h | 6 +-
src/H5Tpublic.h | 28 +-
src/H5public.h | 10 +-
19 files changed, 431 insertions(+), 431 deletions(-)
diff --git a/doxygen/aliases b/doxygen/aliases
index da412d5c8f1..4bb6e8c0792 100644
--- a/doxygen/aliases
+++ b/doxygen/aliases
@@ -29,7 +29,7 @@ ALIASES += PLURL="github.com/HDFGroup/hdf5_plugins/blob/master"
ALIASES += Bold{1}="\1"
ALIASES += Emph{1}="\1"
-ALIASES += Code{1}="\1"
+ALIASES += TText{1}="\1"
################################################################################
# Return values
@@ -249,7 +249,7 @@ ALIASES += es_id{1}="\param[in] \1 Event set identifier"
# Others
################################################################################
-ALIASES += cpp_c_api_note="\attention \Bold{C++ Developers using HDF5 C-API functions beware:}\n Several functions in this C-API take function pointers or callbacks as arguments. Examples include H5Pset_elink_cb(), H5Pset_type_conv_cb(), H5Tconvert(), and H5Ewalk2(). Application code must ensure that those callback functions return normally such to allow the HDF5 to manage its resources and maintain a consistent state. For instance, those functions must not use the C \c setjmp / \c longjmp mechanism to leave those callback functions. Within the context of C++, any exceptions thrown within the callback function must be caught, such as with a \Code{catch(…)} statement. Any exception state can be placed within the provided user data function call arguments, and may be thrown again once the calling function has returned. Exceptions raised and not handled inside the callback are not supported as it might leave the HDF5 library in an inconsistent state. Similarly, using C++20 coroutines cannot be used as callbacks, since they do not support plain return statements. If a callback function yields execution to another C++20 coroutine calling HDF5 functions as well, this may lead to undefined behavior."
+ALIASES += cpp_c_api_note="\attention \Bold{C++ Developers using HDF5 C-API functions beware:}\n Several functions in this C-API take function pointers or callbacks as arguments. Examples include H5Pset_elink_cb(), H5Pset_type_conv_cb(), H5Tconvert(), and H5Ewalk2(). Application code must ensure that those callback functions return normally such to allow the HDF5 to manage its resources and maintain a consistent state. For instance, those functions must not use the C \c setjmp / \c longjmp mechanism to leave those callback functions. Within the context of C++, any exceptions thrown within the callback function must be caught, such as with a \TText{catch(…)} statement. Any exception state can be placed within the provided user data function call arguments, and may be thrown again once the calling function has returned. Exceptions raised and not handled inside the callback are not supported as it might leave the HDF5 library in an inconsistent state. Similarly, using C++20 coroutines cannot be used as callbacks, since they do not support plain return statements. If a callback function yields execution to another C++20 coroutine calling HDF5 functions as well, this may lead to undefined behavior."
ALIASES += par_compr_note="\attention If you are planning to use compression with parallel HDF5, ensure that calls to H5Dwrite() occur in collective mode. In other words, all MPI ranks (in the relevant communicator) call H5Dwrite() and pass a dataset transfer property list with the MPI-IO collective option property set to #H5FD_MPIO_COLLECTIVE_IO.\n Note that data transformations are currently \Bold{not} supported when writing to datasets in parallel and with compression enabled."
ALIASES += sa_metadata_ops="\sa \li H5Pget_all_coll_metadata_ops() \li H5Pget_coll_metadata_write() \li H5Pset_all_coll_metadata_ops() \li H5Pset_coll_metadata_write() \li \ref maybe_metadata_reads"
diff --git a/doxygen/dox/About.dox b/doxygen/dox/About.dox
index d4a1db2bc62..e145516a30e 100644
--- a/doxygen/dox/About.dox
+++ b/doxygen/dox/About.dox
@@ -33,8 +33,8 @@ Please refer to the \ref RMT for guidance on how to create a new reference manua
\subsubsection new_example Adding and Referencing API Examples
-For each HDF5 module, such as \Code{H5F}, there is an examples source file called
-\Code{H5*_examples.c}. For example, the \Code{H5F} API examples are located in
+For each HDF5 module, such as \TText{H5F}, there is an examples source file called
+\TText{H5*_examples.c}. For example, the \TText{H5F} API examples are located in
H5F_examples.c
. Examples are code blocks marked as Doxygen
snippets.
@@ -94,7 +94,7 @@ ask for help if unsure!
For ease of reference, we define custom commands for each RFC in the RFCs section
of the
aliases
-file. For example the custom command \Code{ref_rfc20141210} can be used to insert a
+file. For example the custom command \TText{ref_rfc20141210} can be used to insert a
reference to "RFC: Virtual Object Layer". In other words, the markup
\verbatim
\ref_rfc20141210
@@ -105,8 +105,8 @@ yields a clickable link:
To add a new RFC, add a custom command for the RFC to the
aliases
-file. The naming convention for the custom command is \Code{ref_rfcYYYYMMDD},
-where \Code{YYYYMMDD} is the ID of the RFC. The URL is composed of the prefix
+file. The naming convention for the custom command is \TText{ref_rfcYYYYMMDD},
+where \TText{YYYYMMDD} is the ID of the RFC. The URL is composed of the prefix
\verbatim
https://\RFCURL/
\endverbatim
@@ -116,4 +116,4 @@ be
https://\RFCURL/my_great_rfc_name.pdf
\endverbatim
-*/
\ No newline at end of file
+*/
diff --git a/doxygen/dox/H5AC_cache_config_t.dox b/doxygen/dox/H5AC_cache_config_t.dox
index 3faecd5d185..40d83301b2b 100644
--- a/doxygen/dox/H5AC_cache_config_t.dox
+++ b/doxygen/dox/H5AC_cache_config_t.dox
@@ -24,7 +24,7 @@
* Boolean field indicating whether the trace_file_name
* field should be used to open a trace file for the cache.
*
- * \Emph{*** DEPRECATED ***} Use \Code{H5Fstart/stop} logging functions instead
+ * \Emph{*** DEPRECATED ***} Use \TText{H5Fstart/stop} logging functions instead
*
* The trace file is a debugging feature that allow the capture of
* top level metadata cache requests for purposes of debugging and/or
@@ -42,7 +42,7 @@
* Boolean field indicating whether the current trace
* file (if any) should be closed.
*
- * \Emph{*** DEPRECATED ***} Use \Code{H5Fstart/stop} logging functions instead
+ * \Emph{*** DEPRECATED ***} Use \TText{H5Fstart/stop} logging functions instead
*
* See the above comments on the open_trace_file field. This field
* should be set to \c FALSE unless there is an open trace file on the
@@ -54,7 +54,7 @@
* Full path of the trace file to be opened if the
* open_trace_file field is \c TRUE.
*
- * \Emph{*** DEPRECATED ***} Use \Code{H5Fstart/stop} logging functions instead
+ * \Emph{*** DEPRECATED ***} Use \TText{H5Fstart/stop} logging functions instead
*
* In the parallel case, an ascii representation of the mpi rank of
* the process will be appended to the file name to yield a unique
@@ -78,7 +78,7 @@
* soon as possible and monitor cache size.
*
* At present, evictions can only be disabled if automatic
- * cache resizing is also disabled (that is, \Code{(incr_mode ==
+ * cache resizing is also disabled (that is, \TText{(incr_mode ==
* H5C_incr__off ) && ( decr_mode == H5C_decr__off )}). There
* is no logical reason why this should be so, but it simplifies
* implementation and testing, and I can't think of any reason
@@ -95,7 +95,7 @@
* \par initial_size
* If enabled, this field contain the size the cache is
* to be set to upon receipt of this structure. Needless to say,
- * initial_size must lie in the closed interval \Code{[min_size, max_size]}.
+ * initial_size must lie in the closed interval \TText{[min_size, max_size]}.
*
* \par min_clean_fraction
* \c double in the range 0 to 1 indicating the fraction
@@ -105,13 +105,13 @@
* \par max_size
* Maximum size to which the cache can be adjusted. The
* supplied value must fall in the closed interval
- * \Code{[MIN_MAX_CACHE_SIZE, MAX_MAX_CACHE_SIZE]}. Also, \c max_size must
+ * \TText{[MIN_MAX_CACHE_SIZE, MAX_MAX_CACHE_SIZE]}. Also, \c max_size must
* be greater than or equal to \c min_size.
*
* \par min_size
* Minimum size to which the cache can be adjusted. The
* supplied value must fall in the closed interval
- * \Code{[H5C__MIN_MAX_CACHE_SIZE, H5C__MAX_MAX_CACHE_SIZE]}. Also, \c min_size
+ * \TText{[H5C__MIN_MAX_CACHE_SIZE, H5C__MAX_MAX_CACHE_SIZE]}. Also, \c min_size
* must be less than or equal to \c max_size.
*
* \par epoch_length
@@ -122,7 +122,7 @@
*
* At the end of an epoch, we discard prior hit rate data and start
* collecting afresh. The epoch_length must lie in the closed
- * interval \Code{[H5C__MIN_AR_EPOCH_LENGTH, H5C__MAX_AR_EPOCH_LENGTH]}.
+ * interval \TText{[H5C__MIN_AR_EPOCH_LENGTH, H5C__MAX_AR_EPOCH_LENGTH]}.
* \endparblock
*
*
@@ -201,8 +201,8 @@
* \li \c H5C_flash_incr__add_space: Let \c x be either the size of a newly
* newly inserted entry, or the number of bytes by which the
* size of an existing entry has been increased.\n
- * If \Code{x > flash_threshold * current max cache size},
- * increase the current maximum cache size by \Code{x * flash_multiple}
+ * If \TText{x > flash_threshold * current max cache size},
+ * increase the current maximum cache size by \TText{x * flash_multiple}
* less any free space in the cache, and star a new epoch. For
* now at least, pay no attention to the maximum increment.
*
@@ -213,7 +213,7 @@
* With a little thought, it should be obvious that the above flash
* cache size increase algorithm is not sufficient for all circumstances
* -- for example, suppose the user round robins through
- * \Code{(1/flash_threshold) +1} groups, adding one data set to each on each
+ * \TText{(1/flash_threshold) +1} groups, adding one data set to each on each
* pass. Then all will increase in size at about the same time, requiring
* the max cache size to at least double to maintain acceptable
* performance, however the above flash increment algorithm will not be
@@ -319,7 +319,7 @@
* This field contains the number of epochs an entry must remain
* unaccessed before it is evicted in an attempt to reduce the
* cache size. If applicable, this field must lie in the range
- * \Code{[1, H5C__MAX_EPOCH_MARKERS]}.
+ * \TText{[1, H5C__MAX_EPOCH_MARKERS]}.
* \endparblock
*
* \par apply_empty_reserve
@@ -412,4 +412,4 @@
* received from process zero.\n
* To avoid possible messages from the past/future, all caches must
* wait until all caches are done before leaving the sync point.
- */
\ No newline at end of file
+ */
diff --git a/doxygen/dox/MetadataCachingInHDF5.dox b/doxygen/dox/MetadataCachingInHDF5.dox
index d522456483c..81c7b0bffc3 100644
--- a/doxygen/dox/MetadataCachingInHDF5.dox
+++ b/doxygen/dox/MetadataCachingInHDF5.dox
@@ -508,7 +508,7 @@ The \ref H5AC_cache_config_t.min_clean_fraction "min_clean_fraction" sets the
current minimum clean size as a fraction of the current max cache size. While
this field was originally used only in the parallel version of the library, it
now applies to the serial version as well. Its value must lie in the range
-\Code{[0.0, 1.0]}. 0.01 is reasonable in the serial case, and 0.3 in the
+\TText{[0.0, 1.0]}. 0.01 is reasonable in the serial case, and 0.3 in the
parallel.
A potential interaction, discovered at release 1.8.3, between the enforcement of
@@ -524,15 +524,15 @@ H5AC_cache_config_t.min_size "min_size" fields specify the range of maximum
sizes that may be set for the cache by the automatic resize code. \ref
H5AC_cache_config_t.min_size "min_size" must be less than or equal to
\ref H5AC_cache_config_t.max_size "max_size", and both must lie in the range
-\Code{[H5C__MIN_MAX_CACHE_SIZE, H5C__MAX_MAX_CACHE_SIZE]} -- currently [1 KB,
+\TText{[H5C__MIN_MAX_CACHE_SIZE, H5C__MAX_MAX_CACHE_SIZE]} -- currently [1 KB,
128 MB]. If you routinely run a cache size in the top half of this range, you
should increase the hash table size. To do this, modify the \c
-H5C__HASH_TABLE_LEN \Code{\#define} in \c H5Cpkg.h and re-compile. At present,
+H5C__HASH_TABLE_LEN \TText{\#define} in \c H5Cpkg.h and re-compile. At present,
\c H5C__HASH_TABLE_LEN must be a power of two.
The \c epoch_length is the number of cache accesses between runs of the adaptive
cache size control algorithms. It is ignored if these algorithms are turned
-off. It must lie in the range \Code{[H5C__MIN_AR_EPOCH_LENGTH,
+off. It must lie in the range \TText{[H5C__MIN_AR_EPOCH_LENGTH,
H5C__MAX_AR_EPOCH_LENGTH]} -- currently [100, 1000000]. The above constants are
defined in \c H5Cprivate.h. 50000 is a reasonable value.
@@ -570,7 +570,7 @@ fields in the section are then used as follows:
\ref H5AC_cache_config_t.lower_hr_threshold "lower_hr_threshold" is the
threshold below which the hit rate must fall to trigger an increase. The value
-must lie in the range \Code{[0.0 - 1.0]}. In my tests, a relatively high value
+must lie in the range \TText{[0.0 - 1.0]}. In my tests, a relatively high value
seems to work best -- 0.9 for example.
\ref H5AC_cache_config_t.increment "increment" is the factor by which the old
@@ -601,7 +601,7 @@ Let \c x be either the size of the newly inserted entry, the size of the newly
loaded entry, or the number of bytes added to the size of the entry under
consideration for triggering a flash cache size increase.
-If \Code{t < x}, the basic condition for a flash cache size increase is met, and
+If \TText{t < x}, the basic condition for a flash cache size increase is met, and
we proceed as follows:
Let \c space_needed equal \c x less the amount of free space in the cache.
@@ -622,11 +622,11 @@ use.
The use of the \ref H5AC_cache_config_t.flash_threshold "flash_threshold" field
is discussed above. It must be a floating-point value in the range of
-\Code{[0.1, 1.0]}. 0.25 is a reasonable value.
+\TText{[0.1, 1.0]}. 0.25 is a reasonable value.
The use of the \ref H5AC_cache_config_t.flash_multiple "flash_multiple" field is
also discussed above. It must be a floating-point value in the range of
-\Code{[0.1, 10.0]}. 1.4 is a reasonable value.
+\TText{[0.1, 10.0]}. 1.4 is a reasonable value.
\subsection decrement Decrement Configuration
@@ -649,12 +649,12 @@ the decrement section are used as follows:
\ref H5AC_cache_config_t.upper_hr_threshold "upper_hr_threshold" is the
threshold above which the hit rate must rise to trigger cache size reduction. It
-must be in the range \Code{[0.0, 1.0]}. In my synthetic tests, very high values
+must be in the range \TText{[0.0, 1.0]}. In my synthetic tests, very high values
like .9995 or .99995 seemed to work best.
\ref H5AC_cache_config_t.decrement "decrement" is the factor by which the
current maximum cache size is multiplied to obtain a tentative new maximum cache
-size. It must lie in the range \Code{[0.0, 1.0]}. Relatively large values like
+size. It must lie in the range \TText{[0.0, 1.0]}. Relatively large values like
.9 seem to work best in my synthetic tests. Note that the actual size reduction
may be smaller as required by \ref H5AC_cache_config_t.min_size "min_size" and
\ref H5AC_cache_config_t.max_decrement "max_decrement" (discussed below). \ref
@@ -676,7 +676,7 @@ decrement section are used as follows:
\ref H5AC_cache_config_t.epochs_before_eviction "epochs_before_eviction" is the
number of epochs an entry must reside unaccessed in the cache before it is
-evicted. This value must lie in the range \Code{[1, H5C__MAX_EPOCH_MARKERS]}. \c
+evicted. This value must lie in the range \TText{[1, H5C__MAX_EPOCH_MARKERS]}. \c
H5C__MAX_EPOCH_MARKERS is defined in H5Cprivate.h, and is currently set to 10.
\ref H5AC_cache_config_t.apply_max_decrement "apply_max_decrement" and \ref
@@ -702,7 +702,7 @@ H5AC_cache_config_t.upper_hr_threshold "upper_hr_threshold".
Here, \ref H5AC_cache_config_t.upper_hr_threshold "upper_hr_threshold" is the
threshold above which the hit rate must rise to trigger cache size reduction. It
-must be in the range \Code{[0.0, 1.0]}. In my synthetic tests, high values like
+must be in the range \TText{[0.0, 1.0]}. In my synthetic tests, high values like
.999 seemed to work well.
\subsection parallel Parallel Configuration
@@ -1017,4 +1017,4 @@ and the average successful and unsuccessful search depths in the hash table. If
these latter figures are significantly above 1, you should increase the size of
the hash table.
- */
\ No newline at end of file
+ */
diff --git a/doxygen/dox/ReferenceManual.dox b/doxygen/dox/ReferenceManual.dox
index a98bc3da52e..ac1a4f22904 100644
--- a/doxygen/dox/ReferenceManual.dox
+++ b/doxygen/dox/ReferenceManual.dox
@@ -151,18 +151,18 @@ Follow these simple rules and stay out of trouble:
identifiers, which you typically obtain by creating new HDF5 items, copying
items, or retrieving facets of items. Consequently, \Bold{and most importantly}, you are
responsible for releasing the underlying
- resources via the matching \Code{H5*close()} call, or deal with the consequences
+ resources via the matching \TText{H5*close()} call, or deal with the consequences
of resource leakage.
\li \Bold{Closed means closed:} Do not pass identifiers that were previously
- \Code{H5*close()}-d to other API functions! It will generate an error.
+ \TText{H5*close()}-d to other API functions! It will generate an error.
\li \Bold{Dynamic memory allocation:} The API contains a few functions in which the
HDF5 library dynamically allocates memory on the caller's behalf. The caller owns
this memory and eventually must free it by calling H5free_memory() and not language-explicit memory functions.
\li \Bold{Don't modify while iterating:} Do not modify the underlying collection when an
iteration is in progress!
-\li \Bold{Use of locations:} Certain API functions, typically called \Code{H5***_by_name}
+\li \Bold{Use of locations:} Certain API functions, typically called \TText{H5***_by_name}
use a combination of identifiers and path names to refer to HDF5 objects.
- If the identifier fully specifies the object in question, pass \Code{'.'} (a dot)
+ If the identifier fully specifies the object in question, pass \TText{'.'} (a dot)
for the name!
diff --git a/doxygen/dox/api-compat-macros.dox b/doxygen/dox/api-compat-macros.dox
index 4a1578d7748..a899ef1165d 100644
--- a/doxygen/dox/api-compat-macros.dox
+++ b/doxygen/dox/api-compat-macros.dox
@@ -52,36 +52,36 @@
functions were retained and renamed to have an earlier number (for, e.g., '1')
at the end of the original function name.
- For example, consider the function \Code{H5Lvisit} in HDF5 release 1.10
+ For example, consider the function \TText{H5Lvisit} in HDF5 release 1.10
as compared with 1.12:
Original function name and signature in 1.10.0 | - \Code{herr_t H5Lvisit(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate_t op, void *op_data)} + \TText{herr_t H5Lvisit(hid_t grp_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate_t op, void *op_data)} |
---|---|
Updated function and signature, introduced in release 1.12.0 | - \Code{herr_t H5Lvisit2(hid_t group_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void *op_data)} + \TText{herr_t H5Lvisit2(hid_t group_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate2_t op, void *op_data)} |
Original function and signature, renamed in release 1.12.0 | - \Code{herr_t H5Lvisit1(hid_t group_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void *op_data)} + \TText{herr_t H5Lvisit1(hid_t group_id, H5_index_t idx_type, H5_iter_order_t order, H5L_iterate1_t op, void *op_data)} |
API compatibility macro, introduced in release 1.12.0 |
- \Code{H5Lvisit}
- The macro, \Code{H5Lvisit}, will be mapped to either \Code{H5Lvisit1} or - \Code{H5Lvisit2}. The mapping is determined by a combination of the + \TText{H5Lvisit} + The macro, \TText{H5Lvisit}, will be mapped to either \TText{H5Lvisit1} or + \TText{H5Lvisit2}. The mapping is determined by a combination of the configuration options use to build the HDF5 library and compile-time options used to build the application. The calling parameters used with the - \Code{H5Lvisit} compatibility macro should match the number and type of the - function the macros will be mapped to (\Code{H5Lvisit1} or \Code{H5Lvisit2}). + \TText{H5Lvisit} compatibility macro should match the number and type of the + function the macros will be mapped to (\TText{H5Lvisit1} or \TText{H5Lvisit2}). The function names ending in '1' or '2' are referred to as \Emph{versioned names}, and the corresponding functions are referred to as \Emph{versioned functions}. @@ -135,7 +135,7 @@ |
\Code{configure} flag | -Macros map to release (versioned function; \Code{H5Lvisit} shown) |
- Deprecated functions available? (\Code{H5Lvisit1}) |
+ \TText{configure} flag | +Macros map to release (versioned function; \TText{H5Lvisit} shown) |
+ Deprecated functions available? (\TText{H5Lvisit1}) |
---|---|---|---|---|---|
\Code{--with-default-api-version=v112} (the default in 1.12) |
- 1.12.x (\Code{H5Lvisit2}) | +\TText{--with-default-api-version=v112} (the default in 1.12) |
+ 1.12.x (\TText{H5Lvisit2}) | yes | |
\Code{--with-default-api-version=v110} | -1.10.x (\Code{H5Lvisit1}) | +\TText{--with-default-api-version=v110} | +1.10.x (\TText{H5Lvisit1}) | yes | |
\Code{--with-default-api-version=v18} | -1.8.x (\Code{H5Lvisit1}) | +\TText{--with-default-api-version=v18} | +1.8.x (\TText{H5Lvisit1}) | yes | |
\Code{--with-default-api-version=v16} | -1.6.x (\Code{H5Lvisit1}) | +\TText{--with-default-api-version=v16} | +1.6.x (\TText{H5Lvisit1}) | yes | |
\Code{--disable-deprecated-symbols} | -1.12.x (\Code{H5Lvisit2}) | +\TText{--disable-deprecated-symbols} | +1.12.x (\TText{H5Lvisit2}) | no |
\Code{h5cc} option | -Macros map to release (versioned function; \Code{H5Lvisit} shown) |
- Deprecated functions available? (\Code{H5Lvisit1}) |
+ \TText{h5cc} option | +Macros map to release (versioned function; \TText{H5Lvisit} shown) |
+ Deprecated functions available? (\TText{H5Lvisit1}) |
---|---|---|---|---|---|
\Code{-DH5_USE_112_API} \Emph{(Default behavior if no option specified.)} |
- 1.12.x (\Code{HLvisit2}) | +\TText{-DH5_USE_112_API} \Emph{(Default behavior if no option specified.)} |
+ 1.12.x (\TText{HLvisit2}) | yes* \Emph{*if available in library} |
|
\Code{-DH5_USE_110_API} | -1.10.x (\Code{HLvisit1}) | +\TText{-DH5_USE_110_API} | +1.10.x (\TText{HLvisit1}) | yes* \Emph{*if available in library} |
|
\Code{-DH5_USE_18_API} | -1.8.x (\Code{H5Lvisit1}) | +\TText{-DH5_USE_18_API} | +1.8.x (\TText{H5Lvisit1}) | yes* \Emph{*if available in library} |
|
\Code{-DH5_USE_16_API} | -1.6.x (\Code{H5Lvisit1}) | +\TText{-DH5_USE_16_API} | +1.6.x (\TText{H5Lvisit1}) | yes* \Emph{*if available in library} |
|
\Code{-DH5_NO_DEPRECATED_SYMBOLS} | -1.10.x (\Code{H5Lvisit1}) | +\TText{-DH5_NO_DEPRECATED_SYMBOLS} | +1.10.x (\TText{H5Lvisit1}) | no |
Function Mapping | Mapped to function or struct | |||
---|---|---|---|---|
\Code{H5xxx} | -\Code{H5xxx_vers=1} | -\Code{H5xxx1} | +||
\TText{H5xxx} | +\TText{H5xxx_vers=1} | +\TText{H5xxx1} | ||
- | \Code{H5xxx_vers=2} | -\Code{H5xxx2} | +\TText{H5xxx_vers=2} | +\TText{H5xxx2} |
Macro (\Code{H5xxx}) |
+ Macro (\TText{H5xxx}) |
Default function used if no macro specified
-
|
Function used if specifying 1.10
-
|
||
---|---|---|---|---|---|
H5Lget_info() | H5Lget_info2()
|
H5Lget_info1()
|
H5Lget_info_by_idx() | H5Lget_info_by_idx2()
|
H5Lget_info_by_idx1()
|
@@ -345,14 +345,14 @@
H5Literate() | H5Literate2()
|
H5Literate1()
|
@@ -360,14 +360,14 @@
H5Literate_by_name() | H5Literate_by_name2()
|
H5Literate_by_name1()
|
@@ -375,14 +375,14 @@
H5Lvisit() | H5Lvisit2()
|
H5Lvisit1()
|
@@ -390,14 +390,14 @@
H5Lvisit_by_name() | H5Lvisit_by_name2()
|
H5Lvisit_by_name1()
|
@@ -405,28 +405,28 @@
H5Oget_info() | H5Oget_info3()
|
H5Oget_info1()
|
H5Oget_info_by_idx() | H5Oget_info_by_idx3()
-
|
H5Oget_info_by_idx1()
|
H5Oget_info_by_name() | H5Oget_info_by_name3()
|
H5Oget_info_by_name1()
|
@@ -449,13 +449,13 @@
H5Ovisit() | H5Ovisit3()
|
H5Ovisit1()
-
|
@@ -463,14 +463,14 @@
H5Ovisit_by_name() | H5Ovisit_by_name3()
|
H5Ovisit_by_name1()
|
@@ -478,12 +478,12 @@
H5Pencode() | H5Pencode2()
|
H5Pencode1()
|
@@ -491,12 +491,12 @@
H5Sencode() | H5Sencode2()
|
H5Sencode1()
|
@@ -508,84 +508,84 @@
Macro | Default function used (if no macro specified) |
Introduced in | -\Code{h5cc} version flag and value | +\TText{h5cc} version flag and value | Mapped to function or struct |
H5Rdereference() | H5Rdereference2() | HDF5-1.10.0 | -\Code{-DH5Rdereference_vers=1} | +\TText{-DH5Rdereference_vers=1} | H5Rdereference1() |
\Code{-DH5Rdereference_vers=2} | +\TText{-DH5Rdereference_vers=2} | H5Rdereference2() | |||
H5Fget_info() | H5Fget_info2() | HDF5-1.10.0 | -\Code{-DH5Fget_info_vers=1} | +\TText{-DH5Fget_info_vers=1} | H5Fget_info1() with struct \ref H5F_info1_t |
\Code{-DH5Fget_info_vers=2} | +\TText{-DH5Fget_info_vers=2} | H5Fget_info2() with struct \ref H5F_info2_t | |||
H5Oget_info() | H5Oget_info1() | HDF5-1.10.3 | -\Code{-DH5Oget_info_vers=1} | +\TText{-DH5Oget_info_vers=1} | H5Oget_info1() |
\Code{-DH5Oget_info_vers=2} | +\TText{-DH5Oget_info_vers=2} | H5Oget_info2() | |||
H5Oget_info_by_idx() | H5Oget_info_by_idx1() | HDF5-1.10.3 | -\Code{-DH5Oget_info_by_idx_vers=1} | +\TText{-DH5Oget_info_by_idx_vers=1} | H5Oget_info_by_idx1() |
\Code{-DH5Oget_info_by_idx_vers=2} | +\TText{-DH5Oget_info_by_idx_vers=2} | H5Oget_info_by_idx2() | |||
H5Oget_info_by_name() | H5Oget_info_by_name1() | HDF5-1.10.3 | -\Code{-DH5Oget_info_by_name_vers=1} | +\TText{-DH5Oget_info_by_name_vers=1} | H5Oget_info_by_name1() |
\Code{-DH5Oget_info_by_name_vers=2} | +\TText{-DH5Oget_info_by_name_vers=2} | H5Oget_info_by_name2() | |||
H5Ovisit() | H5Ovisit1() | HDF5-1.10.3 | -\Code{-DH5Ovisit_vers=1} | +\TText{-DH5Ovisit_vers=1} | H5Ovisit1() |
\Code{-DH5Ovisit_vers=2} | +\TText{-DH5Ovisit_vers=2} | H5Ovisit2() | |||
H5Ovisit_by_name() | H5Ovisit_by_name1() | HDF5-1.10.3 | -\Code{-DH5Ovisit_by_name_vers=1} | +\TText{-DH5Ovisit_by_name_vers=1} | H5Ovisit_by_name1() |
\Code{-DH5Ovisit_by_name_vers=2} | +\TText{-DH5Ovisit_by_name_vers=2} | H5Ovisit_by_name2() |
\Code{const char * name} | + *\TText{const char * name} | *IN: The name of the property being copied | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{void * value} | + *\TText{void * value} | *IN/OUT: The value for the property being copied | *
\Code{const void * value1} | + *\TText{const void * value1} | *IN: The value of the first property to compare | *
\Code{const void * value2} | + *\TText{const void * value2} | *IN: The value of the second property to compare | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{const char * name} | + *\TText{const char * name} | *IN: The name of the property in the list | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{void * value} | + *\TText{void * value} | *IN: The value for the property being closed | *
\Code{const char * name} | + *\TText{const char * name} | *IN: The name of the property being modified | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{void * value} | + *\TText{void * value} | *IN/OUT: The default value for the property being created, * which will be passed to H5Pregister2() | *IN: The identifier of the property list being modified | * *
\Code{const char * name} | + *\TText{const char * name} | *IN: The name of the property being modified | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{void *value} | + *\TText{void *value} | *IN/OUT: Pointer to new value pointer for the property * being modified | *
\Code{const char * name} | + *\TText{const char * name} | *IN: The name of the property being queried | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{void * value} | + *\TText{void * value} | *IN/OUT: The value of the property being returned | *
\Code{const char * name} | + *\TText{const char * name} | *IN: The name of the property being copied | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{void * value} | + *\TText{void * value} | *IN/OUT: The value for the property being copied | *
\Code{const void * value1} | + *\TText{const void * value1} | *IN: The value of the first property to compare | *
\Code{const void * value2} | + *\TText{const void * value2} | *IN: The value of the second property to compare | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{const char * name} | + *\TText{const char * name} | *IN: The name of the property in the list | *
\Code{size_t size} | + *\TText{size_t size} | *IN: The size of the property in bytes | *
\Code{void * value} | + *\TText{void * value} | *IN: The value for the property being closed | *
\Code{"%%"} | - *Replaced with a single \Code{"%"} (percent) character. | + *\TText{"%%"} | + *Replaced with a single \TText{"%"} (percent) character. | *
"% |
* Where " is the virtual dataset dimension axis (0-based)
- * and \Code{"b"} indicates that the block count of the selection in that
- * dimension should be used. The full expression (for example, \Code{"%0b"})
+ * and \TText{"b"} indicates that the block count of the selection in that
+ * dimension should be used. The full expression (for example, \TText{"%0b"})
* is replaced with a single numeric value when the mapping is evaluated at
* VDS access time. Example code for many source and virtual dataset mappings
* is available in the "Examples of Source to Virtual Dataset Mapping"
@@ -7120,7 +7120,7 @@ H5_DLL herr_t H5Pset_szip(hid_t plist_id, unsigned options_mask, unsigned pixels
* When a source dataset residing in a different file is accessed, the
* library will search for the source file \p src_file_name as described
* below:
- * \li If \p src_file_name is a \Code{"."} (period) then it refers to the
+ * \li If \p src_file_name is a \TText{"."} (period) then it refers to the
* file containing the virtual dataset.
* \li If \p src_file_name is a relative pathname, the following steps are
* performed:
@@ -7149,37 +7149,37 @@ H5_DLL herr_t H5Pset_szip(hid_t plist_id, unsigned options_mask, unsigned pixels
* Note that \p src_file_name is considered to be an absolute pathname when
* the following condition is true:
* \li For Unix, the first character of \p src_file_name is a slash
- * (\Code{/}).\n For example, consider a \p src_file_name of
- * \Code{/tmp/A.h5}. If that source file does not exist, the new
- * \p src_file_name after stripping will be \Code{A.h5}.
+ * (\TText{/}).\n For example, consider a \p src_file_name of
+ * \TText{/tmp/A.h5}. If that source file does not exist, the new
+ * \p src_file_name after stripping will be \TText{A.h5}.
* \li For Windows, there are 6 cases:
* 1. \p src_file_name is an absolute drive with absolute pathname.\n
- * For example, consider a \p src_file_name of \Code{/tmp/A.h5}.
+ * For example, consider a \p src_file_name of \TText{/tmp/A.h5}.
* If that source file does not exist, the new \p src_file_name
- * after stripping will be \Code{A.h5}.
+ * after stripping will be \TText{A.h5}.
* 2. \p src_file_name is an absolute pathname without specifying
* drive name.\n For example, consider a \p src_file_name of
- * \Code{/tmp/A.h5}. If that source file does not exist, the new
- * \p src_file_name after stripping will be \Code{A.h5}.
+ * \TText{/tmp/A.h5}. If that source file does not exist, the new
+ * \p src_file_name after stripping will be \TText{A.h5}.
* 3. \p src_file_name is an absolute drive with relative pathname.\n
- * For example, consider a \p src_file_name of \Code{/tmp/A.h5}.
+ * For example, consider a \p src_file_name of \TText{/tmp/A.h5}.
* If that source file does not exist, the new \p src_file_name
- * after stripping will be \Code{tmp/A.h5}.
+ * after stripping will be \TText{tmp/A.h5}.
* 4. \p src_file_name is in UNC (Uniform Naming Convention) format
* with server name, share name, and pathname.\n
- * For example, consider a \p src_file_name of \Code{/tmp/A.h5}.
+ * For example, consider a \p src_file_name of \TText{/tmp/A.h5}.
* If that source file does not exist, the new \p src_file_name
- * after stripping will be \Code{A.h5}.
+ * after stripping will be \TText{A.h5}.
* 5. \p src_file_name is in Long UNC (Uniform Naming Convention)
* format with server name, share name, and pathname.\n
- * For example, consider a \p src_file_name of \Code{/tmp/A.h5}.
+ * For example, consider a \p src_file_name of \TText{/tmp/A.h5}.
* If that source file does not exist, the new \p src_file_name
- * after stripping will be \Code{A.h5}.
+ * after stripping will be \TText{A.h5}.
* 6. \p src_file_name is in Long UNC (Uniform Naming Convention)
* format with an absolute drive and an absolute pathname.\n
- * For example, consider a \p src_file_name of \Code{/tmp/A.h5}.
+ * For example, consider a \p src_file_name of \TText{/tmp/A.h5}.
* If that source file does not exist, the new \p src_file_name
- * after stripping will be \Code{A.h5}
+ * after stripping will be \TText{A.h5}
*
* \see
* Virtual Dataset Overview
@@ -7538,7 +7538,7 @@ H5_DLL herr_t H5Pset_append_flush(hid_t dapl_id, unsigned ndims, const hsize_t b
* use a hash table with 12421 elements and a maximum size of
* 16 MB, while using the preemption policy specified for the
* entire file:
- * \Code{
+ * \TText{
* H5Pset_chunk_cache(dapl_id, 12421, 16*1024*1024,
* H5D_CHUNK_CACHE_W0_DEFAULT);}
*
@@ -8012,11 +8012,11 @@ H5_DLL herr_t H5Pset_btree_ratios(hid_t plist_id, double left, double middle, do
* mining can only break the data up along the first dimension, so the
* buffer must be large enough to accommodate a complete slice that
* encompasses all of the remaining dimensions. For example, when strip
- * mining a \Code{100x200x300} hyperslab of a simple data space, the
- * buffer must be large enough to hold \Code{1x200x300} data
- * elements. When strip mining a \Code{100x200x300x150} hyperslab of a
+ * mining a \TText{100x200x300} hyperslab of a simple data space, the
+ * buffer must be large enough to hold \TText{1x200x300} data
+ * elements. When strip mining a \TText{100x200x300x150} hyperslab of a
* simple data space, the buffer must be large enough to hold
- * \Code{1x200x300x150} data elements.
+ * \TText{1x200x300x150} data elements.
*
* If \p tconv and/or \p bkg are null pointers, then buffers will be
* allocated and freed during the data transfer.
@@ -8046,7 +8046,7 @@ H5_DLL herr_t H5Pset_buffer(hid_t plist_id, size_t size, void *tconv, void *bkg)
* transfer property list \p plist_id.
*
* The \p expression parameter is a string containing an algebraic
- * expression, such as \Code{(5/9.0)*(x-32)} or \Code{x*(x-5)}. When a
+ * expression, such as \TText{(5/9.0)*(x-32)} or \TText{x*(x-5)}. When a
* dataset is read or written with this property list, the transform
* expression is applied with the \c x being replaced by the values in
* the dataset. When reading data, the values in the file are not
diff --git a/src/H5Tmodule.h b/src/H5Tmodule.h
index fd2a278fd22..636679e8380 100644
--- a/src/H5Tmodule.h
+++ b/src/H5Tmodule.h
@@ -2019,7 +2019,7 @@ filled according to the value of this property. The padding can be:
* |
\Code{H5resize_memory(buffer, size)} | + *|
\TText{H5resize_memory(buffer, size)} | *Resizes buffer. Returns pointer to resized buffer. |
\Code{H5resize_memory(NULL, size)} | + *|
\TText{H5resize_memory(NULL, size)} | *Allocates memory using HDF5 Library allocator. * Returns pointer to new buffer |
\Code{H5resize_memory(buffer, 0)} | + *|
\TText{H5resize_memory(buffer, 0)} | *Frees memory using HDF5 Library allocator. * Returns NULL. |
\Code{H5resize_memory(NULL, 0)} | + *|
\TText{H5resize_memory(NULL, 0)} | *Returns NULL (undefined in C standard). |