You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
namespacename {
/** * @brief My first function. * @param a This is a parameter.*/intfoo(int a);
/** * This is a class*/classBar
{
public:/** * @brief Some counter * @return integer*/intcount();
};
} // namespace name
What is the API to read the doxygen doc of name::foo, name::Bar, or name::Bar::count?
In trying to get the first I already got lost. This is up to where I have gotten:
I will note that I definitely agree that using this for very simple things is still rather annoying. I'm definitely open to ideas for adding things to make it simpler to retrieve information. Or maybe someone needs to create a few examples to show how to do these things? Or add documentation.
I guess that if one knows the syntax, many things are workable. The structure of C++ can be 'hard' so that a perfect and extremely syntax is never easy. I will play around and consider submitting an example for review. For now I document this example:
The class name thing is a bit weird. Probably should add a ClassDecl.get_name which returns the typename segments only without 'class' or 'typename' (so just this line:
Activity
virtuald commentedon Dec 17, 2023
The PQName has a
formatfunction which turns the name into a consistent string.virtuald commentedon Dec 17, 2023
I will note that I definitely agree that using this for very simple things is still rather annoying. I'm definitely open to ideas for adding things to make it simpler to retrieve information. Or maybe someone needs to create a few examples to show how to do these things? Or add documentation.
tdegeus commentedon Dec 18, 2023
I guess that if one knows the syntax, many things are workable. The structure of C++ can be 'hard' so that a perfect and extremely syntax is never easy. I will play around and consider submitting an example for review. For now I document this example:
virtuald commentedon Dec 19, 2023
The class name thing is a bit weird. Probably should add a
ClassDecl.get_namewhich returns the typename segments only without 'class' or 'typename' (so just this line:cxxheaderparser/cxxheaderparser/types.py
Line 181 in 29b71ab