Skip to content

Commit f143cb2

Browse files
committed
Complete Doxygen documentation for Config.h functions
1 parent b4b4e67 commit f143cb2

File tree

1 file changed

+53
-0
lines changed

1 file changed

+53
-0
lines changed

source/pdal/capi/Config.h

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,47 +24,100 @@ namespace pdal
2424
#include <stdbool.h>
2525
#endif
2626
/**
27+
* Retrieves the full PDAL version string.
28+
* The full version string includes the major version number, the minor version
29+
* number, the patch version number, and the shortened Git commit SHA1.
30+
*
2731
* @see pdal::config::fullVersionString
32+
*
33+
* @param[out] version The buffer used to retrieve the version string
34+
* @param size The size of the provided buffer
35+
* @return The size of the retrieved version string
2836
*/
2937
PDAL_C_API size_t PDALFullVersionString(char *version, size_t size);
3038

3139
/**
40+
* Retrieves the PDAL version string.
41+
* The version string includes the major version number, the minor version
42+
* number, and the patch version number.
43+
*
3244
* @see pdal::config::versionString
45+
*
46+
* @param[out] version The buffer used to retrieve the version string
47+
* @param size The size of the provided buffer
48+
* @return The size of the retrieved version string
3349
*/
3450
PDAL_C_API size_t PDALVersionString(char *version, size_t size);
3551

3652
/**
53+
* Returns an integer representation of the PDAL version.
54+
* The returned value is the sum of ther major version number multiplied
55+
* by 10,000, the minor version number multiplied by 100, and the patch version
56+
* number. For example, this method returns `10702` for version 1.7.2.
57+
*
3758
* @see pdal::config::versionInteger
59+
*
60+
* @return An integer representation of the PDAL version
3861
*/
3962
PDAL_C_API int PDALVersionInteger();
4063

4164
/**
65+
* Retrieves PDAL's Git commit SHA1 as a string.
66+
*
4267
* @see pdal::config::sha1
68+
*
69+
* @param[out] version The buffer used to retrieve the SHA1 string
70+
* @param size The size of the provided buffer
71+
* @return The size of the retrieved SHA1 string
4372
*/
4473
PDAL_C_API size_t PDALSha1(char *sha1, size_t size);
4574

4675
/**
76+
* Returns the PDAL major version number.
77+
*
4778
* @see pdal::config::versionMajor
79+
*
80+
* @return The major version
4881
*/
4982
PDAL_C_API int PDALVersionMajor();
5083

5184
/**
85+
* Returns the PDAL minor version number.
86+
*
5287
* @see pdal::config::versionMinor
88+
*
89+
* @return The minor version
5390
*/
5491
PDAL_C_API int PDALVersionMinor();
5592

5693
/**
94+
* Returns the PDAL patch version number.
95+
*
5796
* @see pdal::config::versionPatch
97+
*
98+
* @return The patch version
5899
*/
59100
PDAL_C_API int PDALVersionPatch();
60101

61102
/**
103+
* Retrieves PDAL debugging information.
104+
*
62105
* @see pdal::config::debugInformation
106+
*
107+
* @param[out] version The buffer used to retrieve the debugging information
108+
* @param size The size of the provided buffer
109+
* @return The size of the retrieved debugging information
63110
*/
64111
PDAL_C_API size_t PDALDebugInformation(char *info, size_t size);
65112

66113
/**
114+
* Retrieves the path to the PDAL installation.
115+
*
67116
* @see pdal::config::pluginInstallPath
117+
*
118+
* @param[out] version The buffer used to retrieve the installation path
119+
* @param size The size of the provided buffer
120+
* @return The size of the retrieved installation path
68121
*/
69122
PDAL_C_API size_t PDALPluginInstallPath(char *path, size_t size);
70123

0 commit comments

Comments
 (0)