Problem
Consider CassDataType. Only part of methods on that type are shown in the generated docs. Examples of missing functions include cass_data_type_type and cass_data_type_is_frozen.
Cause
Doxygen apparently fails to parse const CassDataType* as a parameter of type CassDataType, therefore the function is not associated with that type in the docs. At the same time, Doxygen correctly discovers CassDataType* and CassDataType const* - the problem is about const preceding the type name.
Solution
ChatGPT offered two viable solutions:
- (preferred) add
\memberof CassDataType to all methods on CassDataType. The same for all methods of all structs.
- Always write
T const* instead of const T*.
As the 1. solution seems more robust, I'd go with it.
Problem
Consider
CassDataType. Only part of methods on that type are shown in the generated docs. Examples of missing functions includecass_data_type_typeandcass_data_type_is_frozen.Cause
Doxygen apparently fails to parse
const CassDataType*as a parameter of typeCassDataType, therefore the function is not associated with that type in the docs. At the same time, Doxygen correctly discoversCassDataType*andCassDataType const*- the problem is aboutconstpreceding the type name.Solution
ChatGPT offered two viable solutions:
\memberof CassDataTypeto all methods onCassDataType. The same for all methods of all structs.T const*instead ofconst T*.As the 1. solution seems more robust, I'd go with it.